QUDA v0.4.0
A library for QCD on GPUs
|
Go to the source code of this file.
Defines | |
#define | xcomm kparam.ghostDim[0] |
#define | ycomm kparam.ghostDim[1] |
#define | zcomm kparam.ghostDim[2] |
#define | tcomm kparam.ghostDim[3] |
#define | linka00_re LINKA0.x |
#define | linka00_im LINKA0.y |
#define | linka01_re LINKA1.x |
#define | linka01_im LINKA1.y |
#define | linka02_re LINKA2.x |
#define | linka02_im LINKA2.y |
#define | linka10_re LINKA3.x |
#define | linka10_im LINKA3.y |
#define | linka11_re LINKA4.x |
#define | linka11_im LINKA4.y |
#define | linka12_re LINKA5.x |
#define | linka12_im LINKA5.y |
#define | linka20_re LINKA6.x |
#define | linka20_im LINKA6.y |
#define | linka21_re LINKA7.x |
#define | linka21_im LINKA7.y |
#define | linka22_re LINKA8.x |
#define | linka22_im LINKA8.y |
#define | linkb00_re LINKB0.x |
#define | linkb00_im LINKB0.y |
#define | linkb01_re LINKB1.x |
#define | linkb01_im LINKB1.y |
#define | linkb02_re LINKB2.x |
#define | linkb02_im LINKB2.y |
#define | linkb10_re LINKB3.x |
#define | linkb10_im LINKB3.y |
#define | linkb11_re LINKB4.x |
#define | linkb11_im LINKB4.y |
#define | linkb12_re LINKB5.x |
#define | linkb12_im LINKB5.y |
#define | linkb20_re LINKB6.x |
#define | linkb20_im LINKB6.y |
#define | linkb21_re LINKB7.x |
#define | linkb21_im LINKB7.y |
#define | linkb22_re LINKB8.x |
#define | linkb22_im LINKB8.y |
#define | COMPUTE_NEW_FULL_IDX_PLUS_UPDATE(mydir, idx) |
#define | COMPUTE_NEW_FULL_IDX_MINUS_UPDATE(mydir, idx) |
#define | MULT_SU3_NN_TEST(ma, mb) |
#define | MULT_SU3_NA_TEST(ma, mb) |
#define | MULT_SU3_AN_TEST(ma, mb) |
#define | print_matrix(mul) |
Functions | |
template<int oddBit, typename Float2 , typename FloatN , typename Float > | |
__global__ void | GAUGE_FORCE_KERN_NAME (Float2 *momEven, Float2 *momOdd, int dir, double eb3, FloatN *linkEven, FloatN *linkOdd, int *input_path, int *length, Float *path_coeff, int num_paths, kernel_param_t kparam) |
#define COMPUTE_NEW_FULL_IDX_MINUS_UPDATE | ( | mydir, | |
idx | |||
) |
do { \ switch(mydir){ \ case 0: \ new_mem_idx = ( (new_x1==0)?idx+X1m1:idx-1); \ new_x1 = (new_x1==0)?X1m1:new_x1 - 1; \ break; \ case 1: \ new_mem_idx = ( (new_x2==0)?idx+X2X1mX1:idx-X1); \ new_x2 = (new_x2==0)?X2m1:new_x2 - 1; \ break; \ case 2: \ new_mem_idx = ( (new_x3==0)?idx+X3X2X1mX2X1:idx-X2X1); \ new_x3 = (new_x3==0)?X3m1:new_x3 - 1; \ break; \ case 3: \ new_mem_idx = ( (new_x4==0)?idx+X4X3X2X1mX3X2X1:idx-X3X2X1); \ new_x4 = (new_x4==0)?X4m1:new_x4 - 1; \ break; \ } \ }while(0)
Definition at line 155 of file gauge_force_core.h.
#define COMPUTE_NEW_FULL_IDX_PLUS_UPDATE | ( | mydir, | |
idx | |||
) |
do { \ switch(mydir){ \ case 0: \ new_mem_idx = ( (new_x1==X1m1)?idx-X1m1:idx+1); \ new_x1 = (new_x1==X1m1)?0:new_x1+1; \ break; \ case 1: \ new_mem_idx = ( (new_x2==X2m1)?idx-X2X1mX1:idx+X1); \ new_x2 = (new_x2==X2m1)?0:new_x2+1; \ break; \ case 2: \ new_mem_idx = ( (new_x3==X3m1)?idx-X3X2X1mX2X1:idx+X2X1); \ new_x3 = (new_x3==X3m1)?0:new_x3+1; \ break; \ case 3: \ new_mem_idx = ( (new_x4==X4m1)?idx-X4X3X2X1mX3X2X1:idx+X3X2X1); \ new_x4 = (new_x4==X4m1)?0:new_x4+1; \ break; \ } \ }while(0)
Definition at line 134 of file gauge_force_core.h.
#define linka00_im LINKA0.y |
Definition at line 49 of file gauge_force_core.h.
#define linka00_re LINKA0.x |
Definition at line 48 of file gauge_force_core.h.
#define linka01_im LINKA1.y |
Definition at line 51 of file gauge_force_core.h.
#define linka01_re LINKA1.x |
Definition at line 50 of file gauge_force_core.h.
#define linka02_im LINKA2.y |
Definition at line 53 of file gauge_force_core.h.
#define linka02_re LINKA2.x |
Definition at line 52 of file gauge_force_core.h.
#define linka10_im LINKA3.y |
Definition at line 55 of file gauge_force_core.h.
#define linka10_re LINKA3.x |
Definition at line 54 of file gauge_force_core.h.
#define linka11_im LINKA4.y |
Definition at line 57 of file gauge_force_core.h.
#define linka11_re LINKA4.x |
Definition at line 56 of file gauge_force_core.h.
#define linka12_im LINKA5.y |
Definition at line 59 of file gauge_force_core.h.
#define linka12_re LINKA5.x |
Definition at line 58 of file gauge_force_core.h.
#define linka20_im LINKA6.y |
Definition at line 61 of file gauge_force_core.h.
#define linka20_re LINKA6.x |
Definition at line 60 of file gauge_force_core.h.
#define linka21_im LINKA7.y |
Definition at line 63 of file gauge_force_core.h.
#define linka21_re LINKA7.x |
Definition at line 62 of file gauge_force_core.h.
#define linka22_im LINKA8.y |
Definition at line 65 of file gauge_force_core.h.
#define linka22_re LINKA8.x |
Definition at line 64 of file gauge_force_core.h.
#define linkb00_im LINKB0.y |
Definition at line 68 of file gauge_force_core.h.
#define linkb00_re LINKB0.x |
Definition at line 67 of file gauge_force_core.h.
#define linkb01_im LINKB1.y |
Definition at line 70 of file gauge_force_core.h.
#define linkb01_re LINKB1.x |
Definition at line 69 of file gauge_force_core.h.
#define linkb02_im LINKB2.y |
Definition at line 72 of file gauge_force_core.h.
#define linkb02_re LINKB2.x |
Definition at line 71 of file gauge_force_core.h.
#define linkb10_im LINKB3.y |
Definition at line 74 of file gauge_force_core.h.
#define linkb10_re LINKB3.x |
Definition at line 73 of file gauge_force_core.h.
#define linkb11_im LINKB4.y |
Definition at line 76 of file gauge_force_core.h.
#define linkb11_re LINKB4.x |
Definition at line 75 of file gauge_force_core.h.
#define linkb12_im LINKB5.y |
Definition at line 78 of file gauge_force_core.h.
#define linkb12_re LINKB5.x |
Definition at line 77 of file gauge_force_core.h.
#define linkb20_im LINKB6.y |
Definition at line 80 of file gauge_force_core.h.
#define linkb20_re LINKB6.x |
Definition at line 79 of file gauge_force_core.h.
#define linkb21_im LINKB7.y |
Definition at line 82 of file gauge_force_core.h.
#define linkb21_re LINKB7.x |
Definition at line 81 of file gauge_force_core.h.
#define linkb22_im LINKB8.y |
Definition at line 84 of file gauge_force_core.h.
#define linkb22_re LINKB8.x |
Definition at line 83 of file gauge_force_core.h.
#define MULT_SU3_AN_TEST | ( | ma, | |
mb | |||
) |
Definition at line 370 of file gauge_force_core.h.
#define MULT_SU3_NA_TEST | ( | ma, | |
mb | |||
) |
Definition at line 274 of file gauge_force_core.h.
#define MULT_SU3_NN_TEST | ( | ma, | |
mb | |||
) |
Definition at line 179 of file gauge_force_core.h.
#define print_matrix | ( | mul | ) |
printf(" (%f %f) (%f %f) (%f %f)\n", mul##00_re, mul##00_im, mul##01_re, mul##01_im, mul##02_re, mul##02_im); \ printf(" (%f %f) (%f %f) (%f %f)\n", mul##10_re, mul##10_im, mul##11_re, mul##11_im, mul##12_re, mul##12_im); \ printf(" (%f %f) (%f %f) (%f %f)\n", mul##20_re, mul##20_im, mul##21_re, mul##21_im, mul##22_re, mul##22_im);
Definition at line 466 of file gauge_force_core.h.
#define tcomm kparam.ghostDim[3] |
Definition at line 5 of file gauge_force_core.h.
#define xcomm kparam.ghostDim[0] |
Definition at line 2 of file gauge_force_core.h.
#define ycomm kparam.ghostDim[1] |
Definition at line 3 of file gauge_force_core.h.
#define zcomm kparam.ghostDim[2] |
Definition at line 4 of file gauge_force_core.h.
__global__ void GAUGE_FORCE_KERN_NAME | ( | Float2 * | momEven, |
Float2 * | momOdd, | ||
int | dir, | ||
double | eb3, | ||
FloatN * | linkEven, | ||
FloatN * | linkOdd, | ||
int * | input_path, | ||
int * | length, | ||
Float * | path_coeff, | ||
int | num_paths, | ||
kernel_param_t | kparam | ||
) |
Definition at line 476 of file gauge_force_core.h.