QUDA  v1.1.0
A library for QCD on GPUs
misc.h
Go to the documentation of this file.
1 #pragma once
2 #include <quda.h>
3 
4 const char *get_quda_ver_str();
5 const char *get_recon_str(QudaReconstructType recon);
6 const char *get_prec_str(QudaPrecision prec);
8 const char *get_test_type(int t);
9 const char *get_staggered_test_type(int t);
10 const char *get_unitarization_str(bool svd_only);
12 const char *get_verbosity_str(QudaVerbosity);
13 const char *get_matpc_str(QudaMatPCType);
15 const char *get_solve_str(QudaSolveType);
16 const char *get_dslash_str(QudaDslashType type);
17 const char *get_flavor_str(QudaTwistFlavorType type);
18 const char *get_solver_str(QudaInverterType type);
20 const char *get_eig_type_str(QudaEigType type);
22 const char *get_memory_type_str(QudaMemoryType type);
23 const char *get_contract_str(QudaContractType type);
24 
25 #define XUP 0
26 #define YUP 1
27 #define ZUP 2
28 #define TUP 3
29 #define TDOWN 4
30 #define ZDOWN 5
31 #define YDOWN 6
32 #define XDOWN 7
33 #define OPP_DIR(dir) (7 - (dir))
34 #define GOES_FORWARDS(dir) (dir <= 3)
35 #define GOES_BACKWARDS(dir) (dir > 3)
QudaPrecision prec
enum QudaSolveType_s QudaSolveType
enum QudaPrecision_s QudaPrecision
enum QudaTwistFlavorType_s QudaTwistFlavorType
enum QudaGaugeFieldOrder_s QudaGaugeFieldOrder
enum QudaDslashType_s QudaDslashType
enum QudaSolutionType_s QudaSolutionType
enum QudaEigSpectrumType_s QudaEigSpectrumType
enum QudaInverterType_s QudaInverterType
enum QudaFieldLocation_s QudaFieldLocation
enum QudaMassNormalization_s QudaMassNormalization
enum QudaEigType_s QudaEigType
enum QudaMatPCType_s QudaMatPCType
enum QudaMemoryType_s QudaMemoryType
enum QudaReconstructType_s QudaReconstructType
enum QudaContractType_s QudaContractType
enum QudaVerbosity_s QudaVerbosity
const char * get_quda_ver_str()
Definition: misc.cpp:302
const char * get_ritz_location_str(QudaFieldLocation type)
Definition: misc.cpp:312
const char * get_test_type(int t)
Definition: misc.cpp:84
const char * get_prec_str(QudaPrecision prec)
Definition: misc.cpp:26
const char * get_matpc_str(QudaMatPCType)
Definition: misc.cpp:200
const char * get_flavor_str(QudaTwistFlavorType type)
Definition: misc.cpp:248
const char * get_solve_str(QudaSolveType)
Definition: misc.cpp:231
const char * get_eig_spectrum_str(QudaEigSpectrumType type)
Definition: misc.cpp:154
const char * get_dslash_str(QudaDslashType type)
Definition: misc.cpp:118
const char * get_gauge_order_str(QudaGaugeFieldOrder order)
Definition: misc.cpp:54
const char * get_contract_str(QudaContractType type)
Definition: misc.cpp:141
const char * get_verbosity_str(QudaVerbosity)
Definition: misc.cpp:11
const char * get_solver_str(QudaInverterType type)
Definition: misc.cpp:263
const char * get_eig_type_str(QudaEigType type)
Definition: misc.cpp:171
const char * get_solution_str(QudaSolutionType)
Definition: misc.cpp:215
const char * get_memory_type_str(QudaMemoryType type)
Definition: misc.cpp:325
const char * get_mass_normalization_str(QudaMassNormalization)
Definition: misc.cpp:186
const char * get_staggered_test_type(int t)
Definition: misc.cpp:101
const char * get_unitarization_str(bool svd_only)
Definition: misc.cpp:41
const char * get_recon_str(QudaReconstructType recon)
Definition: misc.cpp:68
Main header file for the QUDA library.