[−][src]Function af_cuda_interop::get_device_native_id
pub fn get_device_native_id(id: i32) -> i32
Get active device's id in CUDA context
Parameters
id
is the integer identifier of concerned CUDA device as per ArrayFire context
Return Values
Integer identifier of device in CUDA context