QUDA  0.9.0
qio_field.h
Go to the documentation of this file.
1 #ifndef _GAUGE_QIO_H
2 #define _GAUGE_QIO_H
3 
4 #ifdef HAVE_QIO
5 void read_gauge_field(const char *filename, void *gauge[], QudaPrecision prec, const int *X,
6  int argc, char *argv[]);
7 void read_spinor_field(const char *filename, void *V[], QudaPrecision precision, const int *X,
8  int nColor, int nSpin, int Nvec, int argc, char *argv[]);
9 void write_spinor_field(const char *filename, void *V[], QudaPrecision precision, const int *X,
10  int nColor, int nSpin, int Nvec, int argc, char *argv[]);
11 #else
12 inline void read_gauge_field(const char *filename, void *gauge[], QudaPrecision prec,
13  const int *X, int argc, char *argv[]) {
14  printf("QIO support has not been enabled\n");
15  exit(-1);
16 }
17 inline void read_spinor_field(const char *filename, void *V[], QudaPrecision precision, const int *X,
18  int nColor, int nSpin, int Nvec, int argc, char *argv[]) {
19  printf("QIO support has not been enabled\n");
20  exit(-1);
21 }
22 inline void write_spinor_field(const char *filename, void *V[], QudaPrecision precision, const int *X,
23  int nColor, int nSpin, int Nvec, int argc, char *argv[]) {
24  printf("QIO support has not been enabled\n");
25  exit(-1);
26 }
27 
28 #endif
29 
30 #endif // _GAUGE_QIO_H
enum QudaPrecision_s QudaPrecision
void exit(int) __attribute__((noreturn))
int printf(const char *,...) __attribute__((__format__(__printf__
const int nColor
Definition: covdev_test.cpp:77
int V
Definition: test_util.cpp:28
void write_spinor_field(const char *filename, void *V[], QudaPrecision precision, const int *X, int nColor, int nSpin, int Nvec, int argc, char *argv[])
Definition: qio_field.h:22
void read_gauge_field(const char *filename, void *gauge[], QudaPrecision prec, const int *X, int argc, char *argv[])
Definition: qio_field.h:12
QudaPrecision prec
Definition: test_util.cpp:1615
void read_spinor_field(const char *filename, void *V[], QudaPrecision precision, const int *X, int nColor, int nSpin, int Nvec, int argc, char *argv[])
Definition: qio_field.h:17