QUDA  v0.5.0
A library for QCD on GPUs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
dslash_textures.h File Reference
#include <typeinfo>

Go to the source code of this file.

Macros

#define TEX1DFETCH(type, tex, idx)   tex1Dfetch((tex), idx)
 

Functions

void bindGaugeTex (const cudaGaugeField &gauge, const int oddBit, void **gauge0, void **gauge1)
 
void unbindGaugeTex (const cudaGaugeField &gauge)
 
void bindFatGaugeTex (const cudaGaugeField &gauge, const int oddBit, void **gauge0, void **gauge1)
 
void unbindFatGaugeTex (const cudaGaugeField &gauge)
 
void bindLongGaugeTex (const cudaGaugeField &gauge, const int oddBit, void **gauge0, void **gauge1)
 
void unbindLongGaugeTex (const cudaGaugeField &gauge)
 
template<typename spinorFloat >
int bindSpinorTex (const cudaColorSpinorField *in, const cudaColorSpinorField *out=0, const cudaColorSpinorField *x=0)
 
template<typename spinorFloat >
void unbindSpinorTex (const cudaColorSpinorField *in, const cudaColorSpinorField *out=0, const cudaColorSpinorField *x=0)
 
QudaPrecision bindCloverTex (const FullClover clover, const int oddBit, void **cloverP, void **cloverNormP)
 
void unbindCloverTex (const FullClover clover)
 

Variables

texture< int4, 1 > gauge0TexDouble2
 
texture< int4, 1 > gauge1TexDouble2
 
texture< float4,
1, cudaReadModeElementType > 
gauge0TexSingle4
 
texture< float4,
1, cudaReadModeElementType > 
gauge1TexSingle4
 
texture< float2,
1, cudaReadModeElementType > 
gauge0TexSingle2
 
texture< float2,
1, cudaReadModeElementType > 
gauge1TexSingle2
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
gauge0TexHalf4
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
gauge1TexHalf4
 
texture< short2,
1, cudaReadModeNormalizedFloat > 
gauge0TexHalf2
 
texture< short2,
1, cudaReadModeNormalizedFloat > 
gauge1TexHalf2
 
texture< int4, 1 > longGauge0TexDouble
 
texture< int4, 1 > longGauge1TexDouble
 
texture< float4,
1, cudaReadModeElementType > 
longGauge0TexSingle
 
texture< float4,
1, cudaReadModeElementType > 
longGauge1TexSingle
 
texture< float2,
1, cudaReadModeElementType > 
longGauge0TexSingle_norecon
 
texture< float2,
1, cudaReadModeElementType > 
longGauge1TexSingle_norecon
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
longGauge0TexHalf
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
longGauge1TexHalf
 
texture< short2,
1, cudaReadModeNormalizedFloat > 
longGauge0TexHalf_norecon
 
texture< short2,
1, cudaReadModeNormalizedFloat > 
longGauge1TexHalf_norecon
 
texture< int4, 1 > spinorTexDouble
 
texture< float4,
1, cudaReadModeElementType > 
spinorTexSingle
 
texture< float2,
1, cudaReadModeElementType > 
spinorTexSingle2
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
spinorTexHalf
 
texture< short2,
1, cudaReadModeNormalizedFloat > 
spinorTexHalf2
 
texture< float,
1, cudaReadModeElementType > 
spinorTexHalfNorm
 
texture< float,
1, cudaReadModeElementType > 
spinorTexHalf2Norm
 
texture< int4, 1 > accumTexDouble
 
texture< float4,
1, cudaReadModeElementType > 
accumTexSingle
 
texture< float2,
1, cudaReadModeElementType > 
accumTexSingle2
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
accumTexHalf
 
texture< short2,
1, cudaReadModeNormalizedFloat > 
accumTexHalf2
 
texture< float,
1, cudaReadModeElementType > 
accumTexHalfNorm
 
texture< float,
1, cudaReadModeElementType > 
accumTexHalf2Norm
 
texture< int4, 1 > interTexDouble
 
