current_device

Function current_device 

Source
pub fn current_device() -> CudaResult<i32>
Expand description

Get current CUDA device ID