QUDA  v0.7.0
A library for QCD on GPUs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
quda::axpyBzpcx< Float2, FloatN > Struct Template Reference

Public Member Functions

 axpyBzpcx (const Float2 &a, const Float2 &b, const Float2 &c)
 
__device__ void operator() (FloatN &x, FloatN &y, const FloatN &z, const FloatN &w)
 

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::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 300 of file blas_quda.cu.

Constructor & Destructor Documentation

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

Definition at line 304 of file blas_quda.cu.

Member Function Documentation

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

total number of input and output streams

Definition at line 308 of file blas_quda.cu.

template<typename Float2 , typename FloatN >
__device__ void quda::axpyBzpcx< Float2, FloatN >::operator() ( FloatN &  x,
FloatN &  y,
const FloatN &  z,
const FloatN &  w 
)
inline

Definition at line 305 of file blas_quda.cu.

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

Definition at line 307 of file blas_quda.cu.

Member Data Documentation

template<typename Float2 , typename FloatN >
const Float2 quda::axpyBzpcx< Float2, FloatN >::a

Definition at line 301 of file blas_quda.cu.

template<typename Float2 , typename FloatN >
const Float2 quda::axpyBzpcx< Float2, FloatN >::b

Definition at line 302 of file blas_quda.cu.

template<typename Float2 , typename FloatN >
const Float2 quda::axpyBzpcx< Float2, FloatN >::c

Definition at line 303 of file blas_quda.cu.


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