QUDA v0.3.2
A library for QCD on GPUs
Defines | Functions

quda/lib/reduce_complex_core.h File Reference

Go to the source code of this file.

Defines

#define DSACC(c0, c1, a0, a1)   dsadd((c0), (c1), (c0), (c1), (a0), (a1))
#define ZCACC(c0, c1, a0, a1)   zcadd((c0), (c1), (c0), (c1), (a0), (a1))

Functions

__global__ void REDUCE_FUNC_NAME() Kernel (REDUCE_TYPES, QudaSumComplex *g_odata, unsigned int n)
template<typename Float , typename Float2 >
cuDoubleComplex REDUCE_FUNC_NAME() Cuda (REDUCE_TYPES, int n, int kernel, QudaPrecision precision)

Define Documentation

#define DSACC (   c0,
  c1,
  a0,
  a1 
)    dsadd((c0), (c1), (c0), (c1), (a0), (a1))

Definition at line 5 of file reduce_complex_core.h.

#define ZCACC (   c0,
  c1,
  a0,
  a1 
)    zcadd((c0), (c1), (c0), (c1), (a0), (a1))

Definition at line 6 of file reduce_complex_core.h.


Function Documentation

template<typename Float , typename Float2 >
cuDoubleComplex REDUCE_FUNC_NAME() Cuda ( REDUCE_TYPES  ,
int  n,
int  kernel,
QudaPrecision  precision 
)

Definition at line 118 of file reduce_complex_core.h.

__global__ void REDUCE_FUNC_NAME() Kernel ( REDUCE_TYPES  ,
QudaSumComplex *  g_odata,
unsigned int  n 
)

Definition at line 8 of file reduce_complex_core.h.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines