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

Gauge reconstruct helper for Momentum field with 10 packed elements (really 9 from the Lie algebra, with zero for last element). We label this as 11 to avoid collisions with simple load/store of momentum field where we do not seek to unpack/pack. 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< 11, Float, ghostExchange_ > &recon)
 
__device__ __host__ void Pack (real out[10], const complex in[9], int idx) const
 
template<typename I >
__device__ __host__ void Unpack (complex out[9], const real in[10], int idx, int dir, real phase, const I *X, const int *R) const
 
__device__ __host__ real getPhase (const complex in[9])
 

Detailed Description

template<typename Float, QudaGhostExchange ghostExchange_>
struct quda::gauge::Reconstruct< 11, Float, ghostExchange_ >

Gauge reconstruct helper for Momentum field with 10 packed elements (really 9 from the Lie algebra, with zero for last element). We label this as 11 to avoid collisions with simple load/store of momentum field where we do not seek to unpack/pack.

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

Definition at line 1449 of file gauge_field_order.h.

Member Typedef Documentation

◆ complex

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

Definition at line 1451 of file gauge_field_order.h.

◆ real

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

Definition at line 1450 of file gauge_field_order.h.

Constructor & Destructor Documentation

◆ Reconstruct() [1/2]

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

Definition at line 1453 of file gauge_field_order.h.

◆ Reconstruct() [2/2]

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

Definition at line 1454 of file gauge_field_order.h.

Member Function Documentation

◆ getPhase()

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

Definition at line 1486 of file gauge_field_order.h.

◆ Pack()

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

Definition at line 1456 of file gauge_field_order.h.

◆ Unpack()

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

Definition at line 1472 of file gauge_field_order.h.


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