CUDALink`
CUDALink`

$CUDADeviceCount

$CUDADeviceCount

gives the number of CUDA devices on the system.

Details and Options

Examples

Basic Examples  (1)

First, load the CUDALink application:

This gets the number of devices on the system:

Wolfram Research (2010), $CUDADeviceCount, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/$CUDADeviceCount.html.

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_2023_$cudadevicecount, author="Wolfram Research", title="{$CUDADeviceCount}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/$CUDADeviceCount.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_$cudadevicecount, organization={Wolfram Research}, title={$CUDADeviceCount}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/$CUDADeviceCount.html}, note=[Accessed: 19-March-2024 ]}