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 | List of all members
Spinor< RegType, InterType, StoreType, N, write, tex_id > Class Template Reference

#include <texture.h>

Public Member Functions

 Spinor ()
 
 Spinor (const cudaColorSpinorField &x)
 
 Spinor (const Spinor &st)
 
 Spinor (StoreType *spinor, float *norm, int stride)
 
Spinoroperator= (const Spinor &src)
 
void set (const cudaColorSpinorField &x)
 
 ~Spinor ()
 
__device__ void load (RegType x[], const int i)
 
__device__ void save (RegType x[], int i)
 
void save (char **spinor_h, char **norm_h, size_t bytes, size_t norm_bytes)
 
void load (char **spinor_h, char **norm_h, size_t bytes, size_t norm_bytes)
 
void * V ()
 
float * Norm ()
 
QudaPrecision Precision ()
 
int Stride () const
 
void setStride (int stride_)
 

Detailed Description

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
class Spinor< RegType, InterType, StoreType, N, write, tex_id >

Parameters
RegTypeRegister type used in kernel
InterTypeIntermediate format - RegType precision with StoreType ordering
StoreTypeType used to store field in memory
NLength of vector of RegType elements that this Spinor represents
tex_idWhich texture reference are we using. A default of -1 disables textures on architectures that don't support texture objects.

Definition at line 322 of file texture.h.

Constructor & Destructor Documentation

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
Spinor< RegType, InterType, StoreType, N, write, tex_id >::Spinor ( )
inline

Definition at line 335 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
Spinor< RegType, InterType, StoreType, N, write, tex_id >::Spinor ( const cudaColorSpinorField &  x)
inline

Definition at line 338 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
Spinor< RegType, InterType, StoreType, N, write, tex_id >::Spinor ( const Spinor< RegType, InterType, StoreType, N, write, tex_id > &  st)
inline

Definition at line 342 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
Spinor< RegType, InterType, StoreType, N, write, tex_id >::Spinor ( StoreType *  spinor,
float *  norm,
int  stride 
)
inline

Definition at line 345 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
Spinor< RegType, InterType, StoreType, N, write, tex_id >::~Spinor ( )
inline

Definition at line 371 of file texture.h.

Member Function Documentation

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
__device__ void Spinor< RegType, InterType, StoreType, N, write, tex_id >::load ( RegType  x[],
const int  i 
)
inline

Definition at line 373 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
void Spinor< RegType, InterType, StoreType, N, write, tex_id >::load ( char **  spinor_h,
char **  norm_h,
size_t  bytes,
size_t  norm_bytes 
)
inline

Definition at line 444 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
float* Spinor< RegType, InterType, StoreType, N, write, tex_id >::Norm ( )
inline

Definition at line 459 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
Spinor& Spinor< RegType, InterType, StoreType, N, write, tex_id >::operator= ( const Spinor< RegType, InterType, StoreType, N, write, tex_id > &  src)
inline

Definition at line 348 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
QudaPrecision Spinor< RegType, InterType, StoreType, N, write, tex_id >::Precision ( )
inline

Definition at line 461 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
__device__ void Spinor< RegType, InterType, StoreType, N, write, tex_id >::save ( RegType  x[],
int  i 
)
inline

Definition at line 413 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
void Spinor< RegType, InterType, StoreType, N, write, tex_id >::save ( char **  spinor_h,
char **  norm_h,
size_t  bytes,
size_t  norm_bytes 
)
inline

Definition at line 431 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
void Spinor< RegType, InterType, StoreType, N, write, tex_id >::set ( const cudaColorSpinorField &  x)
inline

Definition at line 358 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
void Spinor< RegType, InterType, StoreType, N, write, tex_id >::setStride ( int  stride_)
inline

Definition at line 472 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
int Spinor< RegType, InterType, StoreType, N, write, tex_id >::Stride ( ) const
inline

Definition at line 470 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N, int write, int tex_id = -1>
void* Spinor< RegType, InterType, StoreType, N, write, tex_id >::V ( )
inline

Definition at line 458 of file texture.h.


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