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

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

Float2 a

Detailed Description

template<typename ReduceType, typename Float2, typename FloatN>
struct 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 818 of file blas_quda.cu.


Constructor & Destructor Documentation

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

Definition at line 820 of file blas_quda.cu.


Member Function Documentation

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

total number of input and output streams

Definition at line 824 of file blas_quda.cu.

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

Definition at line 821 of file blas_quda.cu.

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

Definition at line 823 of file blas_quda.cu.


Member Data Documentation

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

Definition at line 819 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