QUDA  0.9.0
Macros | Functions | Variables
dw_dslash5inv_dagger_core.h File Reference
#include "io_spinor.h"
Include dependency graph for dw_dslash5inv_dagger_core.h:

Go to the source code of this file.

Macros

#define DSLASH_SHARED_FLOATS_PER_THREAD   0
 
#define VOLATILE   volatile
 
#define spinorFloat   float
 
#define POW(a, b)   __fast_pow(a, b)
 
#define i00_re   I0.x
 
#define i00_im   I0.y
 
#define i01_re   I0.z
 
#define i01_im   I0.w
 
#define i02_re   I1.x
 
#define i02_im   I1.y
 
#define i10_re   I1.z
 
#define i10_im   I1.w
 
#define i11_re   I2.x
 
#define i11_im   I2.y
 
#define i12_re   I2.z
 
#define i12_im   I2.w
 
#define i20_re   I3.x
 
#define i20_im   I3.y
 
#define i21_re   I3.z
 
#define i21_im   I3.w
 
#define i22_re   I4.x
 
#define i22_im   I4.y
 
#define i30_re   I4.z
 
#define i30_im   I4.w
 
#define i31_re   I5.x
 
#define i31_im   I5.y
 
#define i32_re   I5.z
 
#define i32_im   I5.w
 
#define m5   param.m5_f
 
#define mdwf_b5   param.mdwf_b5_f
 
#define mdwf_c5   param.mdwf_c5_f
 
#define mferm   param.mferm_f
 
#define a   param.a
 
#define b   param.b
 
#define SHARED_STRIDE   16
 

Functions

 if (sid >=param.threads *param.dc.Ls) return
 
 for (int s=0;s< param.dc.Ls;s++)
 

Variables

VOLATILE spinorFloat o00_re = 0
 
VOLATILE spinorFloat o00_im = 0
 
VOLATILE spinorFloat o01_re = 0
 
VOLATILE spinorFloat o01_im = 0
 
VOLATILE spinorFloat o02_re = 0
 
VOLATILE spinorFloat o02_im = 0
 
VOLATILE spinorFloat o10_re = 0
 
VOLATILE spinorFloat o10_im = 0
 
VOLATILE spinorFloat o11_re = 0
 
VOLATILE spinorFloat o11_im = 0
 
VOLATILE spinorFloat o12_re = 0
 
VOLATILE spinorFloat o12_im = 0
 
VOLATILE spinorFloat o20_re = 0
 
VOLATILE spinorFloat o20_im = 0
 
VOLATILE spinorFloat o21_re = 0
 
VOLATILE spinorFloat o21_im = 0
 
VOLATILE spinorFloat o22_re = 0
 
VOLATILE spinorFloat o22_im = 0
 
VOLATILE spinorFloat o30_re = 0
 
VOLATILE spinorFloat o30_im = 0
 
VOLATILE spinorFloat o31_re = 0
 
VOLATILE spinorFloat o31_im = 0
 
VOLATILE spinorFloat o32_re = 0
 
VOLATILE spinorFloat o32_im = 0
 
int sid = ((blockIdx.y*blockDim.y + threadIdx.y)*gridDim.x + blockIdx.x)*blockDim.x + threadIdx.x
 
int X = 2*sid + (boundaryCrossing + param.parity) % 2
 
int coord [5] = X/(param.dc.X[0]*param.dc.X[1]*param.dc.X[2]*param.dc.X[3])
 
int boundaryCrossing = sid/param.dc.Xh[0] + sid/(param.dc.X[1]*param.dc.Xh[0]) + sid/(param.dc.X[2]*param.dc.X[1]*param.dc.Xh[0])
 
VOLATILE spinorFloat kappa = static_cast<spinorFloat>(2.0)*a
 
int sp_idx
 
spinorFloat inv_d_n = static_cast<spinorFloat>(0.5) / ( static_cast<spinorFloat>(1.0) + POW(kappa,param.dc.Ls)*mferm )
 
spinorFloat factorR
 
spinorFloat factorL
 

Macro Definition Documentation

◆ a

#define a   param.a

Definition at line 82 of file dw_dslash5inv_dagger_core.h.

◆ b

#define b   param.b

Definition at line 83 of file dw_dslash5inv_dagger_core.h.

◆ DSLASH_SHARED_FLOATS_PER_THREAD

#define DSLASH_SHARED_FLOATS_PER_THREAD   0

Definition at line 3 of file dw_dslash5inv_dagger_core.h.

◆ i00_im

#define i00_im   I0.y

Definition at line 55 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i00_re

#define i00_re   I0.x

Definition at line 54 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i01_im

#define i01_im   I0.w

Definition at line 57 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i01_re

#define i01_re   I0.z

Definition at line 56 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i02_im

#define i02_im   I1.y

Definition at line 59 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i02_re

#define i02_re   I1.x

Definition at line 58 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i10_im

#define i10_im   I1.w

