pystencils.jit.cpu.default_module_builder.DefaultExtensionModuleBuilder#
- class pystencils.jit.cpu.default_module_builder.DefaultExtensionModuleBuilder(compiler_info)#
- Parameters:
compiler_info (CompilerInfo)
- class ParamExtraction(argstruct_members=<factory>, kernel_kwarg_refs=<factory>, array_proxy_defs=<factory>, extract_kernel_args=<factory>, precondition_checks=<factory>, kernel_invocation_args=<factory>)#
- static include_dirs()#
List of directories that must be on the include path when compiling generated extension modules.
The Python runtime include directory and the pystencils include directory need not be listed here.
- render_module(kernel, module_name)#
Produce the extension module code for the given kernel.
- get_wrapper(kernel, extension_module)#
Produce the invocation wrapper for the given kernel and its compiled extension module.
- Return type:
- Parameters:
kernel (Kernel)
extension_module (ModuleType)