QUDA v0.4.0
A library for QCD on GPUs
Functions | Variables
quda/lib/dslash_textures.h File Reference
#include <typeinfo>

Go to the source code of this file.

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 size_t spinor_bytes, const size_t norm_bytes, const spinorFloat *in, const float *inNorm, const spinorFloat *out=0, const float *outNorm=0, const spinorFloat *x=0, const float *xNorm=0)
template<typename spinorFloat >
void unbindSpinorTex (const spinorFloat *in, const float *inNorm, const spinorFloat *out=0, const float *outNorm=0, const spinorFloat *x=0, const float *xNorm=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 > 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 > 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 > 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 > 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< 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< 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 > cloverTexDouble
texture< float4,
1, cudaReadModeElementType > 
cloverTexSingle
texture< short4,
1, cudaReadModeNormalizedFloat > 
cloverTexHalf
texture< float,
1, cudaReadModeElementType > 
cloverTexNorm

Function Documentation

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

Definition at line 354 of file dslash_textures.h.

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

Definition at line 170 of file dslash_textures.h.

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

Definition at line 105 of file dslash_textures.h.

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

Definition at line 206 of file dslash_textures.h.

template<typename spinorFloat >
int bindSpinorTex ( const size_t  spinor_bytes,
const size_t  norm_bytes,
const spinorFloat *  in,
const float *  inNorm,
const spinorFloat *  out = 0,
const float *  outNorm = 0,
const spinorFloat *  x = 0,
const float *  xNorm = 0 
)

Definition at line 264 of file dslash_textures.h.

void unbindCloverTex ( const FullClover  clover)

Definition at line 377 of file dslash_textures.h.

void unbindFatGaugeTex ( const cudaGaugeField gauge)

Definition at line 192 of file dslash_textures.h.

void unbindGaugeTex ( const cudaGaugeField gauge)

Definition at line 142 of file dslash_textures.h.

void unbindLongGaugeTex ( const cudaGaugeField gauge)

Definition at line 238 of file dslash_textures.h.

template<typename spinorFloat >
void unbindSpinorTex ( const spinorFloat *  in,
const float *  inNorm,
const spinorFloat *  out = 0,
const float *  outNorm = 0,
const spinorFloat *  x = 0,
const float *  xNorm = 0 
)

Definition at line 309 of file dslash_textures.h.


Variable Documentation

texture<int4, 1> accumTexDouble

Definition at line 81 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> accumTexHalf

Definition at line 88 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> accumTexHalf2

Definition at line 89 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> accumTexHalfNorm

Definition at line 90 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> accumTexSingle

Definition at line 84 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> accumTexSingle2

Definition at line 85 of file dslash_textures.h.

texture<int4, 1> cloverTexDouble

Definition at line 345 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> cloverTexHalf

Definition at line 351 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> cloverTexNorm

Definition at line 352 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> cloverTexSingle

Definition at line 348 of file dslash_textures.h.

texture<int4, 1> fatGauge0TexDouble

Definition at line 27 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> fatGauge0TexHalf

Definition at line 31 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> fatGauge0TexSingle

Definition at line 29 of file dslash_textures.h.

texture<int4, 1> fatGauge1TexDouble

Definition at line 28 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> fatGauge1TexHalf

Definition at line 32 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> fatGauge1TexSingle

Definition at line 30 of file dslash_textures.h.

texture<int4, 1> gauge0TexDouble2

Definition at line 12 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> gauge0TexHalf2

Definition at line 24 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> gauge0TexHalf4

Definition at line 22 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> gauge0TexSingle2

Definition at line 18 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> gauge0TexSingle4

Definition at line 16 of file dslash_textures.h.

texture<int4, 1> gauge1TexDouble2

Definition at line 13 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> gauge1TexHalf2

Definition at line 25 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> gauge1TexHalf4

Definition at line 23 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> gauge1TexSingle2

Definition at line 19 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> gauge1TexSingle4

Definition at line 17 of file dslash_textures.h.

texture<int4, 1> interTexDouble

Definition at line 93 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> interTexHalf

Definition at line 100 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> interTexHalf2

Definition at line 101 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> interTexHalf2Norm

Definition at line 103 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> interTexHalfNorm

Definition at line 102 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> interTexSingle

Definition at line 96 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> interTexSingle2

Definition at line 97 of file dslash_textures.h.

texture<int4, 1> longGauge0TexDouble

Definition at line 34 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> longGauge0TexHalf

Definition at line 41 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> longGauge0TexHalf_norecon

Definition at line 43 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> longGauge0TexSingle

Definition at line 36 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> longGauge0TexSingle_norecon

Definition at line 38 of file dslash_textures.h.

texture<int4, 1> longGauge1TexDouble

Definition at line 35 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> longGauge1TexHalf

Definition at line 42 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> longGauge1TexHalf_norecon

Definition at line 44 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> longGauge1TexSingle

Definition at line 37 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> longGauge1TexSingle_norecon

Definition at line 39 of file dslash_textures.h.

texture<int4, 1> muLink0TexDouble

Definition at line 62 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> muLink0TexSingle

Definition at line 65 of file dslash_textures.h.

texture<int4, 1> muLink1TexDouble

Definition at line 63 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> muLink1TexSingle

Definition at line 66 of file dslash_textures.h.

texture<int4, 1> siteLink0TexDouble

Definition at line 48 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink0TexSingle

Definition at line 52 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink0TexSingle_norecon

Definition at line 58 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> siteLink0TexSingle_recon

Definition at line 55 of file dslash_textures.h.

texture<int4, 1> siteLink1TexDouble

Definition at line 49 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink1TexSingle

Definition at line 53 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> siteLink1TexSingle_norecon

Definition at line 59 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> siteLink1TexSingle_recon

Definition at line 56 of file dslash_textures.h.

texture<int4, 1> spinorTexDouble

Definition at line 69 of file dslash_textures.h.

texture<short4, 1, cudaReadModeNormalizedFloat> spinorTexHalf

Definition at line 76 of file dslash_textures.h.

texture<short2, 1, cudaReadModeNormalizedFloat> spinorTexHalf2

Definition at line 77 of file dslash_textures.h.

texture<float, 1, cudaReadModeElementType> spinorTexHalfNorm

Definition at line 78 of file dslash_textures.h.

texture<float4, 1, cudaReadModeElementType> spinorTexSingle

Definition at line 72 of file dslash_textures.h.

texture<float2, 1, cudaReadModeElementType> spinorTexSingle2

Definition at line 73 of file dslash_textures.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines