|
| doubleCG3UpdateNorm_ (const Float2 &a, const Float2 &b) |
|
__device__ __host__ void | operator() (ReduceType &sum, FloatN &x, FloatN &y, FloatN &z, FloatN &w, FloatN &v) |
| where the reduction is usually computed and any auxiliary operations More...
|
|
virtual __device__ __host__ void | pre () |
| pre-computation routine called before the "M-loop" More...
|
|
virtual __device__ __host__ void | post (ReduceType &sum) |
| post-computation routine called after the "M-loop" More...
|
|
template<typename ReduceType, typename Float2, typename FloatN>
struct quda::blas::doubleCG3UpdateNorm_< ReduceType, Float2, FloatN >
void doubleCG3UpdateNorm(d a, d b, V x, V y, V z){} tmp = x; x = b*(x-a*z) + (1-b)*y; y = tmp; norm2(x);
Definition at line 664 of file reduce_core.cuh.
template<typename ReduceType , typename Float2 , typename FloatN >
__device__ __host__ void quda::blas::doubleCG3UpdateNorm_< ReduceType, Float2, FloatN >::operator() |
( |
ReduceType & |
sum, |
|
|
FloatN & |
x, |
|
|
FloatN & |
y, |
|
|
FloatN & |
z, |
|
|
FloatN & |
w, |
|
|
FloatN & |
v |
|
) |
| |
|
inlinevirtual |