$CUDADeviceCount
gives the number of CUDA devices on the system.


$CUDADeviceCount
$CUDADeviceCount
gives the number of CUDA devices on the system.
Details and Options
- The CUDALink application must be loaded using Needs["CUDALink`"].
- $CUDADeviceCount is equivalent to Length[CUDAInformation[]].
See Also
Tech Notes
Related Guides
-
▪
- CUDALink
Text
Wolfram Research (2010), $CUDADeviceCount, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/$CUDADeviceCount.html.
CMS
Wolfram Language. 2010. "$CUDADeviceCount." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/$CUDADeviceCount.html.
APA
Wolfram Language. (2010). $CUDADeviceCount. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/$CUDADeviceCount.html
BibTeX
@misc{reference.wolfram_2025_$cudadevicecount, author="Wolfram Research", title="{$CUDADeviceCount}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/$CUDADeviceCount.html}", note=[Accessed: 13-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_$cudadevicecount, organization={Wolfram Research}, title={$CUDADeviceCount}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/$CUDADeviceCount.html}, note=[Accessed: 13-August-2025]}