QUDA  v0.5.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::axpyZpbx< Float2, FloatN > Struct Template Reference

Public Member Functions

 axpyZpbx (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
 

Public Attributes

const Float2 a
 
const Float2 b
 

Detailed Description

template<typename Float2, typename FloatN>
struct quda::axpyZpbx< Float2, FloatN >

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

Definition at line 314 of file blas_quda.cu.

Constructor & Destructor Documentation

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

Definition at line 317 of file blas_quda.cu.

Member Function Documentation

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

total number of input and output streams

Definition at line 321 of file blas_quda.cu.

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

Definition at line 318 of file blas_quda.cu.

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

Definition at line 320 of file blas_quda.cu.

Member Data Documentation

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

Definition at line 315 of file blas_quda.cu.

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

Definition at line 316 of file blas_quda.cu.


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