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

OpenCLInformation


gives all information about OpenCL platforms and devices on the system.
OpenCLInformation[platform]
gives information on OpenCL platform and about its devices.

gives information on OpenCL platform property.

gives information on OpenCL device with specified platform.

gives information on OpenCL device property.
  • The OpenCLLink application must be loaded using Needs.
First, load the OpenCLLink application:
This returns information on the first OpenCL platform:
This returns the extensions of the first OpenCL platform:
This returns information on the first OpenCL platform and device:
This returns the type of the first OpenCL platform and device:
First, load the OpenCLLink application:
In[1]:=
Click for copyable input
This returns information on the first OpenCL platform:
In[2]:=
Click for copyable input
Out[2]=
This returns the extensions of the first OpenCL platform:
In[3]:=
Click for copyable input
Out[3]=
This returns information on the first OpenCL platform and device:
In[4]:=
Click for copyable input
Out[4]=
This returns the type of the first OpenCL platform and device:
In[5]:=
Click for copyable input
Out[5]=