QUDA
v0.5.0
A library for QCD on GPUs
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
quda
tests
misc.h
Go to the documentation of this file.
1
#ifndef __MISC_H__
2
#define __MISC_H__
3
4
#include <
quda.h
>
5
6
#ifdef __cplusplus
7
extern
"C"
{
8
#endif
9
10
void
display_spinor
(
void
*
spinor
,
int
len,
int
precision);
11
void
display_link
(
void
* link,
int
len,
int
precision);
12
int
link_sanity_check
(
void
* link,
int
len,
int
precision,
int
dir
,
QudaGaugeParam
*
gaugeParam
);
13
int
site_link_sanity_check
(
void
* link,
int
len,
int
precision,
QudaGaugeParam
*
gaugeParam
);
14
15
QudaReconstructType
get_recon
(
char
*
s
);
16
QudaPrecision
get_prec
(
char
*
s
);
17
const
char
*
get_prec_str
(
QudaPrecision
prec
);
18
const
char
*
get_gauge_order_str
(
QudaGaugeFieldOrder
order);
19
const
char
*
get_recon_str
(
QudaReconstructType
recon);
20
const
char
*
get_test_type
(
int
t);
21
const
char
*
get_unitarization_str
(
bool
svd_only);
22
QudaDslashType
get_dslash_type
(
char
*
s
);
23
const
char
*
get_dslash_type_str
(
QudaDslashType
type);
24
const
char
*
get_quda_ver_str
();
25
#ifdef __cplusplus
26
}
27
#endif
28
29
#define XUP 0
30
#define YUP 1
31
#define ZUP 2
32
#define TUP 3
33
#define TDOWN 4
34
#define ZDOWN 5
35
#define YDOWN 6
36
#define XDOWN 7
37
#define OPP_DIR(dir) (7-(dir))
38
#define GOES_FORWARDS(dir) (dir<=3)
39
#define GOES_BACKWARDS(dir) (dir>3)
40
41
42
#endif
43
44
Generated on Wed Mar 20 2013 12:52:18 for QUDA by
1.8.2