Classes |
class | Texture< OutputType, InputType, tex_id > |
class | SpinorTexture< RegType, InterType, StoreType, N, tex_id > |
class | Spinor< RegType, InterType, StoreType, N > |
Defines |
#define | MAX_TEXELS (1<<27) |
#define | REG_LENGTH (sizeof(RegType) / sizeof(((RegType*)0)->x)) |
Functions |
__inline__ __device__ double2 | fetch_double2 (texture< int4, 1 > t, int i) |
template<typename RegType , typename InterType , typename StoreType > |
void | checkTypes () |
template<typename OutputType , typename InputType , int M> |
__device__ void | saveHalf (OutputType *x_o, float *norm, InputType x_i[M], int i, int stride) |
Variables |
texture< short2,
1, cudaReadModeNormalizedFloat > | tex_short2_0 |
texture< short2,
1, cudaReadModeNormalizedFloat > | tex_short2_1 |
texture< short2,
1, cudaReadModeNormalizedFloat > | tex_short2_2 |
texture< short2,
1, cudaReadModeNormalizedFloat > | tex_short2_3 |
texture< short2,
1, cudaReadModeNormalizedFloat > | tex_short2_4 |
texture< short4,
1, cudaReadModeNormalizedFloat > | tex_short4_0 |
texture< short4,
1, cudaReadModeNormalizedFloat > | tex_short4_1 |
texture< short4,
1, cudaReadModeNormalizedFloat > | tex_short4_2 |
texture< short4,
1, cudaReadModeNormalizedFloat > | tex_short4_3 |
texture< short4,
1, cudaReadModeNormalizedFloat > | tex_short4_4 |
texture< float, 1 > | tex_float_0 |
texture< float, 1 > | tex_float_1 |
texture< float, 1 > | tex_float_2 |
texture< float, 1 > | tex_float_3 |
texture< float, 1 > | tex_float_4 |
texture< float2, 1 > | tex_float2_0 |
texture< float2, 1 > | tex_float2_1 |
texture< float2, 1 > | tex_float2_2 |
texture< float2, 1 > | tex_float2_3 |
texture< float2, 1 > | tex_float2_4 |
texture< float4, 1 > | tex_float4_0 |
texture< float4, 1 > | tex_float4_1 |
texture< float4, 1 > | tex_float4_2 |
texture< float4, 1 > | tex_float4_3 |
texture< float4, 1 > | tex_float4_4 |
texture< int4, 1 > | tex_int4_0 |
texture< int4, 1 > | tex_int4_1 |
texture< int4, 1 > | tex_int4_2 |
texture< int4, 1 > | tex_int4_3 |
texture< int4, 1 > | tex_int4_4 |
template<typename RegType , typename InterType , typename StoreType >
Checks that the types are set correctly. The precision used in the RegType must match that of the InterType, and the ordering of the InterType must match that of the StoreType. The only exception is when half precision is used, in which case, RegType can be a double and InterType can be single (with StoreType short).
- Parameters:
-
RegType | Register type used in kernel |
InterType | Intermediate format - RegType precision with StoreType ordering |
StoreType | Type used to store field in memory |
Definition at line 326 of file texture.h.