pub fn get_device() -> CudaRtResult<u32>
Get the current device for this thread (mirrors cudaGetDevice).
cudaGetDevice