ppmd.modules.dsl_struct_comp module¶
Create the C++ classes to access A.i[k] where A.i[k+1] is adjacent in memory to A.i[k] using structs not classes
-
class
ppmd.modules.dsl_struct_comp.
DSLStructComp
(sym, i_gather_sym, j_gather_sym, ctype, const, ncomp, i_index, j_index, stride=None)¶ Bases:
object
-
header
¶ Returns the class definitions.
-
kernel_arg_decl
¶ Returns the parameter decleration for the kernel
-
kernel_create_arg
¶ Returns the construction of the argument to call the kernel
-