QUDA  v0.7.0
A library for QCD on GPUs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
quda::LegacyOrder< Float, length > Struct Template Reference

#include <gauge_field_order.h>

+ Inheritance diagram for quda::LegacyOrder< Float, length >:

Public Types

typedef mapper< Float >::type RegType
 

Public Member Functions

 LegacyOrder (const GaugeField &u, Float **ghost_)
 
 LegacyOrder (const LegacyOrder &order)
 
virtual ~LegacyOrder ()
 
__device__ __host__ void loadGhost (RegType v[length], int x, int dir, int parity) const
 
__device__ __host__ void saveGhost (const RegType v[length], int x, int dir, int parity)
 
__device__ __host__ void loadGhostEx (RegType v[length], int x, int dummy, int dir, int dim, int g, int parity, const int R[]) const
 
__device__ __host__ void saveGhostEx (const RegType v[length], int x, int dummy, int dir, int dim, int g, int parity, const int R[])
 

Public Attributes

Float * ghost [QUDA_MAX_DIM]
 
int faceVolumeCB [QUDA_MAX_DIM]
 
const int volumeCB
 
const int stride
 
const int geometry
 
const int hasPhase
 

Detailed Description

template<typename Float, int length>
struct quda::LegacyOrder< Float, length >

The LegacyOrder defines the ghost zone storage and ordering for all cpuGaugeFields, which use the same ghost zone storage.

Definition at line 629 of file gauge_field_order.h.

Member Typedef Documentation

template<typename Float , int length>
typedef mapper<Float>::type quda::LegacyOrder< Float, length >::RegType

Definition at line 630 of file gauge_field_order.h.

Constructor & Destructor Documentation

template<typename Float , int length>
quda::LegacyOrder< Float, length >::LegacyOrder ( const GaugeField u,
Float **  ghost_ 
)
inline

Definition at line 638 of file gauge_field_order.h.

template<typename Float , int length>
quda::LegacyOrder< Float, length >::LegacyOrder ( const LegacyOrder< Float, length > &  order)
inline

Definition at line 646 of file gauge_field_order.h.

template<typename Float , int length>
virtual quda::LegacyOrder< Float, length >::~LegacyOrder ( )
inlinevirtual

Definition at line 654 of file gauge_field_order.h.

Member Function Documentation

template<typename Float , int length>
__device__ __host__ void quda::LegacyOrder< Float, length >::loadGhost ( RegType  v[length],
int  x,
int  dir,
int  parity 
) const
inline

Definition at line 656 of file gauge_field_order.h.

template<typename Float , int length>
__device__ __host__ void quda::LegacyOrder< Float, length >::loadGhostEx ( RegType  v[length],
int  x,
int  dummy,
int  dir,
int  dim,
int  g,
int  parity,
const int  R[] 
) const
inline

Definition at line 664 of file gauge_field_order.h.

template<typename Float , int length>
__device__ __host__ void quda::LegacyOrder< Float, length >::saveGhost ( const RegType  v[length],
int  x,
int  dir,
int  parity 
)
inline

Definition at line 660 of file gauge_field_order.h.

template<typename Float , int length>
__device__ __host__ void quda::LegacyOrder< Float, length >::saveGhostEx ( const RegType  v[length],
int  x,
int  dummy,
int  dir,
int  dim,
int  g,
int  parity,
const int  R[] 
)
inline

Definition at line 672 of file gauge_field_order.h.

Member Data Documentation

template<typename Float , int length>
int quda::LegacyOrder< Float, length >::faceVolumeCB[QUDA_MAX_DIM]

Definition at line 632 of file gauge_field_order.h.

template<typename Float , int length>
const int quda::LegacyOrder< Float, length >::geometry

Definition at line 635 of file gauge_field_order.h.

template<typename Float , int length>
Float* quda::LegacyOrder< Float, length >::ghost[QUDA_MAX_DIM]

Definition at line 631 of file gauge_field_order.h.

template<typename Float , int length>
const int quda::LegacyOrder< Float, length >::hasPhase

Definition at line 636 of file gauge_field_order.h.

template<typename Float , int length>
const int quda::LegacyOrder< Float, length >::stride

Definition at line 634 of file gauge_field_order.h.

template<typename Float , int length>
const int quda::LegacyOrder< Float, length >::volumeCB

Definition at line 633 of file gauge_field_order.h.


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