QUDA  0.9.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
quda::blas::axpyBzpcx_< Float2, FloatN > Struct Template Reference
Inheritance diagram for quda::blas::axpyBzpcx_< Float2, FloatN >:
Inheritance graph
[legend]
Collaboration diagram for quda::blas::axpyBzpcx_< Float2, FloatN >:
Collaboration graph
[legend]

Public Member Functions

 axpyBzpcx_ (const Float2 &a, const Float2 &b, const Float2 &c)
 
__device__ __host__ void operator() (FloatN &x, FloatN &y, FloatN &z, FloatN &w)
 where the reduction is usually computed and any auxiliary operations More...
 
- Public Member Functions inherited from quda::blas::BlasFunctor< Float2, FloatN >
virtual __device__ __host__ void init ()
 pre-computation routine before the main loop More...
 

Static Public Member Functions

static int streams ()
 
static int flops ()
 total number of input and output streams More...
 

Public Attributes

const Float2 a
 
const Float2 b
 
const Float2 c
 

Detailed Description

template<typename Float2, typename FloatN>
struct quda::blas::axpyBzpcx_< Float2, FloatN >

Functor performing the operations: y[i] = a*x[i] + y[i]; x[i] = b*z[i] + c*x[i]

Definition at line 345 of file blas_quda.cu.

Constructor & Destructor Documentation

◆ axpyBzpcx_()

template<typename Float2 , typename FloatN >
quda::blas::axpyBzpcx_< Float2, FloatN >::axpyBzpcx_ ( const Float2 &  a,
const Float2 &  b,
const Float2 &  c 
)
inline

Definition at line 349 of file blas_quda.cu.

Member Function Documentation

◆ flops()

template<typename Float2 , typename FloatN >
static int quda::blas::axpyBzpcx_< Float2, FloatN >::flops ( )
inlinestatic

total number of input and output streams

Definition at line 353 of file blas_quda.cu.

◆ operator()()

template<typename Float2 , typename FloatN >
__device__ __host__ void quda::blas::axpyBzpcx_< Float2, FloatN >::operator() ( FloatN &  x,
FloatN &  y,
FloatN &  z,
FloatN &  w 
)
inlinevirtual

where the reduction is usually computed and any auxiliary operations

Implements quda::blas::BlasFunctor< Float2, FloatN >.

Definition at line 350 of file blas_quda.cu.

References quda::blas::axpyBzpcx_< Float2, FloatN >::a, quda::blas::axpyBzpcx_< Float2, FloatN >::b, quda::blas::axpyBzpcx_< Float2, FloatN >::c, x, y, and z.

◆ streams()

template<typename Float2 , typename FloatN >
static int quda::blas::axpyBzpcx_< Float2, FloatN >::streams ( )
inlinestatic

Definition at line 352 of file blas_quda.cu.

Member Data Documentation

◆ a

template<typename Float2 , typename FloatN >
const Float2 quda::blas::axpyBzpcx_< Float2, FloatN >::a

Definition at line 346 of file blas_quda.cu.

Referenced by quda::blas::axpyBzpcx_< Float2, FloatN >::operator()().

◆ b

template<typename Float2 , typename FloatN >
const Float2 quda::blas::axpyBzpcx_< Float2, FloatN >::b

Definition at line 347 of file blas_quda.cu.

Referenced by quda::blas::axpyBzpcx_< Float2, FloatN >::operator()().

◆ c

template<typename Float2 , typename FloatN >
const Float2 quda::blas::axpyBzpcx_< Float2, FloatN >::c

Definition at line 348 of file blas_quda.cu.

Referenced by quda::blas::axpyBzpcx_< Float2, FloatN >::operator()().


The documentation for this struct was generated from the following file: