Skip to main content

gpu_mode

Function gpu_mode 

Source
pub fn gpu_mode() -> GpuMode
Expand description

Read the process-wide GPU residency mode. Defaults to GpuMode::Auto without claiming the slot, mirroring global_policy so an incidental read never locks the mode against a later explicit set_gpu_mode.