QUDA  v1.1.0
A library for QCD on GPUs
Public Types | Public Member Functions | Public Attributes | List of all members
quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc > Struct Template Reference

#include <color_spinor_field_order.h>

Public Types

using Accessor = QDPJITDiracOrder< Float, Ns, Nc >
 
using real = typename mapper< Float >::type
 
using complex = complex< real >
 

Public Member Functions

 QDPJITDiracOrder (const ColorSpinorField &a, int nFace=1, Float *field_=0)
 
__device__ __host__ void load (complex v[Ns *Nc], int x, int parity=0) const
 
__device__ __host__ void save (const complex v[Ns *Nc], int x, int parity=0)
 
__device__ __host__ colorspinor_wrapper< real, Accessoroperator() (int x_cb, int parity)
 This accessor routine returns a colorspinor_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations. More...
 
__device__ __host__ const colorspinor_wrapper< real, Accessoroperator() (int x_cb, int parity) const
 This accessor routine returns a const colorspinor_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations. More...
 
size_t Bytes () const
 

Public Attributes

Float * field
 
int volumeCB
 
int stride
 
int nParity
 

Detailed Description

template<typename Float, int Ns, int Nc>
struct quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >

Definition at line 1642 of file color_spinor_field_order.h.

Member Typedef Documentation

◆ Accessor

template<typename Float , int Ns, int Nc>
using quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::Accessor = QDPJITDiracOrder<Float, Ns, Nc>

Definition at line 1643 of file color_spinor_field_order.h.

◆ complex

template<typename Float , int Ns, int Nc>
using quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::complex = complex<real>

Definition at line 1645 of file color_spinor_field_order.h.

◆ real

template<typename Float , int Ns, int Nc>
using quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::real = typename mapper<Float>::type

Definition at line 1644 of file color_spinor_field_order.h.

Constructor & Destructor Documentation

◆ QDPJITDiracOrder()

template<typename Float , int Ns, int Nc>
quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::QDPJITDiracOrder ( const ColorSpinorField a,
int  nFace = 1,
Float *  field_ = 0 
)
inline

Definition at line 1650 of file color_spinor_field_order.h.

Member Function Documentation

◆ Bytes()

template<typename Float , int Ns, int Nc>
size_t quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::Bytes ( ) const
inline

Definition at line 1704 of file color_spinor_field_order.h.

◆ load()

template<typename Float , int Ns, int Nc>
__device__ __host__ void quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::load ( complex  v[Ns *Nc],
int  x,
int  parity = 0 
) const
inline

Definition at line 1656 of file color_spinor_field_order.h.

◆ operator()() [1/2]

template<typename Float , int Ns, int Nc>
__device__ __host__ colorspinor_wrapper<real, Accessor> quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::operator() ( int  x_cb,
int  parity 
)
inline

This accessor routine returns a colorspinor_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations.

Parameters
[in]x_cbCheckerboarded space-time index we are requesting
[in]parityParity we are requesting
Returns
Instance of a colorspinor_wrapper that curries in access to this field at the above coordinates.

Definition at line 1685 of file color_spinor_field_order.h.

◆ operator()() [2/2]

template<typename Float , int Ns, int Nc>
__device__ __host__ const colorspinor_wrapper<real, Accessor> quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::operator() ( int  x_cb,
int  parity 
) const
inline

This accessor routine returns a const colorspinor_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations.

Parameters
[in]x_cbCheckerboarded space-time index we are requesting
[in]parityParity we are requesting
Returns
Instance of a colorspinor_wrapper that curries in access to this field at the above coordinates.

Definition at line 1699 of file color_spinor_field_order.h.

◆ save()

template<typename Float , int Ns, int Nc>
__device__ __host__ void quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::save ( const complex  v[Ns *Nc],
int  x,
int  parity = 0 
)
inline

Definition at line 1666 of file color_spinor_field_order.h.

Member Data Documentation

◆ field

template<typename Float , int Ns, int Nc>
Float* quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::field

Definition at line 1646 of file color_spinor_field_order.h.

◆ nParity

template<typename Float , int Ns, int Nc>
int quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::nParity

Definition at line 1649 of file color_spinor_field_order.h.

◆ stride

template<typename Float , int Ns, int Nc>
int quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::stride

Definition at line 1648 of file color_spinor_field_order.h.

◆ volumeCB

template<typename Float , int Ns, int Nc>
int quda::colorspinor::QDPJITDiracOrder< Float, Ns, Nc >::volumeCB

Definition at line 1647 of file color_spinor_field_order.h.


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