|
QUDA
0.9.0
|
Functions | |
| def | complexify (a) |
| complex numbers ######################################################################## More... | |
| def | complexToStr (c) |
| def | gplus (g1, g2) |
| def | gminus (g1, g2) |
| def | projectorToStr (p) |
| def | indent (code, n=1) |
| code generation ######################################################################## More... | |
| def | block (code) |
| def | sign (x) |
| def | nthFloat4 (n) |
| def | nthFloat2 (n) |
| def | in_re (s, c) |
| def | in_im (s, c) |
| def | g_re (d, m, n) |
| def | g_im (d, m, n) |
| def | out_re (s, c) |
| def | out_im (s, c) |
| def | h1_re (h, c) |
| def | h1_im (h, c) |
| def | h2_re (h, c) |
| def | h2_im (h, c) |
| def | c_re (b, sm, cm, sn, cn) |
| def | c_im (b, sm, cm, sn, cn) |
| def | a_re (b, s, c) |
| def | a_im (b, s, c) |
| def | tmp_re (s, c) |
| def | tmp_im (s, c) |
| def | def_input_spinor () |
| def | def_gauge () |
| def | def_clover () |
| def | def_output_spinor () |
| def | prolog () |
| def | gen (dir, pack_only=False) |
| def | gen_dw () |
| def | gen_dw_inv () |
| def | input_spinor (s, c, z) |
| def | to_chiral_basis (c) |
| def | from_chiral_basis (c) |
| def | clover_mult (chi) |
| def | apply_clover () |
| def | coeff () |
| def | ypax () |
| def | xpay () |
| def | epilog () |
| def | pack_face (facenum) |
| def | generate_pack () |
| def | generate_dslash () |
| def | generate_dslash4D () |
| def | generate_dslash5D () |
| def | generate_dslash5D_inv () |
| def | generate_clover () |
Variables | |
| def | id |
| projector matrices ######################################################################## More... | |
| def | gamma1 |
| def | gamma2 |
| def | gamma3 |
| def | gamma4 |
| def | igamma5 |
| list | two_P_L = [ id[x] - igamma5[x]/1j for x in range(0,4*4) ] |
| list | two_P_R = [ id[x] + igamma5[x]/1j for x in range(0,4*4) ] |
| list | projectors |
| int | sharedFloats = 0 |
| int | cloverSharedFloats = 0 |
| bool | domain_wall = True |
| bool | clover = False |
| bool | dslash4 = True |
| bool | dslash5 = False |
| bool | dslash5inv = False |
| bool | normalDWF = False |
| bool | dslash = True |
| bool | dagger = False |
| f = open('dslash_core/dw_dslash4_core.h', 'w') | |
| def dw_dslash_4D_cuda_gen.a_im | ( | b, | |
| s, | |||
| c | |||
| ) |
Definition at line 140 of file dw_dslash_4D_cuda_gen.py.
Referenced by clover_mult(), from_chiral_basis(), and to_chiral_basis().

| def dw_dslash_4D_cuda_gen.a_re | ( | b, | |
| s, | |||
| c | |||
| ) |
Definition at line 139 of file dw_dslash_4D_cuda_gen.py.
Referenced by clover_mult(), from_chiral_basis(), and to_chiral_basis().

| def dw_dslash_4D_cuda_gen.apply_clover | ( | ) |
Definition at line 1080 of file dw_dslash_4D_cuda_gen.py.
References clover_mult(), from_chiral_basis(), and to_chiral_basis().
Referenced by epilog().


| def dw_dslash_4D_cuda_gen.block | ( | code | ) |
Definition at line 111 of file dw_dslash_4D_cuda_gen.py.
References indent().
Referenced by clover_mult(), epilog(), from_chiral_basis(), gen(), generate_pack(), pack_face(), and to_chiral_basis().


| def dw_dslash_4D_cuda_gen.c_im | ( | b, | |
| sm, | |||
| cm, | |||
| sn, | |||
| cn | |||
| ) |
Definition at line 138 of file dw_dslash_4D_cuda_gen.py.
Referenced by clover_mult(), def_clover(), and epilog().

| def dw_dslash_4D_cuda_gen.c_re | ( | b, | |
| sm, | |||
| cm, | |||
| sn, | |||
| cn | |||
| ) |
Definition at line 137 of file dw_dslash_4D_cuda_gen.py.
Referenced by clover_mult(), def_clover(), and epilog().

| def dw_dslash_4D_cuda_gen.clover_mult | ( | chi | ) |
Definition at line 1048 of file dw_dslash_4D_cuda_gen.py.
References a_im(), a_re(), block(), c_im(), c_re(), out_im(), and out_re().
Referenced by apply_clover().


