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

List of all members.

Public Member Functions

 cabxpyaxnorm (const Float2 &a, const Float2 &b)
__device__ void operator() (ReduceType &sum, 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
Float2 b

Detailed Description

template<typename ReduceType, typename Float2, typename FloatN>
struct cabxpyaxnorm< ReduceType, Float2, FloatN >

double cabxpyAxNormCuda(float a, complex b, float *x, float *y, n){}

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

Definition at line 864 of file blas_quda.cu.


Constructor & Destructor Documentation

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

Definition at line 867 of file blas_quda.cu.


Member Function Documentation

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

total number of input and output streams

Definition at line 870 of file blas_quda.cu.

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

Definition at line 868 of file blas_quda.cu.

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

Definition at line 869 of file blas_quda.cu.


Member Data Documentation

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

Definition at line 865 of file blas_quda.cu.

template<typename ReduceType , typename Float2 , typename FloatN >
Float2 cabxpyaxnorm< ReduceType, Float2, FloatN >::b

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