QUDA  v0.7.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)
 
QudaPrecision bindTwistedCloverTex (const FullClover clover, const FullClover cloverInv, const int oddBit, void **cloverP, void **cloverNormP, void **cloverInvP, void **cloverInvNormP)
 
void unbindTwistedCloverTex (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< int2, 1 > longPhase0TexDouble
 
texture< int2, 1 > longPhase1TexDouble
 
texture< float4,
1, cudaReadModeElementType > 
longGauge0TexSingle
 
texture< float4,
1, cudaReadModeElementType > 
longGauge1TexSingle
 
texture< float2,
1, cudaReadModeElementType > 
longGauge0TexSingle_norecon
 
texture< float2,
1, cudaReadModeElementType > 
longGauge1TexSingle_norecon
 
texture< float,
1, cudaReadModeElementType > 
longPhase0TexSingle
 
texture< float,
1, cudaReadModeElementType > 
longPhase1TexSingle
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
longGauge0TexHalf
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
longGauge1TexHalf
 
texture< short2,
1, cudaReadModeNormalizedFloat > 
longGauge0TexHalf_norecon
 
texture< short2,
1, cudaReadModeNormalizedFloat > 
longGauge1TexHalf_norecon
 
texture< short,
1, cudaReadModeNormalizedFloat > 
longPhase0TexHalf
 
texture< short,
1, cudaReadModeNormalizedFloat > 
longPhase1TexHalf
 
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< int4, 1 > cloverInvTexDouble
 
texture< float4,
1, cudaReadModeElementType > 
cloverTexSingle
 
texture< float4,
1, cudaReadModeElementType > 
cloverInvTexSingle
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
cloverTexHalf
 
texture< float,
1, cudaReadModeElementType > 
cloverTexNorm
 
texture< short4,
1, cudaReadModeNormalizedFloat > 
cloverInvTexHalf
 
texture< float,
1, cudaReadModeElementType > 
cloverInvTexNorm
 

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 449 of file dslash_textures.h.

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

Definition at line 213 of file dslash_textures.h.

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

Definition at line 143 of file dslash_textures.h.

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

Definition at line 257 of file dslash_textures.h.

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

Definition at line 351 of file dslash_textures.h.

QudaPrecision bindTwistedCloverTex ( const FullClover  clover,
const FullClover  cloverInv,
const int  oddBit,
void **  cloverP,
void **  cloverNormP,
void **  cloverInvP,
void **  cloverInvNormP 
)

Definition at line 492 of file dslash_textures.h.

void unbindCloverTex ( const FullClover  clover)

Definition at line 478 of file dslash_textures.h.

void unbindFatGaugeTex ( const cudaGaugeField &  gauge)

Definition at line 241 of file dslash_textures.h.

void unbindGaugeTex ( const cudaGaugeField &  gauge)

Definition at line 184 of file dslash_textures.h.

void unbindLongGaugeTex ( const cudaGaugeField &  gauge)

Definition at line 311 of file dslash_textures.h.

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

Definition at line 399 of file dslash_textures.h.

void unbindTwistedCloverTex ( const FullClover  clover)

Definition at line 537 of file dslash_textures.h.

Variable Documentation

texture<int4, 1> accumTexDouble

Definition at line 86 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> accumTexHalf

Definition at line 93 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> accumTexHalf2

Definition at line 94 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> accumTexHalf2Norm

Definition at line 96 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> accumTexHalfNorm

Definition at line 95 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> accumTexSingle

Definition at line 89 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> accumTexSingle2

Definition at line 90 of file dslash_textures.h.

texture<int4, 1> cloverInvTexDouble

Definition at line 436 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> cloverInvTexHalf

Definition at line 446 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> cloverInvTexNorm

Definition at line 447 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> cloverInvTexSingle

Definition at line 440 of file dslash_textures.h.

texture<int4, 1> cloverTexDouble

Definition at line 435 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> cloverTexHalf

Definition at line 443 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> cloverTexNorm

Definition at line 444 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> cloverTexSingle

Definition at line 439 of file dslash_textures.h.

texture<int4, 1> fatGauge0TexDouble

Definition at line 115 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> fatGauge0TexHalf

Definition at line 119 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> fatGauge0TexSingle

Definition at line 117 of file dslash_textures.h.

texture<int4, 1> fatGauge1TexDouble

Definition at line 116 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> fatGauge1TexHalf

Definition at line 120 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> fatGauge1TexSingle

Definition at line 118 of file dslash_textures.h.

texture<int4, 1> gauge0TexDouble2

Definition at line 36 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> gauge0TexHalf2

Definition at line 48 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> gauge0TexHalf4

Definition at line 46 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> gauge0TexSingle2

Definition at line 42 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> gauge0TexSingle4

Definition at line 40 of file dslash_textures.h.

texture<int4, 1> gauge1TexDouble2

Definition at line 37 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> gauge1TexHalf2

Definition at line 49 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> gauge1TexHalf4

Definition at line 47 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> gauge1TexSingle2

Definition at line 43 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> gauge1TexSingle4

Definition at line 41 of file dslash_textures.h.

texture<int4, 1> interTexDouble

Definition at line 99 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> interTexHalf

Definition at line 106 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> interTexHalf2

Definition at line 107 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> interTexHalf2Norm

Definition at line 109 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> interTexHalfNorm

Definition at line 108 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> interTexSingle

Definition at line 102 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> interTexSingle2

Definition at line 103 of file dslash_textures.h.

texture<int4, 1> longGauge0TexDouble

Definition at line 51 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> longGauge0TexHalf

Definition at line 64 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> longGauge0TexHalf_norecon

Definition at line 66 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> longGauge0TexSingle

Definition at line 56 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> longGauge0TexSingle_norecon

Definition at line 58 of file dslash_textures.h.

texture<int4, 1> longGauge1TexDouble

Definition at line 52 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> longGauge1TexHalf

Definition at line 65 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> longGauge1TexHalf_norecon

Definition at line 67 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> longGauge1TexSingle

Definition at line 57 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> longGauge1TexSingle_norecon

Definition at line 59 of file dslash_textures.h.

texture<int2, 1> longPhase0TexDouble

Definition at line 53 of file dslash_textures.h.

texture<short, 1, cudaReadModeNormalizedFloat> longPhase0TexHalf

Definition at line 68 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> longPhase0TexSingle

Definition at line 60 of file dslash_textures.h.

texture<int2, 1> longPhase1TexDouble

Definition at line 54 of file dslash_textures.h.

texture<short, 1, cudaReadModeNormalizedFloat> longPhase1TexHalf

Definition at line 69 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> longPhase1TexSingle

Definition at line 61 of file dslash_textures.h.

texture<int4, 1> muLink0TexDouble

Definition at line 137 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> muLink0TexSingle

Definition at line 140 of file dslash_textures.h.

texture<int4, 1> muLink1TexDouble

Definition at line 138 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> muLink1TexSingle

Definition at line 141 of file dslash_textures.h.

texture<int4, 1> siteLink0TexDouble

Definition at line 123 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink0TexSingle

Definition at line 127 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink0TexSingle_norecon

Definition at line 133 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> siteLink0TexSingle_recon

Definition at line 130 of file dslash_textures.h.

texture<int4, 1> siteLink1TexDouble

Definition at line 124 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink1TexSingle

Definition at line 128 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink1TexSingle_norecon

Definition at line 134 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> siteLink1TexSingle_recon

Definition at line 131 of file dslash_textures.h.

texture<int4, 1> spinorTexDouble

Definition at line 73 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> spinorTexHalf

Definition at line 80 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> spinorTexHalf2

Definition at line 81 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> spinorTexHalf2Norm

Definition at line 83 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> spinorTexHalfNorm

Definition at line 82 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> spinorTexSingle

Definition at line 76 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> spinorTexSingle2

Definition at line 77 of file dslash_textures.h.