pub fn set_device(ordinal: u32) -> CudaRtResult<()>Expand description
Set the current device for this thread (mirrors cudaSetDevice).
pub fn set_device(ordinal: u32) -> CudaRtResult<()>Set the current device for this thread (mirrors cudaSetDevice).