Definition at line 61 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i10_re

#define i10_re   I1.z

Definition at line 60 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i11_im

#define i11_im   I2.y

Definition at line 63 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i11_re

#define i11_re   I2.x

Definition at line 62 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i12_im

#define i12_im   I2.w

Definition at line 65 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i12_re

#define i12_re   I2.z

Definition at line 64 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i20_im

#define i20_im   I3.y

Definition at line 67 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i20_re

#define i20_re   I3.x

Definition at line 66 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i21_im

#define i21_im   I3.w

Definition at line 69 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i21_re

#define i21_re   I3.z

Definition at line 68 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i22_im

#define i22_im   I4.y

Definition at line 71 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i22_re

#define i22_re   I4.x

Definition at line 70 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i30_im

#define i30_im   I4.w

Definition at line 73 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i30_re

#define i30_re   I4.z

Definition at line 72 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i31_im

#define i31_im   I5.y

Definition at line 75 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i31_re

#define i31_re   I5.x

Definition at line 74 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i32_im

#define i32_im   I5.w

Definition at line 77 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ i32_re

#define i32_re   I5.z

Definition at line 76 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ m5

#define m5   param.m5_f

Definition at line 78 of file dw_dslash5inv_dagger_core.h.

◆ mdwf_b5

#define mdwf_b5   param.mdwf_b5_f

Definition at line 79 of file dw_dslash5inv_dagger_core.h.

◆ mdwf_c5

#define mdwf_c5   param.mdwf_c5_f

Definition at line 80 of file dw_dslash5inv_dagger_core.h.

◆ mferm

#define mferm   param.mferm_f

Definition at line 81 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ POW

#define POW (   a,
  b 
)    __fast_pow(a, b)

Definition at line 53 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ SHARED_STRIDE

#define SHARED_STRIDE   16

Definition at line 122 of file dw_dslash5inv_dagger_core.h.

◆ spinorFloat

#define spinorFloat   float

Definition at line 52 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ VOLATILE

#define VOLATILE   volatile

Definition at line 9 of file dw_dslash5inv_dagger_core.h.

Function Documentation

◆ for()

for ( )

◆ if()

if ( sid >=param.threads *param.dc.  Ls)

Variable Documentation

◆ boundaryCrossing

boundaryCrossing = sid/param.dc.Xh[0] + sid/(param.dc.X[1]*param.dc.Xh[0]) + sid/(param.dc.X[2]*param.dc.X[1]*param.dc.Xh[0])

Definition at line 131 of file dw_dslash5inv_dagger_core.h.

◆ coord

coord[4] = X/(param.dc.X[0]*param.dc.X[1]*param.dc.X[2]*param.dc.X[3])

Definition at line 131 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ factorL

spinorFloat factorL

Definition at line 179 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ factorR

spinorFloat factorR

Definition at line 178 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ inv_d_n

spinorFloat inv_d_n = static_cast<spinorFloat>(0.5) / ( static_cast<spinorFloat>(1.0) + POW(kappa,param.dc.Ls)*mferm )

Definition at line 177 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ kappa

kappa = static_cast<spinorFloat>(2.0)*a

Definition at line 153 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o00_im

o00_im = 0

Definition at line 88 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o00_re

o00_re = 0

Definition at line 87 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o01_im

o01_im = 0

Definition at line 90 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o01_re

o01_re = 0

Definition at line 89 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o02_im

o02_im = 0

Definition at line 92 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o02_re

o02_re = 0

Definition at line 91 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o10_im

o10_im = 0

Definition at line 94 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o10_re

o10_re = 0

Definition at line 93 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o11_im

o11_im = 0

Definition at line 96 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o11_re

o11_re = 0

Definition at line 95 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o12_im

o12_im = 0

Definition at line 98 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o12_re

o12_re = 0

Definition at line 97 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o20_im

o20_im = 0

Definition at line 100 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o20_re

o20_re = 0

Definition at line 99 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o21_im

o21_im = 0

Definition at line 102 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o21_re

o21_re = 0

Definition at line 101 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o22_im

o22_im = 0

Definition at line 104 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o22_re

o22_re = 0

Definition at line 103 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o30_im

o30_im = 0

Definition at line 106 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o30_re

o30_re = 0

Definition at line 105 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o31_im

o31_im = 0

Definition at line 108 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o31_re

o31_re = 0

Definition at line 107 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o32_im

o32_im = 0

Definition at line 110 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ o32_re

o32_re = 0

Definition at line 109 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ sid

Definition at line 127 of file dw_dslash5inv_dagger_core.h.

◆ sp_idx

int sp_idx
Initial value:
{
int base_idx = sid%param.dc.volume_4d_cb
QudaGaugeParam param
Definition: pack_test.cpp:17

Definition at line 168 of file dw_dslash5inv_dagger_core.h.

Referenced by for().

◆ X

Definition at line 131 of file dw_dslash5inv_dagger_core.h.