| def dw_dslash_4D_cuda_gen.coeff | ( | ) |
Definition at line 1099 of file dw_dslash_4D_cuda_gen.py.
Referenced by add_3f_force_to_mom(), add_force_to_momentum(), LoadStore< Real >.addMatrixToField(), quda.cloverDerivative(), completeForceSite(), compute_gauge_force_quda_(), computeAllLinkField(), computeAllLinkSite(), quda.computeCloverForce(), computeCloverForceQuda(), quda.computeCloverSigmaOprod(), quda.computeCloverSigmaTrace(), computeHISQForceQuda(), computeLongLinkField(), computeLongLinkSite(), computeMiddleLinkField(), computeMiddleLinkSite(), computeOneLinkField(), computeOneLinkSite(), computeSideLinkField(), computeSideLinkSite(), computeStaggeredForceQuda(), quda.computeStaggeredOprod(), createSiteLinkCPU(), do_color_matrix_hisq_force_reference(), do_halfwilson_hisq_force_reference(), doHisqStaplesForceCPU(), quda.fatLongKSLink(), quda.gaugeForce(), hisqLongLinkForceCPU(), llfat_test(), side_link_3f_force(), side_link_force(), site_link_sanity_check_internal_12(), LoadStore< Real >.storeMatrixToMomentumField(), quda::gauge::Reconstruct< 13, Float >.Unpack(), quda.updateMomentum(), quda.writeMomentumToArray(), and xpay().

| def dw_dslash_4D_cuda_gen.complexify | ( | a | ) |
complex numbers ########################################################################
Definition at line 6 of file dw_dslash_4D_cuda_gen.py.
| def dw_dslash_4D_cuda_gen.complexToStr | ( | c | ) |
Definition at line 9 of file dw_dslash_4D_cuda_gen.py.
References int.
Referenced by projectorToStr().

| def dw_dslash_4D_cuda_gen.def_clover | ( | ) |
Definition at line 219 of file dw_dslash_4D_cuda_gen.py.
References c_im(), c_re(), nthFloat2(), and nthFloat4().
Referenced by prolog().


| def dw_dslash_4D_cuda_gen.def_gauge | ( | ) |
Definition at line 187 of file dw_dslash_4D_cuda_gen.py.
References g_im(), g_re(), nthFloat2(), and nthFloat4().
Referenced by prolog().


| def dw_dslash_4D_cuda_gen.def_input_spinor | ( | ) |
Definition at line 146 of file dw_dslash_4D_cuda_gen.py.
References in_im(), in_re(), nthFloat2(), and nthFloat4().
Referenced by generate_pack(), and prolog().


| def dw_dslash_4D_cuda_gen.def_output_spinor | ( | ) |
Definition at line 279 of file dw_dslash_4D_cuda_gen.py.
References out_im(), and out_re().
Referenced by prolog().


| def dw_dslash_4D_cuda_gen.epilog | ( | ) |
Definition at line 1185 of file dw_dslash_4D_cuda_gen.py.
References apply_clover(), block(), c_im(), c_re(), g_im(), g_re(), in_im(), in_re(), out_im(), out_re(), and xpay().
Referenced by generate_clover(), generate_dslash(), generate_dslash4D(), generate_dslash5D(), and generate_dslash5D_inv().


| def dw_dslash_4D_cuda_gen.from_chiral_basis | ( | c | ) |
Definition at line 1028 of file dw_dslash_4D_cuda_gen.py.
References a_im(), a_re(), block(), out_im(), and out_re().
Referenced by apply_clover().


| def dw_dslash_4D_cuda_gen.g_im | ( | d, | |
| m, | |||
| n | |||
| ) |
Definition at line 130 of file dw_dslash_4D_cuda_gen.py.
Referenced by def_gauge(), epilog(), and gen().

| def dw_dslash_4D_cuda_gen.g_re | ( | d, | |
| m, | |||
| n | |||
| ) |
Definition at line 129 of file dw_dslash_4D_cuda_gen.py.
Referenced by def_gauge(), epilog(), and gen().

| def dw_dslash_4D_cuda_gen.gen | ( | dir, | |
pack_only = False |
|||
| ) |
| def dw_dslash_4D_cuda_gen.gen_dw | ( | ) |
Definition at line 749 of file dw_dslash_4D_cuda_gen.py.
References in_im(), in_re(), out_im(), out_re(), and sign().
Referenced by generate_dslash(), and generate_dslash5D().


| def dw_dslash_4D_cuda_gen.gen_dw_inv | ( | ) |
Definition at line 900 of file dw_dslash_4D_cuda_gen.py.
Referenced by generate_dslash5D_inv().

| def dw_dslash_4D_cuda_gen.generate_clover | ( | ) |
Definition at line 1344 of file dw_dslash_4D_cuda_gen.py.
References epilog(), and prolog().

| def dw_dslash_4D_cuda_gen.generate_dslash | ( | ) |
Definition at line 1316 of file dw_dslash_4D_cuda_gen.py.
References epilog(), gen_dw(), and prolog().

