Skip to main content

run_split_min

Function run_split_min 

Source
pub fn run_split_min() -> u32
Expand description

The shortest class run worth a pipeline switch of its own, via FRUST_ENGINE_RUN_SPLIT_MIN=<n>; crate::gpu::strips::RUN_SPLIT_MIN when unset or unparsable. Cached: read once per process.

A diagnostic knob for re-measuring the threshold on a device (a build-time --define reaches it through option_env!); see crate::gpu::strips::split_class_runs for what it decides.