CUDAInformation


queries information on all CUDA devices detected.

CUDAInformation[dev]
queries information on CUDA dev.


queries prop on CUDA dev.

更多信息更多信息

  • The CUDALink application must be loaded using Needs["CUDALink`"].
  • The device numbering is system configuration and driver version dependent.

范例范例打开所有单元关闭所有单元

基本范例 (3)基本范例 (3)

First, load the CUDALink application:

In[1]:=
Click for copyable input

This returns information on all CUDA devices detected on the system:

In[2]:=
Click for copyable input
Out[2]=

This returns information on the first device on the system:

In[1]:=
Click for copyable input
Out[1]=

This returns the name of the first device:

In[1]:=
Click for copyable input
Out[1]=
New to Mathematica? Find your learning path »
Have a question? Ask support »