QUDA  v1.1.0
A library for QCD on GPUs
Public Types | Public Member Functions | Public Attributes | List of all members
quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase > Struct Template Reference

Gauge reconstruct 9 helper where we reconstruct the gauge matrix from 8 packed elements (maximal compression) and include a non-trivial phase factor. More...

#include <gauge_field_order.h>

Public Types

using real = typename mapper< Float >::type
 
using complex = complex< real >
 

Public Member Functions

 Reconstruct (const GaugeField &u)
 
 Reconstruct (const Reconstruct< 9, Float, ghostExchange_, stag_phase > &recon)
 
__device__ __host__ real getPhase (const complex in[9]) const
 
__device__ __host__ void Pack (real out[8], const complex in[9], int idx) const
 
template<typename I >
__device__ __host__ void Unpack (complex out[9], const real in[8], int idx, int dir, real phase, const I *X, const int *R) const
 

Public Attributes

const Reconstruct< 8, Float, ghostExchange_ > reconstruct_8
 
const real scale
 
const real scale_inv
 

Detailed Description

template<typename Float, QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
struct quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase >

Gauge reconstruct 9 helper where we reconstruct the gauge matrix from 8 packed elements (maximal compression) and include a non-trivial phase factor.

Template Parameters
FloatStorage format (e.g., double, float, short)
ghostExchange_optional template the ghostExchange type to avoid the run-time overhead

Definition at line 1739 of file gauge_field_order.h.

Member Typedef Documentation

◆ complex

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
using quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase >::complex = complex<real>

Definition at line 1741 of file gauge_field_order.h.

◆ real

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
using quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase >::real = typename mapper<Float>::type

Definition at line 1740 of file gauge_field_order.h.

Constructor & Destructor Documentation

◆ Reconstruct() [1/2]

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase >::Reconstruct ( const GaugeField u)
inline

Definition at line 1746 of file gauge_field_order.h.

◆ Reconstruct() [2/2]

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase >::Reconstruct ( const Reconstruct< 9, Float, ghostExchange_, stag_phase > &  recon)
inline

Definition at line 1748 of file gauge_field_order.h.

Member Function Documentation

◆ getPhase()

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
__device__ __host__ real quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase >::getPhase ( const complex  in[9]) const
inline

Definition at line 1755 of file gauge_field_order.h.

◆ Pack()

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
__device__ __host__ void quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase >::Pack ( real  out[8],
const complex  in[9],
int  idx 
) const
inline

Definition at line 1777 of file gauge_field_order.h.

◆ Unpack()

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
template<typename I >
__device__ __host__ void quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase >::Unpack ( complex  out[9],
const real  in[8],
int  idx,
int  dir,
real  phase,
const I *  X,
const int *  R 
) const
inline

Definition at line 1797 of file gauge_field_order.h.

Member Data Documentation

◆ reconstruct_8

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
const Reconstruct<8, Float, ghostExchange_> quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase >::reconstruct_8

Definition at line 1742 of file gauge_field_order.h.

◆ scale

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
const real quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase >::scale

Definition at line 1743 of file gauge_field_order.h.

◆ scale_inv

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
const real quda::gauge::Reconstruct< 9, Float, ghostExchange_, stag_phase >::scale_inv

Definition at line 1744 of file gauge_field_order.h.


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