| def dw_dslash_4D_cuda_gen.generate_dslash4D | ( | ) |
Definition at line 1325 of file dw_dslash_4D_cuda_gen.py.
References epilog(), and prolog().

| def dw_dslash_4D_cuda_gen.generate_dslash5D | ( | ) |
Definition at line 1332 of file dw_dslash_4D_cuda_gen.py.
References epilog(), gen_dw(), and prolog().

| def dw_dslash_4D_cuda_gen.generate_dslash5D_inv | ( | ) |
Definition at line 1338 of file dw_dslash_4D_cuda_gen.py.
References epilog(), gen_dw_inv(), and prolog().

| def dw_dslash_4D_cuda_gen.generate_pack | ( | ) |
Definition at line 1290 of file dw_dslash_4D_cuda_gen.py.
References block(), def_input_spinor(), in_im(), in_re(), and pack_face().

| def dw_dslash_4D_cuda_gen.gminus | ( | g1, | |
| g2 | |||
| ) |
Definition at line 87 of file dw_dslash_4D_cuda_gen.py.
| def dw_dslash_4D_cuda_gen.gplus | ( | g1, | |
| g2 | |||
| ) |
Definition at line 84 of file dw_dslash_4D_cuda_gen.py.
| def dw_dslash_4D_cuda_gen.h1_im | ( | h, | |
| c | |||
| ) |
Definition at line 134 of file dw_dslash_4D_cuda_gen.py.
Referenced by gen().

| def dw_dslash_4D_cuda_gen.h1_re | ( | h, | |
| c | |||
| ) |
Definition at line 133 of file dw_dslash_4D_cuda_gen.py.
Referenced by gen().

| def dw_dslash_4D_cuda_gen.h2_im | ( | h, | |
| c | |||
| ) |
Definition at line 136 of file dw_dslash_4D_cuda_gen.py.
Referenced by gen().

| def dw_dslash_4D_cuda_gen.h2_re | ( | h, | |
| c | |||
| ) |
Definition at line 135 of file dw_dslash_4D_cuda_gen.py.
Referenced by gen().

| def dw_dslash_4D_cuda_gen.in_im | ( | s, | |
| c | |||
| ) |
Definition at line 128 of file dw_dslash_4D_cuda_gen.py.
Referenced by def_input_spinor(), epilog(), gen(), gen_dw(), generate_pack(), input_spinor(), and prolog().

| def dw_dslash_4D_cuda_gen.in_re | ( | s, | |
| c | |||
| ) |
Definition at line 127 of file dw_dslash_4D_cuda_gen.py.
Referenced by def_input_spinor(), epilog(), gen(), gen_dw(), generate_pack(), input_spinor(), and prolog().

| def dw_dslash_4D_cuda_gen.indent | ( | code, | |
n = 1 |
|||
| ) |
code generation ########################################################################
Definition at line 107 of file dw_dslash_4D_cuda_gen.py.
Referenced by block(), gen(), pack_face(), and prolog().

| def dw_dslash_4D_cuda_gen.input_spinor | ( | s, | |
| c, | |||
| z | |||
| ) |
Definition at line 1000 of file dw_dslash_4D_cuda_gen.py.
References in_im(), in_re(), out_im(), and out_re().
Referenced by to_chiral_basis().


| def dw_dslash_4D_cuda_gen.nthFloat2 | ( | n | ) |
Definition at line 123 of file dw_dslash_4D_cuda_gen.py.
Referenced by def_clover(), def_gauge(), def_input_spinor(), xpay(), and ypax().

| def dw_dslash_4D_cuda_gen.nthFloat4 | ( | n | ) |
Definition at line 120 of file dw_dslash_4D_cuda_gen.py.
Referenced by def_clover(), def_gauge(), def_input_spinor(), xpay(), and ypax().

| def dw_dslash_4D_cuda_gen.out_im | ( | s, | |
| c | |||
| ) |
Definition at line 132 of file dw_dslash_4D_cuda_gen.py.
Referenced by clover_mult(), def_output_spinor(), epilog(), from_chiral_basis(), gen(), gen_dw(), input_spinor(), prolog(), to_chiral_basis(), xpay(), and ypax().

| def dw_dslash_4D_cuda_gen.out_re | ( | s, | |
| c | |||
| ) |
Definition at line 131 of file dw_dslash_4D_cuda_gen.py.
Referenced by clover_mult(), def_output_spinor(), epilog(), from_chiral_basis(), gen(), gen_dw(), input_spinor(), prolog(), to_chiral_basis(), xpay(), and ypax().

| def dw_dslash_4D_cuda_gen.pack_face | ( | facenum | ) |
Definition at line 1276 of file dw_dslash_4D_cuda_gen.py.
References block(), and indent().
Referenced by generate_pack().


