Skip to main content

set_device_flags

Function set_device_flags 

Source
pub fn set_device_flags(flags: u32) -> Result<()>
Expand description

Set the process’s device-level scheduling/map flags. Typically called before the first CUDA call on the current thread — the flags bind when the primary context is created. Passes are flags from baracuda_cuda_sys::runtime::types::cudaDeviceScheduleFlags.