Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
CUDALink >

$CUDADeviceCount


gives the number of CUDA devices on the system.
  • The CUDALink application must be loaded using Needs.
First, load the CUDALink application:
This gets the number of devices on the system:
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]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF