Skip to main content
torch_cuda_device_count
test_
rocm_
ffi
0.5.0
test_rocm_ffi
Function
torch_
cuda_
device_
count
Copy item path
Source
pub(crate) unsafe extern "C" fn torch_cuda_device_count() ->
c_int