QUDA  v0.7.0
A library for QCD on GPUs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions
copy_quda.cu File Reference
#include <blas_quda.h>
#include <tune_quda.h>
#include <float_vector.h>
#include <texture.h>

Go to the source code of this file.

Classes

class  quda::copy::CopyCuda< FloatN, N, Output, Input >
 

Namespaces

 quda
 
 quda::copy
 

Macros

#define checkSpinorLength(a, b)
 

Functions

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

Macro Definition Documentation

#define checkSpinorLength (   a,
 
)
Value:
{ \
if (a.Length() != b.Length()) \
errorQuda("lengths do not match: %d %d", a.Length(), b.Length()); \
if (a.Stride() != b.Stride()) \
errorQuda("strides do not match: %d %d", a.Stride(), b.Stride()); \
}
#define errorQuda(...)
Definition: util_quda.h:73
if(x2 >=X2) return

Definition at line 6 of file copy_quda.cu.