QUDA v0.4.0
A library for QCD on GPUs
Defines | Functions
quda/tests/misc.h File Reference
#include <quda.h>

Go to the source code of this file.

Defines

#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)
QudaPrecision get_prec (char *s)
const char * get_prec_str (QudaPrecision prec)
const char * get_gauge_order_str (QudaGaugeFieldOrder order)
const char * get_recon_str (QudaReconstructType recon)
const char * get_test_type (int t)
const char * get_unitarization_str (bool svd_only)
QudaDslashType get_dslash_type (char *s)
const char * get_dslash_type_str (QudaDslashType type)
const char * get_quda_ver_str ()

Define Documentation

#define GOES_BACKWARDS (   dir)    (dir>3)

Definition at line 39 of file misc.h.

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

Definition at line 38 of file misc.h.

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

Definition at line 37 of file misc.h.

#define TDOWN   4

Definition at line 33 of file misc.h.

#define TUP   3

Definition at line 32 of file misc.h.

#define XDOWN   7

Definition at line 36 of file misc.h.

#define XUP   0

Definition at line 29 of file misc.h.

#define YDOWN   6

Definition at line 35 of file misc.h.

#define YUP   1

Definition at line 30 of file misc.h.

#define ZDOWN   5

Definition at line 34 of file misc.h.

#define ZUP   2

Definition at line 31 of file misc.h.


Function Documentation

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

Definition at line 65 of file misc.cpp.

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

Definition at line 28 of file misc.cpp.

QudaDslashType get_dslash_type ( char *  s)

Definition at line 770 of file misc.cpp.

const char* get_dslash_type_str ( QudaDslashType  type)

Definition at line 793 of file misc.cpp.

const char* get_gauge_order_str ( QudaGaugeFieldOrder  order)

Definition at line 690 of file misc.cpp.

QudaPrecision get_prec ( char *  s)

Definition at line 632 of file misc.cpp.

const char* get_prec_str ( QudaPrecision  prec)

Definition at line 651 of file misc.cpp.

const char* get_quda_ver_str ( )

Definition at line 824 of file misc.cpp.

QudaReconstructType get_recon ( char *  s)

Definition at line 611 of file misc.cpp.

const char* get_recon_str ( QudaReconstructType  recon)

Definition at line 717 of file misc.cpp.

const char* get_test_type ( int  t)

Definition at line 739 of file misc.cpp.

const char* get_unitarization_str ( bool  svd_only)

Definition at line 677 of file misc.cpp.

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

Definition at line 473 of file misc.cpp.

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

Definition at line 546 of file misc.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines