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

Go to the source code of this file.

Classes

class  DslashTest
 

Functions

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

Variables

DslashTestWrapper dslash_test_wrapper
 
int argc_copy
 
char ** argv_copy
 
const char * prec_str [] = {"quarter", "half", "single", "double"}
 
const char * recon_str [] = {"r18", "r12", "r8"}
 

Function Documentation

◆ display_test_info()

void display_test_info ( int  precision,
QudaReconstructType  link_recon 
)

Definition at line 17 of file dslash_ctest.cpp.

◆ getdslashtestname()

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

Definition at line 168 of file dslash_ctest.cpp.

◆ INSTANTIATE_TEST_SUITE_P()

INSTANTIATE_TEST_SUITE_P ( QUDA  ,
DslashTest  ,
Combine(Range(0, 4), ::testing::Values(QUDA_RECONSTRUCT_NO, QUDA_RECONSTRUCT_12, QUDA_RECONSTRUCT_8), ::testing::Values(0))  ,
getdslashtestname   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 130 of file dslash_ctest.cpp.

◆ TEST_P() [1/2]

TEST_P ( DslashTest  ,
benchmark   
)

show_metrics =

Definition at line 128 of file dslash_ctest.cpp.

◆ TEST_P() [2/2]

TEST_P ( DslashTest  ,
verify   
)

Definition at line 111 of file dslash_ctest.cpp.

Variable Documentation

◆ argc_copy

int argc_copy

Definition at line 8 of file dslash_ctest.cpp.

◆ argv_copy

char** argv_copy

Definition at line 9 of file dslash_ctest.cpp.

◆ dslash_test_wrapper

DslashTestWrapper dslash_test_wrapper

Definition at line 5 of file dslash_ctest.cpp.

◆ prec_str

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

Definition at line 11 of file dslash_ctest.cpp.

◆ recon_str

const char* recon_str[] = {"r18", "r12", "r8"}

Definition at line 12 of file dslash_ctest.cpp.