QUDA  v1.1.0
A library for QCD on GPUs
Classes | Namespaces | Macros | Typedefs | Functions | Variables
quda_internal.h File Reference
#include <quda_api.h>
#include <string>
#include <complex>
#include <vector>
#include <enum_quda.h>
#include <quda.h>
#include <util_quda.h>
#include <malloc_quda.h>
#include <object.h>
#include <timer.h>

Go to the source code of this file.

Classes

struct  QUDA_DiracField
 
struct  quda::char8
 
struct  quda::short8
 
struct  quda::float8
 
struct  quda::double8
 
struct  quda::fixedMaxValue< T >
 
struct  quda::fixedMaxValue< short >
 
struct  quda::fixedMaxValue< short2 >
 
struct  quda::fixedMaxValue< short4 >
 
struct  quda::fixedMaxValue< short8 >
 
struct  quda::fixedMaxValue< int8_t >
 
struct  quda::fixedMaxValue< char2 >
 
struct  quda::fixedMaxValue< char4 >
 
struct  quda::fixedMaxValue< char8 >
 
struct  quda::fixedInvMaxValue< T >
 
struct  quda::fixedInvMaxValue< short >
 
struct  quda::fixedInvMaxValue< short2 >
 
struct  quda::fixedInvMaxValue< short4 >
 
struct  quda::fixedInvMaxValue< short8 >
 
struct  quda::fixedInvMaxValue< int8_t >
 
struct  quda::fixedInvMaxValue< char2 >
 
struct  quda::fixedInvMaxValue< char4 >
 
struct  quda::fixedInvMaxValue< char8 >
 

Namespaces

 quda
 

Macros

#define KERNEL_FILE
 
#define TEX_ALIGN_REQ   (512*2)
 
#define ALIGNMENT_ADJUST(n)   ( (n+TEX_ALIGN_REQ-1)/TEX_ALIGN_REQ*TEX_ALIGN_REQ)
 

Typedefs

typedef std::complex< double > quda::Complex
 

Functions

bool quda::canReuseResidentGauge (QudaInvertParam *inv_param)
 

Variables

qudaStream_tstreams
 
const int quda::Nstream = 9
 

Macro Definition Documentation

◆ ALIGNMENT_ADJUST

#define ALIGNMENT_ADJUST (   n)    ( (n+TEX_ALIGN_REQ-1)/TEX_ALIGN_REQ*TEX_ALIGN_REQ)

Definition at line 42 of file quda_internal.h.

◆ KERNEL_FILE

#define KERNEL_FILE
Value:
(strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : \
strrchr(__FILE__, '\\') ? strrchr(__FILE__, '\\') + 1 : __FILE__)

Definition at line 37 of file quda_internal.h.

◆ TEX_ALIGN_REQ

#define TEX_ALIGN_REQ   (512*2)

Definition at line 41 of file quda_internal.h.

Variable Documentation

◆ streams

qudaStream_t* streams
extern

Definition at line 15 of file device.cpp.