QUDA  v1.1.0
A library for QCD on GPUs
Classes | Namespaces | Macros | Enumerations | Functions
lattice_field.h File Reference
#include <map>
#include <quda.h>
#include <iostream>
#include <comm_quda.h>
#include <util_quda.h>
#include <object.h>
#include <quda_api.h>

Go to the source code of this file.

Classes

struct  quda::LatticeFieldParam
 
class  quda::LatticeField
 

Namespaces

 quda
 

Macros

#define checkLocation(...)   Location_(__func__, __FILE__, __LINE__, __VA_ARGS__)
 
#define checkPrecision(...)   Precision_(__func__, __FILE__, __LINE__, __VA_ARGS__)
 
#define checkNative(...)   Native_(__func__, __FILE__, __LINE__, __VA_ARGS__)
 

Enumerations

enum class  quda::QudaOffsetCopyMode { quda::COLLECT , quda::DISPERSE }
 

Functions

std::ostream & quda::operator<< (std::ostream &output, const LatticeFieldParam &param)
 
QudaFieldLocation quda::Location_ (const char *func, const char *file, int line, const LatticeField &a, const LatticeField &b)
 Helper function for determining if the location of the fields is the same. More...
 
template<typename... Args>
QudaFieldLocation quda::Location_ (const char *func, const char *file, int line, const LatticeField &a, const LatticeField &b, const Args &... args)
 Helper function for determining if the location of the fields is the same. More...
 
QudaPrecision quda::Precision_ (const char *func, const char *file, int line, const LatticeField &a, const LatticeField &b)
 Helper function for determining if the precision of the fields is the same. More...
 
template<typename... Args>
QudaPrecision quda::Precision_ (const char *func, const char *file, int line, const LatticeField &a, const LatticeField &b, const Args &... args)
 Helper function for determining if the precision of the fields is the same. More...
 
bool quda::Native_ (const char *func, const char *file, int line, const LatticeField &a)
 Helper function for determining if the field is in native order. More...
 
template<typename... Args>
bool quda::Native_ (const char *func, const char *file, int line, const LatticeField &a, const Args &... args)
 Helper function for determining if the fields are in native order. More...
 
QudaFieldLocation quda::reorder_location ()
 Return whether data is reordered on the CPU or GPU. This can set at QUDA initialization using the environment variable QUDA_REORDER_LOCATION. More...
 
void quda::reorder_location_set (QudaFieldLocation reorder_location_)
 Set whether data is reorderd on the CPU or GPU. This can set at QUDA initialization using the environment variable QUDA_REORDER_LOCATION. More...
 
const char * quda::compile_type_str (const LatticeField &meta, QudaFieldLocation location_=QUDA_INVALID_FIELD_LOCATION)
 Helper function for setting auxilary string. More...
 

Detailed Description

DESCRIPTION

LatticeField is an abstract base clase for all Field objects.

Definition in file lattice_field.h.

Macro Definition Documentation

◆ checkLocation

#define checkLocation (   ...)    Location_(__func__, __FILE__, __LINE__, __VA_ARGS__)

Definition at line 760 of file lattice_field.h.

◆ checkNative

#define checkNative (   ...)    Native_(__func__, __FILE__, __LINE__, __VA_ARGS__)

Definition at line 816 of file lattice_field.h.

◆ checkPrecision

#define checkPrecision (   ...)    Precision_(__func__, __FILE__, __LINE__, __VA_ARGS__)

Definition at line 791 of file lattice_field.h.