texture< float4,
1, cudaReadModeElementType > 
interTexSingle
 
texture< float2,
1, cudaReadModeElementType > 
interTexSingle2
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
interTexHalf
 
texture< short2,
1, cudaReadModeNormalizedFloat > 
interTexHalf2
 
texture< float,
1, cudaReadModeElementType > 
interTexHalfNorm
 
texture< float,
1, cudaReadModeElementType > 
interTexHalf2Norm
 
texture< int4, 1 > fatGauge0TexDouble
 
texture< int4, 1 > fatGauge1TexDouble
 
texture< float2,
1, cudaReadModeElementType > 
fatGauge0TexSingle
 
texture< float2,
1, cudaReadModeElementType > 
fatGauge1TexSingle
 
texture< short2,
1, cudaReadModeNormalizedFloat > 
fatGauge0TexHalf
 
texture< short2,
1, cudaReadModeNormalizedFloat > 
fatGauge1TexHalf
 
texture< int4, 1 > siteLink0TexDouble
 
texture< int4, 1 > siteLink1TexDouble
 
texture< float2,
1, cudaReadModeElementType > 
siteLink0TexSingle
 
texture< float2,
1, cudaReadModeElementType > 
siteLink1TexSingle
 
texture< float4,
1, cudaReadModeElementType > 
siteLink0TexSingle_recon
 
texture< float4,
1, cudaReadModeElementType > 
siteLink1TexSingle_recon
 
texture< float2,
1, cudaReadModeElementType > 
siteLink0TexSingle_norecon
 
texture< float2,
1, cudaReadModeElementType > 
siteLink1TexSingle_norecon
 
texture< int4, 1 > muLink0TexDouble
 
texture< int4, 1 > muLink1TexDouble
 
texture< float2,
1, cudaReadModeElementType > 
muLink0TexSingle
 
texture< float2,
1, cudaReadModeElementType > 
muLink1TexSingle
 
texture< int4, 1 > cloverTexDouble
 
texture< float4,
1, cudaReadModeElementType > 
cloverTexSingle
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
cloverTexHalf
 
texture< float,
1, cudaReadModeElementType > 
cloverTexNorm
 

Macro Definition Documentation

#define TEX1DFETCH (   type,
  tex,
  idx 
)    tex1Dfetch((tex), idx)

Definition at line 7 of file dslash_textures.h.

Function Documentation

QudaPrecision bindCloverTex ( const FullClover  clover,
const int  oddBit,
void **  cloverP,
void **  cloverNormP 
)

Definition at line 397 of file dslash_textures.h.

void bindFatGaugeTex ( const cudaGaugeField &  gauge,
const int  oddBit,
void **  gauge0,
void **  gauge1 
)

Definition at line 195 of file dslash_textures.h.

void bindGaugeTex ( const cudaGaugeField &  gauge,
const int  oddBit,
void **  gauge0,
void **  gauge1 
)

Definition at line 125 of file dslash_textures.h.

void bindLongGaugeTex ( const cudaGaugeField &  gauge,
const int  oddBit,
void **  gauge0,
void **  gauge1 
)

Definition at line 239 of file dslash_textures.h.

template<typename spinorFloat >
int bindSpinorTex ( const cudaColorSpinorField *  in,
const cudaColorSpinorField *  out = 0,
const cudaColorSpinorField *  x = 0 
)

Definition at line 304 of file dslash_textures.h.

void unbindCloverTex ( const FullClover  clover)

Definition at line 426 of file dslash_textures.h.

void unbindFatGaugeTex ( const cudaGaugeField &  gauge)

Definition at line 223 of file dslash_textures.h.

void unbindGaugeTex ( const cudaGaugeField &  gauge)

Definition at line 166 of file dslash_textures.h.

void unbindLongGaugeTex ( const cudaGaugeField &  gauge)

Definition at line 276 of file dslash_textures.h.

template<typename spinorFloat >
void unbindSpinorTex ( const cudaColorSpinorField *  in,
const cudaColorSpinorField *  out = 0,
const cudaColorSpinorField *  x = 0 
)

