Skip to content

Commit 0a31b22

Browse files
Merge pull request #1318 from lattice/feature/multi-rhs
Feature/multi rhs
2 parents 3f3ed90 + a595b02 commit 0a31b22

File tree

97 files changed

+3482
-3864
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+3482
-3864
lines changed

include/blas_helper.cuh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <convert.h>
66
#include <float_vector.h>
77
#include <array.h>
8+
#include <math_helper.cuh>
89

910
//#define QUAD_SUM
1011
#ifdef QUAD_SUM
@@ -428,12 +429,12 @@ namespace quda
428429

429430
template <template <typename...> class Functor,
430431
template <template <typename...> class, typename store_t, typename y_store_t, int, typename> class Blas,
431-
bool mixed, typename T, typename x_store_t, typename V, typename... Args>
432-
constexpr std::enable_if_t<mixed, void> instantiate(const T &a, const T &b, const T &c, V &x_, V &y_,
432+
bool mixed, typename T, typename x_store_t, typename Vx, typename Vy, typename... Args>
433+
constexpr std::enable_if_t<mixed, void> instantiate(const T &a, const T &b, const T &c, Vx &x_, Vy &y_,
433434
Args &&... args)
434435
{
435-
unwrap_t<V> &x(x_);
436-
unwrap_t<V> &y(y_);
436+
unwrap_t<Vx> &x(x_);
437+
unwrap_t<Vy> &y(y_);
437438

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

0 commit comments

Comments
 (0)