$CUDADeviceCount
This feature is not supported on the Wolfram Cloud.

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

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

First, load the CUDALink application:

In[1]:=
Click for copyable input

This gets the number of devices on the system:

In[2]:=
Click for copyable input
Out[2]=
Translate this page: