Skip to main content

get_device

Function get_device 

Source
pub fn get_device() -> CudaRtResult<u32>
Expand description

Get the current device for this thread (mirrors cudaGetDevice).