CUDALink`
CUDALink`

CUDAInformation

CUDAInformation[]

queries information on all CUDA devices detected.

CUDAInformation[dev]

queries information on CUDA dev.

CUDAInformation[dev,prop]

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)

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]=

Applications  (3)

Neat Examples  (1)

参见

CUDAQ  CUDADriverVersion  CUDACCompilers  $CUDADeviceCount

教程