Rate this Page

Function torch::cuda::device_count#

Function Documentation#

c10::DeviceIndex torch::cuda::device_count()#

Returns the number of CUDA devices available.