QUDA v0.4.0
A library for QCD on GPUs
Public Member Functions
Spinor< RegType, InterType, StoreType, N > Class Template Reference

#include <texture.h>

List of all members.

Public Member Functions

 Spinor (cudaColorSpinorField &x)
 Spinor (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 ()
template<>
__device__ void save (float2 x[3], int i)
template<>
__device__ void save (float4 x[6], int i)
template<>
__device__ void save (double2 x[3], int i)
template<>
__device__ void save (double2 x[12], int i)

Detailed Description

template<typename RegType, typename InterType, typename StoreType, int N>
class Spinor< RegType, InterType, StoreType, N >

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

Definition at line 446 of file texture.h.


Constructor & Destructor Documentation

template<typename RegType, typename InterType, typename StoreType, int N>
Spinor< RegType, InterType, StoreType, N >::Spinor ( cudaColorSpinorField x) [inline]

Definition at line 454 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N>
Spinor< RegType, InterType, StoreType, N >::Spinor ( const cudaColorSpinorField x) [inline]

Definition at line 458 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N>
Spinor< RegType, InterType, StoreType, N >::~Spinor ( ) [inline]

Definition at line 461 of file texture.h.


Member Function Documentation

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

Definition at line 464 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N>
void Spinor< RegType, InterType, StoreType, N >::load ( char **  spinor_h,
char **  norm_h,
size_t  bytes,
size_t  norm_bytes 
) [inline]

Definition at line 495 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N>
float* Spinor< RegType, InterType, StoreType, N >::Norm ( ) [inline]

Definition at line 506 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N>
QudaPrecision Spinor< RegType, InterType, StoreType, N >::Precision ( ) [inline]

Definition at line 507 of file texture.h.

template<>
__device__ void Spinor< float2, float2, short2, 3 >::save ( float2  x[3],
int  i 
) [inline]

Definition at line 538 of file texture.h.

template<>
__device__ void Spinor< double2, double4, short4, 12 >::save ( double2  x[12],
int  i 
) [inline]

Definition at line 553 of file texture.h.

template<>
__device__ void Spinor< double2, double2, short2, 3 >::save ( double2  x[3],
int  i 
) [inline]

Definition at line 548 of file texture.h.

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

Definition at line 475 of file texture.h.

template<>
__device__ void Spinor< float4, float4, short4, 6 >::save ( float4  x[6],
int  i 
) [inline]

Definition at line 543 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N>
void Spinor< RegType, InterType, StoreType, N >::save ( char **  spinor_h,
char **  norm_h,
size_t  bytes,
size_t  norm_bytes 
) [inline]

Definition at line 484 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N>
int Spinor< RegType, InterType, StoreType, N >::Stride ( ) [inline]

Definition at line 516 of file texture.h.

template<typename RegType, typename InterType, typename StoreType, int N>
void* Spinor< RegType, InterType, StoreType, N >::V ( ) [inline]

Definition at line 505 of file texture.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines