torch_sys::cuda

Function atc_cuda_device_count

source
pub unsafe extern "C" fn atc_cuda_device_count() -> c_int
Expand description

Returns the number of CUDA devices available.