QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Public Attributes | List of all members
DslashTestWrapper Struct Reference

#include <dslash_test_utils.h>

Public Member Functions

void init_ctest (int argc, char **argv, int precision, QudaReconstructType link_recon)
 
void init_test (int argc, char **argv)
 
void init (int argc, char **argv)
 
void end ()
 
void dslashRef ()
 
DslashTime dslashCUDA (int niter)
 
void run_test (int niter, bool print_metrics=false)
 
double verify ()
 

Public Attributes

quda::cpuColorSpinorFieldspinor = nullptr
 
quda::cpuColorSpinorFieldspinorOut = nullptr
 
quda::cpuColorSpinorFieldspinorRef = nullptr
 
quda::cpuColorSpinorFieldspinorTmp = nullptr
 
std::vector< quda::cpuColorSpinorField * > vp_spinor
 
std::vector< quda::cpuColorSpinorField * > vp_spinorOut
 
std::vector< quda::cpuColorSpinorField * > vp_spinorRef
 
quda::cudaColorSpinorFieldcudaSpinor = nullptr
 
quda::cudaColorSpinorFieldcudaSpinorOut = nullptr
 
quda::cudaColorSpinorFieldtmp1 = nullptr
 
quda::cudaColorSpinorFieldtmp2 = nullptr
 
quda::Diracdirac = nullptr
 
quda::DiracMobiusPCdirac_mdwf = nullptr
 
quda::DiracDomainWall4DPCdirac_4dpc = nullptr
 
void * hostGauge [4] = {nullptr}
 
void * hostClover = nullptr
 
void * hostCloverInv = nullptr
 
QudaGaugeParam gauge_param
 
QudaInvertParam inv_param
 
QudaDagType dagger
 
QudaDagType not_dagger
 
QudaParity parity
 
dslash_test_type dtest_type = dslash_test_type::Dslash
 
bool test_split_grid
 
int num_src
 
const bool transfer = false
 

Detailed Description

Definition at line 50 of file dslash_test_utils.h.

Member Function Documentation

◆ dslashCUDA()

DslashTime DslashTestWrapper::dslashCUDA ( int  niter)
inline

Definition at line 821 of file dslash_test_utils.h.

◆ dslashRef()

void DslashTestWrapper::dslashRef ( )
inline

Definition at line 381 of file dslash_test_utils.h.

◆ end()

void DslashTestWrapper::end ( )
inline

Definition at line 346 of file dslash_test_utils.h.

◆ init()

void DslashTestWrapper::init ( int  argc,
char **  argv 
)
inline

Definition at line 126 of file dslash_test_utils.h.

◆ init_ctest()

void DslashTestWrapper::init_ctest ( int  argc,
char **  argv,
int  precision,
QudaReconstructType  link_recon 
)
inline

Definition at line 92 of file dslash_test_utils.h.

◆ init_test()

void DslashTestWrapper::init_test ( int  argc,
char **  argv 
)
inline

Definition at line 116 of file dslash_test_utils.h.

◆ run_test()

void DslashTestWrapper::run_test ( int  niter,
bool  print_metrics = false 
)
inline

Definition at line 1076 of file dslash_test_utils.h.

◆ verify()

double DslashTestWrapper::verify ( )
inline

Definition at line 1118 of file dslash_test_utils.h.

Member Data Documentation

◆ cudaSpinor

quda::cudaColorSpinorField* DslashTestWrapper::cudaSpinor = nullptr

Definition at line 63 of file dslash_test_utils.h.

◆ cudaSpinorOut

quda::cudaColorSpinorField* DslashTestWrapper::cudaSpinorOut = nullptr

Definition at line 64 of file dslash_test_utils.h.

◆ dagger

QudaDagType DslashTestWrapper::dagger

Definition at line 83 of file dslash_test_utils.h.

◆ dirac

quda::Dirac* DslashTestWrapper::dirac = nullptr

Definition at line 69 of file dslash_test_utils.h.

◆ dirac_4dpc

quda::DiracDomainWall4DPC* DslashTestWrapper::dirac_4dpc = nullptr

Definition at line 71 of file dslash_test_utils.h.

◆ dirac_mdwf

quda::DiracMobiusPC* DslashTestWrapper::dirac_mdwf = nullptr

Definition at line 70 of file dslash_test_utils.h.

◆ dtest_type

dslash_test_type DslashTestWrapper::dtest_type = dslash_test_type::Dslash

Definition at line 86 of file dslash_test_utils.h.

◆ gauge_param

QudaGaugeParam DslashTestWrapper::gauge_param

Definition at line 79 of file dslash_test_utils.h.

◆ hostClover

void* DslashTestWrapper::hostClover = nullptr

Definition at line 75 of file dslash_test_utils.h.

◆ hostCloverInv

void* DslashTestWrapper::hostCloverInv = nullptr

Definition at line 76 of file dslash_test_utils.h.

◆ hostGauge

void* DslashTestWrapper::hostGauge[4] = {nullptr}

Definition at line 74 of file dslash_test_utils.h.

◆ inv_param

QudaInvertParam DslashTestWrapper::inv_param

Definition at line 80 of file dslash_test_utils.h.

◆ not_dagger

QudaDagType DslashTestWrapper::not_dagger

Definition at line 84 of file dslash_test_utils.h.

◆ num_src

int DslashTestWrapper::num_src

Definition at line 88 of file dslash_test_utils.h.

◆ parity

QudaParity DslashTestWrapper::parity

Definition at line 85 of file dslash_test_utils.h.

◆ spinor

quda::cpuColorSpinorField* DslashTestWrapper::spinor = nullptr

Definition at line 53 of file dslash_test_utils.h.

◆ spinorOut

quda::cpuColorSpinorField* DslashTestWrapper::spinorOut = nullptr

Definition at line 54 of file dslash_test_utils.h.

◆ spinorRef

quda::cpuColorSpinorField* DslashTestWrapper::spinorRef = nullptr

Definition at line 55 of file dslash_test_utils.h.

◆ spinorTmp

quda::cpuColorSpinorField* DslashTestWrapper::spinorTmp = nullptr

Definition at line 56 of file dslash_test_utils.h.

◆ test_split_grid

bool DslashTestWrapper::test_split_grid

Definition at line 87 of file dslash_test_utils.h.

◆ tmp1

quda::cudaColorSpinorField* DslashTestWrapper::tmp1 = nullptr

Definition at line 65 of file dslash_test_utils.h.

◆ tmp2

quda::cudaColorSpinorField* DslashTestWrapper::tmp2 = nullptr

Definition at line 66 of file dslash_test_utils.h.

◆ transfer

const bool DslashTestWrapper::transfer = false

Definition at line 90 of file dslash_test_utils.h.

◆ vp_spinor

std::vector<quda::cpuColorSpinorField *> DslashTestWrapper::vp_spinor

Definition at line 58 of file dslash_test_utils.h.

◆ vp_spinorOut

std::vector<quda::cpuColorSpinorField *> DslashTestWrapper::vp_spinorOut

Definition at line 59 of file dslash_test_utils.h.

◆ vp_spinorRef

std::vector<quda::cpuColorSpinorField *> DslashTestWrapper::vp_spinorRef

Definition at line 60 of file dslash_test_utils.h.


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