Definition at line 352 of file dslash_textures.h.

Variable Documentation

texture<int4, 1> accumTexDouble

Definition at line 68 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> accumTexHalf

Definition at line 75 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> accumTexHalf2

Definition at line 76 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> accumTexHalf2Norm

Definition at line 78 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> accumTexHalfNorm

Definition at line 77 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> accumTexSingle

Definition at line 71 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> accumTexSingle2

Definition at line 72 of file dslash_textures.h.

texture<int4, 1> cloverTexDouble

Definition at line 388 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> cloverTexHalf

Definition at line 394 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> cloverTexNorm

Definition at line 395 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> cloverTexSingle

Definition at line 391 of file dslash_textures.h.

texture<int4, 1> fatGauge0TexDouble

Definition at line 97 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> fatGauge0TexHalf

Definition at line 101 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> fatGauge0TexSingle

Definition at line 99 of file dslash_textures.h.

texture<int4, 1> fatGauge1TexDouble

Definition at line 98 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> fatGauge1TexHalf

Definition at line 102 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> fatGauge1TexSingle

Definition at line 100 of file dslash_textures.h.

texture<int4, 1> gauge0TexDouble2

Definition at line 27 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> gauge0TexHalf2

Definition at line 39 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> gauge0TexHalf4

Definition at line 37 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> gauge0TexSingle2

Definition at line 33 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> gauge0TexSingle4

Definition at line 31 of file dslash_textures.h.

texture<int4, 1> gauge1TexDouble2

Definition at line 28 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> gauge1TexHalf2

Definition at line 40 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> gauge1TexHalf4

Definition at line 38 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> gauge1TexSingle2

Definition at line 34 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> gauge1TexSingle4

Definition at line 32 of file dslash_textures.h.

texture<int4, 1> interTexDouble

Definition at line 81 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> interTexHalf

Definition at line 88 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> interTexHalf2

Definition at line 89 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> interTexHalf2Norm

Definition at line 91 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> interTexHalfNorm

Definition at line 90 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> interTexSingle

Definition at line 84 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> interTexSingle2

Definition at line 85 of file dslash_textures.h.

texture<int4, 1> longGauge0TexDouble

Definition at line 42 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> longGauge0TexHalf

Definition at line 49 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> longGauge0TexHalf_norecon

Definition at line 51 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> longGauge0TexSingle

Definition at line 44 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> longGauge0TexSingle_norecon

Definition at line 46 of file dslash_textures.h.

texture<int4, 1> longGauge1TexDouble

Definition at line 43 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> longGauge1TexHalf

Definition at line 50 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> longGauge1TexHalf_norecon

Definition at line 52 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> longGauge1TexSingle

Definition at line 45 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> longGauge1TexSingle_norecon

Definition at line 47 of file dslash_textures.h.

texture<int4, 1> muLink0TexDouble

Definition at line 119 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> muLink0TexSingle

Definition at line 122 of file dslash_textures.h.

texture<int4, 1> muLink1TexDouble

Definition at line 120 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> muLink1TexSingle

Definition at line 123 of file dslash_textures.h.

texture<int4, 1> siteLink0TexDouble

Definition at line 105 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink0TexSingle

Definition at line 109 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink0TexSingle_norecon

Definition at line 115 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> siteLink0TexSingle_recon

Definition at line 112 of file dslash_textures.h.

texture<int4, 1> siteLink1TexDouble

Definition at line 106 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink1TexSingle

Definition at line 110 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink1TexSingle_norecon

Definition at line 116 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> siteLink1TexSingle_recon

Definition at line 113 of file dslash_textures.h.

texture<int4, 1> spinorTexDouble

Definition at line 55 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> spinorTexHalf

Definition at line 62 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> spinorTexHalf2

Definition at line 63 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> spinorTexHalf2Norm

Definition at line 65 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> spinorTexHalfNorm

Definition at line 64 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> spinorTexSingle

Definition at line 58 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> spinorTexSingle2

Definition at line 59 of file dslash_textures.h.