QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Macros | Functions | Variables
copy_quda.cu File Reference
#include <blas_quda.h>
#include <tune_quda.h>
#include <float_vector.h>
#include <register_traits.h>
#include <texture.h>
Include dependency graph for copy_quda.cu:

Go to the source code of this file.

Classes

class  quda::blas::copy_ns::CopyCuda< FloatN, N, Output, Input >
 

Namespaces

 quda
 
 quda::blas
 
 quda::blas::copy_ns
 

Macros

#define checkSpinorLength(a, b)
 

Functions

cudaStream_t * quda::blas::getStream ()
 
template<typename FloatN , int N, typename Output , typename Input >
__global__ void quda::blas::copy_ns::copyKernel (Output Y, Input X, int length)
 
void quda::blas::copy_ns::copy (cudaColorSpinorField &dst, const cudaColorSpinorField &src)
 
void quda::blas::copy (ColorSpinorField &dst, const ColorSpinorField &src)
 

Variables

struct {
   const char *   quda::blas::copy_ns::vol_str
 
   const char *   quda::blas::copy_ns::aux_str
 
quda::blas::copy_ns::blasStrings
 

Macro Definition Documentation

◆ checkSpinorLength

#define checkSpinorLength (   a,
 
)
Value:
{ \
if (a.Length() != b.Length()) \
errorQuda("lengths do not match: %lu %lu", a.Length(), b.Length()); \
if (a.Stride() != b.Stride()) \
errorQuda("strides do not match: %d %d", a.Stride(), b.Stride()); \
if (a.GammaBasis() != b.GammaBasis()) \
errorQuda("gamma basis does not match: %d %d", a.GammaBasis(), b.GammaBasis()); \
}
#define errorQuda(...)
Definition: util_quda.h:121

Definition at line 7 of file copy_quda.cu.

Referenced by quda::blas::copy_ns::copy().