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

Public Member Functions

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

double2 xpaycDotzyCuda(float2 *x, float a, float2 *y, float2 *z, int n) {}

First performs the operation y = x + a*y Second returns cdot product (z,y)

Definition at line 525 of file reduce_quda.cu.

Constructor & Destructor Documentation

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

Definition at line 528 of file reduce_quda.cu.

Member Function Documentation

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

total number of input and output streams

Definition at line 531 of file reduce_quda.cu.

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

Definition at line 529 of file reduce_quda.cu.

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

Definition at line 530 of file reduce_quda.cu.

Member Data Documentation

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

Definition at line 527 of file reduce_quda.cu.


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