此为 Mathematica 8 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

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.
  • The device numbering is system configuration and driver version dependent.
First, load the CUDALink application:
This returns information on all CUDA devices detected on the system:
This returns information on the first device on the system:
This returns the name of the first device:
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]=
This finds the names of all cards on the system:
This finds all devices with double-precision support:
This finds all Fermi cards on the system:
Construct a table of information for all devices on the system: