11 printfQuda(
"prec recon dtest_type matpc_type dagger S_dim T_dimension Ls_dimension "
12 "dslash_type niter\n");
13 printfQuda(
"%6s %2s %s %12s %d %3d/%3d/%3d %3d %2d %14s %d\n",
37 ASSERT_LE(deviation,
tol) <<
"CPU and CUDA implementations do not agree";
40 int main(
int argc,
char **argv)
55 app->parse(argc, argv);
56 }
catch (
const CLI::ParseError &e) {
73 for (
int i=0; i<attempts; i++) {
TestEventListener * Release(TestEventListener *listener)
TestEventListener * default_result_printer() const
TestEventListeners & listeners()
static UnitTest * GetInstance()
std::shared_ptr< QUDAApp > make_app(std::string app_description, std::string app_name)
QudaReconstructType link_recon
std::array< int, 4 > grid_partition
void add_eofa_option_group(std::shared_ptr< QUDAApp > quda_app)
QudaDslashType dslash_type
void add_comms_option_group(std::shared_ptr< QUDAApp > quda_app)
std::array< int, 4 > gridsize_from_cmdline
std::string get_string(CLI::TransformPairs< T > &map, T val)
int main(int argc, char **argv)
DslashTestWrapper dslash_test_wrapper
CLI::TransformPairs< dslash_test_type > dtest_type_map
#define ASSERT_LE(val1, val2)
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
int dimPartitioned(int dim)
void initComms(int argc, char **argv, std::array< int, 4 > &commDims)
double getTolerance(QudaPrecision prec)
const char * get_matpc_str(QudaMatPCType type)
const char * get_prec_str(QudaPrecision prec)
const char * get_dslash_str(QudaDslashType type)
const char * get_recon_str(QudaReconstructType recon)
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
void initQuda(int device)
void init_test(int argc, char **argv)
dslash_test_type dtest_type
void run_test(int niter, bool print_metrics=false)
QudaGaugeParam gauge_param
QudaInvertParam inv_param
QudaReconstructType reconstruct