QUDA v0.4.0
A library for QCD on GPUs
Public Member Functions | Static Public Member Functions | Public Attributes
caxpbypz< Float2, FloatN > Struct Template Reference

List of all members.

Public Member Functions

 caxpbypz (const Float2 &a, const Float2 &b, const Float2 &c)
__device__ void operator() (const FloatN &x, const FloatN &y, 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 caxpbypz< Float2, FloatN >

Functor performing the operation z[i] = a*x[i] + b*y[i] + z[i]

Definition at line 663 of file blas_quda.cu.


Constructor & Destructor Documentation

template<typename Float2 , typename FloatN >
caxpbypz< Float2, FloatN >::caxpbypz ( const Float2 &  a,
const Float2 &  b,
const Float2 &  c 
) [inline]

Definition at line 666 of file blas_quda.cu.


Member Function Documentation

template<typename Float2 , typename FloatN >
static int caxpbypz< Float2, FloatN >::flops ( ) [inline, static]

total number of input and output streams

Definition at line 670 of file blas_quda.cu.

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

Definition at line 667 of file blas_quda.cu.

template<typename Float2 , typename FloatN >
static int caxpbypz< Float2, FloatN >::streams ( ) [inline, static]

Definition at line 669 of file blas_quda.cu.


Member Data Documentation

template<typename Float2 , typename FloatN >
const Float2 caxpbypz< Float2, FloatN >::a

Definition at line 664 of file blas_quda.cu.

template<typename Float2 , typename FloatN >
const Float2 caxpbypz< Float2, FloatN >::b

Definition at line 665 of file blas_quda.cu.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines