QUDA  v1.1.0
A library for QCD on GPUs
Classes | Functions | Variables
staggered_dslash_ctest.cpp File Reference
#include "staggered_dslash_test_utils.h"

Go to the source code of this file.

Classes

class  StaggeredDslashTest
 

Functions

void init (int precision, QudaReconstructType link_recon, int partition)
 
void end ()
 
void display_test_info (int precision, QudaReconstructType link_recon)
 
 TEST_P (StaggeredDslashTest, verify)
 
 TEST_P (StaggeredDslashTest, benchmark)
 
int main (int argc, char **argv)
 
std::string getstaggereddslashtestname (testing::TestParamInfo<::testing::tuple< int, int, int >> param)
 
 INSTANTIATE_TEST_SUITE_P (QUDA, StaggeredDslashTest, Combine(Range(0, 4), ::testing::Values(QUDA_RECONSTRUCT_NO, QUDA_RECONSTRUCT_12, QUDA_RECONSTRUCT_8), ::testing::Values(0)), getstaggereddslashtestname)
 

Variables

StaggeredDslashTestWrapper dslash_test_wrapper
 
bool gauge_loaded = false
 
const char * prec_str [] = {"quarter", "half", "single", "double"}
 
const char * recon_str [] = {"r18", "r13", "r9"}
 

Function Documentation

◆ display_test_info()

void display_test_info ( int  precision,
QudaReconstructType  link_recon 
)

Definition at line 19 of file staggered_dslash_ctest.cpp.

◆ end()

void end ( void  )

Definition at line 17 of file staggered_dslash_ctest.cpp.

◆ getstaggereddslashtestname()

std::string getstaggereddslashtestname ( testing::TestParamInfo<::testing::tuple< int, int, int >>  param)

Definition at line 198 of file staggered_dslash_ctest.cpp.

◆ init()

void init ( int  precision,
QudaReconstructType  link_recon,
int  partition 
)

Definition at line 12 of file staggered_dslash_ctest.cpp.

◆ INSTANTIATE_TEST_SUITE_P()

INSTANTIATE_TEST_SUITE_P ( QUDA  ,
StaggeredDslashTest  ,
Combine(Range(0, 4), ::testing::Values(QUDA_RECONSTRUCT_NO, QUDA_RECONSTRUCT_12, QUDA_RECONSTRUCT_8), ::testing::Values(0))  ,
getstaggereddslashtestname   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 118 of file staggered_dslash_ctest.cpp.

◆ TEST_P() [1/2]

TEST_P ( StaggeredDslashTest  ,
benchmark   
)

Definition at line 116 of file staggered_dslash_ctest.cpp.

◆ TEST_P() [2/2]

TEST_P ( StaggeredDslashTest  ,
verify   
)

Definition at line 103 of file staggered_dslash_ctest.cpp.

Variable Documentation

◆ dslash_test_wrapper

StaggeredDslashTestWrapper dslash_test_wrapper

Definition at line 5 of file staggered_dslash_ctest.cpp.

◆ gauge_loaded

bool gauge_loaded = false

Definition at line 7 of file staggered_dslash_ctest.cpp.

◆ prec_str

const char* prec_str[] = {"quarter", "half", "single", "double"}

Definition at line 9 of file staggered_dslash_ctest.cpp.

◆ recon_str

const char* recon_str[] = {"r18", "r13", "r9"}

Definition at line 10 of file staggered_dslash_ctest.cpp.