pystencils.codegen.config.OpenMpOptions#
- class pystencils.codegen.config.OpenMpOptions(enable=None, collapse=None, schedule=None, num_threads=None)#
Configuration options controlling automatic OpenMP instrumentation.
Methods
__init__([enable, collapse, schedule, ...])copy()Perform a semi-deep copy of this configuration object.
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)Attributes
Argument to the OpenMP
collapseclauseEnable OpenMP instrumentation
Set the number of OpenMP threads to execute the parallel region.
Argument to the OpenMP
scheduleclause- Parameters:
enable (BasicOption[bool])
collapse (BasicOption[int])
schedule (BasicOption[str])
num_threads (BasicOption[int])