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

Public Member Functions

 caxpyNorm2 (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::caxpyNorm2< ReduceType, Float2, FloatN >

First performs the operation y[i] = a*x[i] + y[i] (complex-valued) Second returns the norm of y

Definition at line 378 of file reduce_quda.cu.

Constructor & Destructor Documentation

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

Definition at line 381 of file reduce_quda.cu.

Member Function Documentation

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

total number of input and output streams

Definition at line 385 of file reduce_quda.cu.

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

Definition at line 382 of file reduce_quda.cu.

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

Definition at line 384 of file reduce_quda.cu.

Member Data Documentation

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

Definition at line 380 of file reduce_quda.cu.


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