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::caxpyxmaznormx< ReduceType, Float2, FloatN > Struct Template Reference

Public Member Functions

 caxpyxmaznormx (const Float2 &a, const Float2 &b)
 
__device__ void operator() (ReduceType &sum, FloatN &x, FloatN &y, FloatN &z, FloatN &w, FloatN &v)
 

Static Public Member Functions

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

Public Attributes

Float2 a
 

Detailed Description

template<typename ReduceType, typename Float2, typename FloatN>
struct quda::caxpyxmaznormx< ReduceType, Float2, FloatN >

double caxpyXmayNormCuda(float a, float *x, float *y, n){}

First performs the operation y[i] = a*x[i] + y[i] Second performs the operator x[i] -= a*z[i] Third returns the norm of x

Definition at line 404 of file reduce_quda.cu.

Constructor & Destructor Documentation

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

Definition at line 407 of file reduce_quda.cu.

Member Function Documentation

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

total number of input and output streams

Definition at line 410 of file reduce_quda.cu.

template<typename ReduceType , typename Float2 , typename FloatN >
__device__ void quda::caxpyxmaznormx< ReduceType, Float2, FloatN >::operator() ( ReduceType &  sum,
FloatN &  x,
FloatN &  y,
FloatN &  z,
FloatN &  w,
FloatN &  v 
)
inline

Definition at line 408 of file reduce_quda.cu.

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

Definition at line 409 of file reduce_quda.cu.

Member Data Documentation

template<typename ReduceType , typename Float2 , typename FloatN >
Float2 quda::caxpyxmaznormx< ReduceType, Float2, FloatN >::a

Definition at line 406 of file reduce_quda.cu.


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