damast.core.engine

damast.core.engine#

Selection of the polars engine that executes damast pipelines - the GPU when available, otherwise the CPU streaming engine.

Functions

configure_engine_affinity()

Set the polars engine affinity: an explicit POLARS_ENGINE_AFFINITY is kept, otherwise gpu if gpu_available(), else streaming.

default_engine()

Engine to execute a whole pipeline with, following the configured engine affinity.

gpu_available()

Check whether the polars GPU engine can be used.