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

#include <staggered_dslash_test_utils.h>

Public Member Functions

void staggeredDslashRef ()
 
void init_ctest_once ()
 
void end_ctest_once ()
 
void init_ctest (int precision, QudaReconstructType link_recon_, int partition)
 
void init_test ()
 
void init ()
 
void end ()
 
DslashTime dslashCUDA (int niter)
 
void run_test (int niter, bool print_metrics=false)
 
double verify ()
 

Public Attributes

bool is_ctest = false
 
void * qdp_inlink [4] = {nullptr, nullptr, nullptr, nullptr}
 
QudaGaugeParam gauge_param
 
QudaInvertParam inv_param
 
void * milc_fatlink_gpu
 
void * milc_longlink_gpu
 
cpuGaugeFieldcpuFat = nullptr
 
cpuGaugeFieldcpuLong = nullptr
 
cpuColorSpinorFieldspinor = nullptr
 
cpuColorSpinorFieldspinorOut = nullptr
 
cpuColorSpinorFieldspinorRef = nullptr
 
cpuColorSpinorFieldtmpCpu = nullptr
 
cudaColorSpinorFieldcudaSpinor = nullptr
 
cudaColorSpinorFieldcudaSpinorOut = nullptr
 
cudaColorSpinorFieldtmp = nullptr
 
std::vector< cpuColorSpinorField * > vp_spinor
 
std::vector< cpuColorSpinorField * > vp_spinor_out
 
void * qdp_fatlink_cpu [4] = {nullptr, nullptr, nullptr, nullptr}
 
void * qdp_longlink_cpu [4] = {nullptr, nullptr, nullptr, nullptr}
 
void ** ghost_fatlink_cpu
 
void ** ghost_longlink_cpu
 
void * qdp_fatlink_cpu_backup [1][4]
 
void * qdp_longlink_cpu_backup [1][4]
 
void * qdp_inlink_backup [1][4]
 
QudaParity parity = QUDA_EVEN_PARITY
 
Diracdirac
 
int argc_copy
 
char ** argv_copy
 
int num_src
 
int test_split_grid
 

Detailed Description

Definition at line 45 of file staggered_dslash_test_utils.h.

Member Function Documentation

◆ dslashCUDA()

DslashTime StaggeredDslashTestWrapper::dslashCUDA ( int  niter)
inline

Definition at line 465 of file staggered_dslash_test_utils.h.

◆ end()

void StaggeredDslashTestWrapper::end ( )
inline

Definition at line 393 of file staggered_dslash_test_utils.h.

◆ end_ctest_once()

void StaggeredDslashTestWrapper::end_ctest_once ( )
inline

Definition at line 151 of file staggered_dslash_test_utils.h.

◆ init()

void StaggeredDslashTestWrapper::init ( )
inline

Definition at line 213 of file staggered_dslash_test_utils.h.

◆ init_ctest()

void StaggeredDslashTestWrapper::init_ctest ( int  precision,
QudaReconstructType  link_recon_,
int  partition 
)
inline

Definition at line 179 of file staggered_dslash_test_utils.h.

◆ init_ctest_once()

void StaggeredDslashTestWrapper::init_ctest_once ( )
inline

Definition at line 131 of file staggered_dslash_test_utils.h.

◆ init_test()

void StaggeredDslashTestWrapper::init_test ( )
inline

Definition at line 202 of file staggered_dslash_test_utils.h.

◆ run_test()

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

Definition at line 530 of file staggered_dslash_test_utils.h.

◆ staggeredDslashRef()

void StaggeredDslashTestWrapper::staggeredDslashRef ( )
inline

Definition at line 99 of file staggered_dslash_test_utils.h.

◆ verify()

double StaggeredDslashTestWrapper::verify ( )
inline

Definition at line 568 of file staggered_dslash_test_utils.h.

Member Data Documentation

◆ argc_copy

int StaggeredDslashTestWrapper::argc_copy

Definition at line 92 of file staggered_dslash_test_utils.h.

◆ argv_copy

char** StaggeredDslashTestWrapper::argv_copy

Definition at line 93 of file staggered_dslash_test_utils.h.

◆ cpuFat

cpuGaugeField* StaggeredDslashTestWrapper::cpuFat = nullptr

Definition at line 57 of file staggered_dslash_test_utils.h.

◆ cpuLong

cpuGaugeField* StaggeredDslashTestWrapper::cpuLong = nullptr

Definition at line 58 of file staggered_dslash_test_utils.h.

◆ cudaSpinor

cudaColorSpinorField* StaggeredDslashTestWrapper::cudaSpinor = nullptr

