torch_sys::cuda

Function atc_cuda_is_available

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

Returns true if at least one CUDA device is available.