Skip to main content

set_device

Function set_device 

Source
pub fn set_device(ordinal: u32) -> CudaRtResult<()>
Expand description

Set the current device for this thread (mirrors cudaSetDevice).