Definition at line 64 of file staggered_dslash_test_utils.h.

◆ cudaSpinorOut

cudaColorSpinorField* StaggeredDslashTestWrapper::cudaSpinorOut = nullptr

Definition at line 65 of file staggered_dslash_test_utils.h.

◆ dirac

Dirac* StaggeredDslashTestWrapper::dirac

Definition at line 89 of file staggered_dslash_test_utils.h.

◆ gauge_param

QudaGaugeParam StaggeredDslashTestWrapper::gauge_param

Definition at line 51 of file staggered_dslash_test_utils.h.

◆ ghost_fatlink_cpu

void** StaggeredDslashTestWrapper::ghost_fatlink_cpu

Definition at line 74 of file staggered_dslash_test_utils.h.

◆ ghost_longlink_cpu

void ** StaggeredDslashTestWrapper::ghost_longlink_cpu

Definition at line 74 of file staggered_dslash_test_utils.h.

◆ inv_param

QudaInvertParam StaggeredDslashTestWrapper::inv_param

Definition at line 52 of file staggered_dslash_test_utils.h.

◆ is_ctest

bool StaggeredDslashTestWrapper::is_ctest = false

Definition at line 47 of file staggered_dslash_test_utils.h.

◆ milc_fatlink_gpu

void* StaggeredDslashTestWrapper::milc_fatlink_gpu

Definition at line 54 of file staggered_dslash_test_utils.h.

◆ milc_longlink_gpu

void* StaggeredDslashTestWrapper::milc_longlink_gpu

Definition at line 55 of file staggered_dslash_test_utils.h.

◆ num_src

int StaggeredDslashTestWrapper::num_src

Definition at line 96 of file staggered_dslash_test_utils.h.

◆ parity

QudaParity StaggeredDslashTestWrapper::parity = QUDA_EVEN_PARITY

Definition at line 87 of file staggered_dslash_test_utils.h.

◆ qdp_fatlink_cpu

void* StaggeredDslashTestWrapper::qdp_fatlink_cpu[4] = {nullptr, nullptr, nullptr, nullptr}

Definition at line 72 of file staggered_dslash_test_utils.h.

◆ qdp_fatlink_cpu_backup

void* StaggeredDslashTestWrapper::qdp_fatlink_cpu_backup[1][4]

Definition at line 82 of file staggered_dslash_test_utils.h.

◆ qdp_inlink

void* StaggeredDslashTestWrapper::qdp_inlink[4] = {nullptr, nullptr, nullptr, nullptr}

Definition at line 49 of file staggered_dslash_test_utils.h.

◆ qdp_inlink_backup

void* StaggeredDslashTestWrapper::qdp_inlink_backup[1][4]

Definition at line 84 of file staggered_dslash_test_utils.h.

◆ qdp_longlink_cpu

void* StaggeredDslashTestWrapper::qdp_longlink_cpu[4] = {nullptr, nullptr, nullptr, nullptr}

Definition at line 73 of file staggered_dslash_test_utils.h.

◆ qdp_longlink_cpu_backup

void* StaggeredDslashTestWrapper::qdp_longlink_cpu_backup[1][4]

Definition at line 83 of file staggered_dslash_test_utils.h.

◆ spinor

cpuColorSpinorField* StaggeredDslashTestWrapper::spinor = nullptr

Definition at line 60 of file staggered_dslash_test_utils.h.

◆ spinorOut

cpuColorSpinorField* StaggeredDslashTestWrapper::spinorOut = nullptr

Definition at line 61 of file staggered_dslash_test_utils.h.

◆ spinorRef

cpuColorSpinorField* StaggeredDslashTestWrapper::spinorRef = nullptr

Definition at line 62 of file staggered_dslash_test_utils.h.

◆ test_split_grid

int StaggeredDslashTestWrapper::test_split_grid

Definition at line 97 of file staggered_dslash_test_utils.h.

◆ tmp

cudaColorSpinorField* StaggeredDslashTestWrapper::tmp = nullptr

Definition at line 66 of file staggered_dslash_test_utils.h.

◆ tmpCpu

cpuColorSpinorField* StaggeredDslashTestWrapper::tmpCpu = nullptr

Definition at line 63 of file staggered_dslash_test_utils.h.

◆ vp_spinor

std::vector<cpuColorSpinorField *> StaggeredDslashTestWrapper::vp_spinor

Definition at line 68 of file staggered_dslash_test_utils.h.

◆ vp_spinor_out

std::vector<cpuColorSpinorField *> StaggeredDslashTestWrapper::vp_spinor_out

Definition at line 69 of file staggered_dslash_test_utils.h.


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