QUDA  v0.7.0
A library for QCD on GPUs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
misc.h File Reference
#include <quda.h>

Go to the source code of this file.

Macros

#define XUP   0
 
#define YUP   1
 
#define ZUP   2
 
#define TUP   3
 
#define TDOWN   4
 
#define ZDOWN   5
 
#define YDOWN   6
 
#define XDOWN   7
 
#define OPP_DIR(dir)   (7-(dir))
 
#define GOES_FORWARDS(dir)   (dir<=3)
 
#define GOES_BACKWARDS(dir)   (dir>3)
 

Functions

void display_spinor (void *spinor, int len, int precision)
 
void display_link (void *link, int len, int precision)
 
int link_sanity_check (void *link, int len, int precision, int dir, QudaGaugeParam *gaugeParam)
 
int site_link_sanity_check (void *link, int len, int precision, QudaGaugeParam *gaugeParam)
 
QudaReconstructType get_recon (char *s)
 
const char * get_recon_str (QudaReconstructType recon)
 
QudaPrecision get_prec (char *s)
 
const char * get_prec_str (QudaPrecision prec)
 
const char * get_gauge_order_str (QudaGaugeFieldOrder order)
 
const char * get_test_type (int t)
 
const char * get_unitarization_str (bool svd_only)
 
QudaMassNormalization get_mass_normalization_type (char *s)
 
const char * get_mass_normalization_str (QudaMassNormalization)
 
QudaMatPCType get_matpc_type (char *s)
 
const char * get_matpc_str (QudaMatPCType)
 
QudaTwistFlavorType get_flavor_type (char *s)
 
QudaDslashType get_dslash_type (char *s)
 
const char * get_dslash_str (QudaDslashType type)
 
QudaInverterType get_solver_type (char *s)
 
const char * get_solver_str (QudaInverterType type)
 
const char * get_quda_ver_str ()
 

Macro Definition Documentation

#define GOES_BACKWARDS (   dir)    (dir>3)

Definition at line 54 of file misc.h.

#define GOES_FORWARDS (   dir)    (dir<=3)

Definition at line 53 of file misc.h.

#define OPP_DIR (   dir)    (7-(dir))

Definition at line 52 of file misc.h.

#define TDOWN   4

Definition at line 48 of file misc.h.

#define TUP   3

Definition at line 47 of file misc.h.

#define XDOWN   7

Definition at line 51 of file misc.h.

#define XUP   0

Definition at line 44 of file misc.h.

#define YDOWN   6

Definition at line 50 of file misc.h.

#define YUP   1

Definition at line 45 of file misc.h.

#define ZDOWN   5

Definition at line 49 of file misc.h.

#define ZUP   2

Definition at line 46 of file misc.h.

Function Documentation

void display_link ( void *  link,
int  len,
int  precision 
)

Definition at line 63 of file misc.cpp.

void display_spinor ( void *  spinor,
int  len,
int  precision 
)

Definition at line 26 of file misc.cpp.

const char* get_dslash_str ( QudaDslashType  type)

Definition at line 814 of file misc.cpp.

QudaDslashType get_dslash_type ( char *  s)

Definition at line 783 of file misc.cpp.

QudaTwistFlavorType get_flavor_type ( char *  s)

Definition at line 946 of file misc.cpp.

const char* get_gauge_order_str ( QudaGaugeFieldOrder  order)

Definition at line 697 of file misc.cpp.

const char* get_mass_normalization_str ( QudaMassNormalization  )

Definition at line 876 of file misc.cpp.

QudaMassNormalization get_mass_normalization_type ( char *  s)

Definition at line 857 of file misc.cpp.

const char* get_matpc_str ( QudaMatPCType  )

Definition at line 920 of file misc.cpp.

QudaMatPCType get_matpc_type ( char *  s)

Definition at line 899 of file misc.cpp.

QudaPrecision get_prec ( char *  s)

Definition at line 639 of file misc.cpp.

const char* get_prec_str ( QudaPrecision  prec)

Definition at line 658 of file misc.cpp.

const char* get_quda_ver_str ( )

Definition at line 1050 of file misc.cpp.

QudaReconstructType get_recon ( char *  s)

Definition at line 614 of file misc.cpp.

const char* get_recon_str ( QudaReconstructType  recon)

Definition at line 724 of file misc.cpp.

const char* get_solver_str ( QudaInverterType  type)

Definition at line 1025 of file misc.cpp.

QudaInverterType get_solver_type ( char *  s)

Definition at line 998 of file misc.cpp.

const char* get_test_type ( int  t)

Definition at line 752 of file misc.cpp.

const char* get_unitarization_str ( bool  svd_only)

Definition at line 684 of file misc.cpp.

int link_sanity_check ( void *  link,
int  len,
int  precision,
int  dir,
QudaGaugeParam gaugeParam 
)

Definition at line 476 of file misc.cpp.

int site_link_sanity_check ( void *  link,
int  len,
int  precision,
QudaGaugeParam gaugeParam 
)

Definition at line 549 of file misc.cpp.