ppmd.modules.dsl_array_access module¶
Generate code to access arrays
-
class
ppmd.modules.dsl_array_access.
DSLArrayAccess
(sym, ctype, const, ncomp)¶ Bases:
object
-
kernel_arg
¶ symbol to call with
-
kernel_arg_decl
¶ argument decleration in kernel func
-
kernel_create_i_scatter
¶ scatter code post loop
-
kernel_create_j_arg
¶ gather code pre loop
-
-
class
ppmd.modules.dsl_array_access.
DSLGlobalArrayAccess
(sym, thread_sym, ctype, const, ncomp)¶ Bases:
object
-
kernel_arg
¶ symbol to call with
-
kernel_arg_decl
¶ argument decleration in kernel func
-
kernel_create_i_arg
¶ the gather
-
kernel_create_i_scatter
¶ scatter code post loop
-
kernel_create_j_arg
¶ gather code pre loop
-