Skip to content

Commit

Permalink
Merge pull request #1318 from lattice/feature/multi-rhs
Browse files Browse the repository at this point in the history
Feature/multi rhs
  • Loading branch information
maddyscientist authored Oct 25, 2022
2 parents 3f3ed90 + a595b02 commit 0a31b22
Show file tree
Hide file tree
Showing 97 changed files with 3,482 additions and 3,864 deletions.
9 changes: 5 additions & 4 deletions include/blas_helper.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <convert.h>
#include <float_vector.h>
#include <array.h>
#include <math_helper.cuh>

//#define QUAD_SUM
#ifdef QUAD_SUM
Expand Down Expand Up @@ -428,12 +429,12 @@ namespace quda

template <template <typename...> class Functor,
template <template <typename...> class, typename store_t, typename y_store_t, int, typename> class Blas,
bool mixed, typename T, typename x_store_t, typename V, typename... Args>
constexpr std::enable_if_t<mixed, void> instantiate(const T &a, const T &b, const T &c, V &x_, V &y_,
bool mixed, typename T, typename x_store_t, typename Vx, typename Vy, typename... Args>
constexpr std::enable_if_t<mixed, void> instantiate(const T &a, const T &b, const T &c, Vx &x_, Vy &y_,
Args &&... args)
{
unwrap_t<V> &x(x_);
unwrap_t<V> &y(y_);
unwrap_t<Vx> &x(x_);
unwrap_t<Vy> &y(y_);

if (y.Precision() < x.Precision()) errorQuda("Y precision %d not supported", y.Precision());

Expand Down
Loading

0 comments on commit 0a31b22

Please sign in to comment.