QUDA v0.4.0
A library for QCD on GPUs
|
Go to the source code of this file.
Defines | |
#define | READ_CLOVER_DOUBLE(clover, chi) |
#define | READ_CLOVER_SINGLE(clover, chi) |
#define | READ_CLOVER_HALF(clover, chi) |
#define | READ_CLOVER_DOUBLE_TEX(clover, chi) |
#define | READ_CLOVER_SINGLE_TEX(clover, chi) |
#define | READ_CLOVER_HALF_TEX(clover, chi) |
#define READ_CLOVER_DOUBLE | ( | clover, | |
chi | |||
) |
double2 C0 = clover[sid + (18*chi+0)*cl_stride]; \ double2 C1 = clover[sid + (18*chi+1)*cl_stride]; \ double2 C2 = clover[sid + (18*chi+2)*cl_stride]; \ double2 C3 = clover[sid + (18*chi+3)*cl_stride]; \ double2 C4 = clover[sid + (18*chi+4)*cl_stride]; \ double2 C5 = clover[sid + (18*chi+5)*cl_stride]; \ double2 C6 = clover[sid + (18*chi+6)*cl_stride]; \ double2 C7 = clover[sid + (18*chi+7)*cl_stride]; \ double2 C8 = clover[sid + (18*chi+8)*cl_stride]; \ double2 C9 = clover[sid + (18*chi+9)*cl_stride]; \ double2 C10 = clover[sid + (18*chi+10)*cl_stride]; \ double2 C11 = clover[sid + (18*chi+11)*cl_stride]; \ double2 C12 = clover[sid + (18*chi+12)*cl_stride]; \ double2 C13 = clover[sid + (18*chi+13)*cl_stride]; \ double2 C14 = clover[sid + (18*chi+14)*cl_stride]; \ double2 C15 = clover[sid + (18*chi+15)*cl_stride]; \ double2 C16 = clover[sid + (18*chi+16)*cl_stride]; \ double2 C17 = clover[sid + (18*chi+17)*cl_stride];
Definition at line 1 of file read_clover.h.
#define READ_CLOVER_DOUBLE_TEX | ( | clover, | |
chi | |||
) |
double2 C0 = fetch_double2((clover), sid + (18*chi+0)*cl_stride); \ double2 C1 = fetch_double2((clover), sid + (18*chi+1)*cl_stride); \ double2 C2 = fetch_double2((clover), sid + (18*chi+2)*cl_stride); \ double2 C3 = fetch_double2((clover), sid + (18*chi+3)*cl_stride); \ double2 C4 = fetch_double2((clover), sid + (18*chi+4)*cl_stride); \ double2 C5 = fetch_double2((clover), sid + (18*chi+5)*cl_stride); \ double2 C6 = fetch_double2((clover), sid + (18*chi+6)*cl_stride); \ double2 C7 = fetch_double2((clover), sid + (18*chi+7)*cl_stride); \ double2 C8 = fetch_double2((clover), sid + (18*chi+8)*cl_stride); \ double2 C9 = fetch_double2((clover), sid + (18*chi+9)*cl_stride); \ double2 C10 = fetch_double2((clover), sid + (18*chi+10)*cl_stride); \ double2 C11 = fetch_double2((clover), sid + (18*chi+11)*cl_stride); \ double2 C12 = fetch_double2((clover), sid + (18*chi+12)*cl_stride); \ double2 C13 = fetch_double2((clover), sid + (18*chi+13)*cl_stride); \ double2 C14 = fetch_double2((clover), sid + (18*chi+14)*cl_stride); \ double2 C15 = fetch_double2((clover), sid + (18*chi+15)*cl_stride); \ double2 C16 = fetch_double2((clover), sid + (18*chi+16)*cl_stride); \ double2 C17 = fetch_double2((clover), sid + (18*chi+17)*cl_stride);
Definition at line 53 of file read_clover.h.
#define READ_CLOVER_HALF | ( | clover, | |
chi | |||
) |
float4 C0 = short42float4(clover[sid + (9*chi+0)*cl_stride]); \ float4 C1 = short42float4(clover[sid + (9*chi+1)*cl_stride]); \ float4 C2 = short42float4(clover[sid + (9*chi+2)*cl_stride]); \ float4 C3 = short42float4(clover[sid + (9*chi+3)*cl_stride]); \ float4 C4 = short42float4(clover[sid + (9*chi+4)*cl_stride]); \ float4 C5 = short42float4(clover[sid + (9*chi+5)*cl_stride]); \ float4 C6 = short42float4(clover[sid + (9*chi+6)*cl_stride]); \ float4 C7 = short42float4(clover[sid + (9*chi+7)*cl_stride]); \ float4 C8 = short42float4(clover[sid + (9*chi+8)*cl_stride]); \ float K = cloverNorm[sid + chi*cl_stride]; \ C0.x *= K; C0.y *= K; C0.z *= K; C0.w *= K; \ C1.x *= K; C1.y *= K; C1.z *= K; C1.w *= K; \ C2.x *= K; C2.y *= K; C2.z *= K; C2.w *= K; \ C3.x *= K; C3.y *= K; C3.z *= K; C3.w *= K; \ C4.x *= K; C4.y *= K; C4.z *= K; C4.w *= K; \ C5.x *= K; C5.y *= K; C5.z *= K; C5.w *= K; \ C6.x *= K; C6.y *= K; C6.z *= K; C6.w *= K; \ C7.x *= K; C7.y *= K; C7.z *= K; C7.w *= K; \ C8.x *= K; C8.y *= K; C8.z *= K; C8.w *= K;
Definition at line 32 of file read_clover.h.
#define READ_CLOVER_HALF_TEX | ( | clover, | |
chi | |||
) |
float4 C0 = tex1Dfetch((clover), sid + (9*chi+0)*cl_stride); \ float4 C1 = tex1Dfetch((clover), sid + (9*chi+1)*cl_stride); \ float4 C2 = tex1Dfetch((clover), sid + (9*chi+2)*cl_stride); \ float4 C3 = tex1Dfetch((clover), sid + (9*chi+3)*cl_stride); \ float4 C4 = tex1Dfetch((clover), sid + (9*chi+4)*cl_stride); \ float4 C5 = tex1Dfetch((clover), sid + (9*chi+5)*cl_stride); \ float4 C6 = tex1Dfetch((clover), sid + (9*chi+6)*cl_stride); \ float4 C7 = tex1Dfetch((clover), sid + (9*chi+7)*cl_stride); \ float4 C8 = tex1Dfetch((clover), sid + (9*chi+8)*cl_stride); \ float K = tex1Dfetch((cloverTexNorm), sid + chi*cl_stride); \ C0.x *= K; C0.y *= K; C0.z *= K; C0.w *= K; \ C1.x *= K; C1.y *= K; C1.z *= K; C1.w *= K; \ C2.x *= K; C2.y *= K; C2.z *= K; C2.w *= K; \ C3.x *= K; C3.y *= K; C3.z *= K; C3.w *= K; \ C4.x *= K; C4.y *= K; C4.z *= K; C4.w *= K; \ C5.x *= K; C5.y *= K; C5.z *= K; C5.w *= K; \ C6.x *= K; C6.y *= K; C6.z *= K; C6.w *= K; \ C7.x *= K; C7.y *= K; C7.z *= K; C7.w *= K; \ C8.x *= K; C8.y *= K; C8.z *= K; C8.w *= K;
Definition at line 84 of file read_clover.h.
#define READ_CLOVER_SINGLE | ( | clover, | |
chi | |||
) |
float4 C0 = clover[sid + (9*chi+0)*cl_stride]; \ float4 C1 = clover[sid + (9*chi+1)*cl_stride]; \ float4 C2 = clover[sid + (9*chi+2)*cl_stride]; \ float4 C3 = clover[sid + (9*chi+3)*cl_stride]; \ float4 C4 = clover[sid + (9*chi+4)*cl_stride]; \ float4 C5 = clover[sid + (9*chi+5)*cl_stride]; \ float4 C6 = clover[sid + (9*chi+6)*cl_stride]; \ float4 C7 = clover[sid + (9*chi+7)*cl_stride]; \ float4 C8 = clover[sid + (9*chi+8)*cl_stride];
Definition at line 21 of file read_clover.h.
#define READ_CLOVER_SINGLE_TEX | ( | clover, | |
chi | |||
) |
float4 C0 = tex1Dfetch((clover), sid + (9*chi+0)*cl_stride); \ float4 C1 = tex1Dfetch((clover), sid + (9*chi+1)*cl_stride); \ float4 C2 = tex1Dfetch((clover), sid + (9*chi+2)*cl_stride); \ float4 C3 = tex1Dfetch((clover), sid + (9*chi+3)*cl_stride); \ float4 C4 = tex1Dfetch((clover), sid + (9*chi+4)*cl_stride); \ float4 C5 = tex1Dfetch((clover), sid + (9*chi+5)*cl_stride); \ float4 C6 = tex1Dfetch((clover), sid + (9*chi+6)*cl_stride); \ float4 C7 = tex1Dfetch((clover), sid + (9*chi+7)*cl_stride); \ float4 C8 = tex1Dfetch((clover), sid + (9*chi+8)*cl_stride);
Definition at line 73 of file read_clover.h.