Skip to main content

gpu_allowed

Function gpu_allowed 

Source
pub fn gpu_allowed() -> bool
Expand description

Device paths are off under CMF_GPU=0 or CMF_ZIMAGE_GPU=0 (the CPU-exact reference run). The Z-Image device path may run (CMF_ZIMAGE_GPU=0 / CMF_GPU=0 off).