pystencils.codegen.config.CreateKernelConfig#
- class pystencils.codegen.config.CreateKernelConfig(target=None, jit=None, function_name=None, ghost_layers=None, iteration_slice=None, index_field=None, index_dtype=None, default_dtype=None, allow_double_writes=None, skip_independence_check=None, cpu=None, gpu=None, sycl=None, data_type=None, cpu_openmp=None, cpu_vectorize_info=None, gpu_indexing=None, gpu_indexing_params=None)#
Options for create_kernel.
Methods
__init__([target, jit, function_name, ...])copy()Perform a semi-deep copy of this configuration object.
get_jit()Returns either the user-specified JIT compiler, or infers one from the target if none is given.
get_option(name)Get the value set for the specified option, or the option's default value if none has been set.
is_option_set(name)override(other)validate_default_dtype(spec)validate_index_field(idx_field)validate_index_type(spec)Attributes
If True, don't check if every field is only written at a single location.
Options for CPU kernels.
Deprecated; use
cpu.openmpinstead.Deprecated; use
cpu.vectorizeinstead.Deprecated; use
default_dtypeinsteadDefault numeric data type.
Name of the generated function
Specifies the number of ghost layers of the iteration region.
Options for GPU Kernels.
Deprecated; use
gpu.indexing_schemeinstead.Deprecated; set options in the
gpucategory instead.Data type used for all index calculations.
Index field for a sparse kernel.
Specifies the kernel's iteration slice.
Just-in-time compiler used to compile and load the kernel for invocation from the current Python environment.
By default the assignment list is checked for read/write independence.
Options for SYCL kernels.
The code generation target.