pystencils.codegen.driver.get_driver#
- pystencils.codegen.driver.get_driver(cfg, *, retain_intermediates=False)#
Create a code generation driver object from the given configuration.
- Parameters:
cfg (
CreateKernelConfig
) – Configuration for the code generatorretain_intermediates (
bool
) – IfTrue
, instructs the driver to keep copies of the intermediate results of its stages for later inspection.
- Return type: