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 | List of all members
quda::xpy< Float2, FloatN > Struct Template Reference

Public Member Functions

 xpy (const Float2 &a, const Float2 &b, const Float2 &c)
 
__device__ void operator() (const FloatN &x, FloatN &y, const FloatN &z, const FloatN &w)
 

Static Public Member Functions

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

Detailed Description

template<typename Float2, typename FloatN>
struct quda::xpy< Float2, FloatN >

Functor to perform the operation y += x

Definition at line 91 of file blas_quda.cu.

Constructor & Destructor Documentation

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

Definition at line 92 of file blas_quda.cu.

Member Function Documentation

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

total number of input and output streams

Definition at line 95 of file blas_quda.cu.

template<typename Float2 , typename FloatN >
__device__ void quda::xpy< Float2, FloatN >::operator() ( const FloatN &  x,
FloatN &  y,
const FloatN &  z,
const FloatN &  w 
)
inline

Definition at line 93 of file blas_quda.cu.

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

Definition at line 94 of file blas_quda.cu.


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