| def dw_dslash_4D_cuda_gen.projectorToStr | ( | p | ) |
Definition at line 90 of file dw_dslash_4D_cuda_gen.py.
References complexToStr().
Referenced by gen().


| def dw_dslash_4D_cuda_gen.prolog | ( | ) |
Definition at line 296 of file dw_dslash_4D_cuda_gen.py.
References def_clover(), def_gauge(), def_input_spinor(), def_output_spinor(), in_im(), in_re(), indent(), out_im(), and out_re().
Referenced by generate_clover(), generate_dslash(), generate_dslash4D(), generate_dslash5D(), and generate_dslash5D_inv().


| def dw_dslash_4D_cuda_gen.sign | ( | x | ) |
Definition at line 114 of file dw_dslash_4D_cuda_gen.py.
Referenced by gen(), and gen_dw().

| def dw_dslash_4D_cuda_gen.tmp_im | ( | s, | |
| c | |||
| ) |
Definition at line 143 of file dw_dslash_4D_cuda_gen.py.
| def dw_dslash_4D_cuda_gen.tmp_re | ( | s, | |
| c | |||
| ) |
Definition at line 142 of file dw_dslash_4D_cuda_gen.py.
| def dw_dslash_4D_cuda_gen.to_chiral_basis | ( | c | ) |
Definition at line 1008 of file dw_dslash_4D_cuda_gen.py.
References a_im(), a_re(), block(), input_spinor(), out_im(), and out_re().
Referenced by apply_clover().


| def dw_dslash_4D_cuda_gen.xpay | ( | ) |
Definition at line 1131 of file dw_dslash_4D_cuda_gen.py.
References coeff(), nthFloat2(), nthFloat4(), out_im(), out_re(), and ypax().
Referenced by epilog().


| def dw_dslash_4D_cuda_gen.ypax | ( | ) |
Definition at line 1109 of file dw_dslash_4D_cuda_gen.py.
References nthFloat2(), nthFloat4(), out_im(), and out_re().
Referenced by xpay().


| bool dw_dslash_4D_cuda_gen.clover = False |
Definition at line 1358 of file dw_dslash_4D_cuda_gen.py.
| int dw_dslash_4D_cuda_gen.cloverSharedFloats = 0 |
Definition at line 1350 of file dw_dslash_4D_cuda_gen.py.
| bool dw_dslash_4D_cuda_gen.dagger = False |
Definition at line 1366 of file dw_dslash_4D_cuda_gen.py.
| bool dw_dslash_4D_cuda_gen.domain_wall = True |
Definition at line 1357 of file dw_dslash_4D_cuda_gen.py.
| bool dw_dslash_4D_cuda_gen.dslash = True |
Definition at line 1365 of file dw_dslash_4D_cuda_gen.py.
| bool dw_dslash_4D_cuda_gen.dslash4 = True |
Definition at line 1359 of file dw_dslash_4D_cuda_gen.py.
| bool dw_dslash_4D_cuda_gen.dslash5 = False |
Definition at line 1360 of file dw_dslash_4D_cuda_gen.py.
| bool dw_dslash_4D_cuda_gen.dslash5inv = False |
Definition at line 1361 of file dw_dslash_4D_cuda_gen.py.
| dw_dslash_4D_cuda_gen.f = open('dslash_core/dw_dslash4_core.h', 'w') |
Definition at line 1367 of file dw_dslash_4D_cuda_gen.py.
| def dw_dslash_4D_cuda_gen.gamma1 |
Definition at line 39 of file dw_dslash_4D_cuda_gen.py.
| def dw_dslash_4D_cuda_gen.gamma2 |
Definition at line 46 of file dw_dslash_4D_cuda_gen.py.
| def dw_dslash_4D_cuda_gen.gamma3 |
Definition at line 53 of file dw_dslash_4D_cuda_gen.py.
| def dw_dslash_4D_cuda_gen.gamma4 |
Definition at line 60 of file dw_dslash_4D_cuda_gen.py.
| def dw_dslash_4D_cuda_gen.id |
projector matrices ########################################################################
Definition at line 32 of file dw_dslash_4D_cuda_gen.py.
| def dw_dslash_4D_cuda_gen.igamma5 |
Definition at line 67 of file dw_dslash_4D_cuda_gen.py.
| bool dw_dslash_4D_cuda_gen.normalDWF = False |
Definition at line 1362 of file dw_dslash_4D_cuda_gen.py.
| list dw_dslash_4D_cuda_gen.projectors |
Definition at line 98 of file dw_dslash_4D_cuda_gen.py.
| dw_dslash_4D_cuda_gen.sharedFloats = 0 |
Definition at line 1349 of file dw_dslash_4D_cuda_gen.py.
Definition at line 74 of file dw_dslash_4D_cuda_gen.py.
1.8.14