|
SOLUTIONS
|
OPENCLLINK 符号
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["OpenCLLink`"].
- See "OpenCLLink Setup" if
returns with an error.
范例范例打开所有单元关闭所有单元
基本范例 (1)基本范例 (1)
First, load the OpenCLLink application:
| In[1]:= |
This returns information on the first OpenCL platform:
| In[2]:= |
| Out[2]= | ![]() |
This returns the extensions of the first OpenCL platform:
| In[3]:= |
| Out[3]= | ![]() |
This returns information on the first OpenCL platform and device:
| In[4]:= |
| Out[4]= | ![]() |
This returns the type of the first OpenCL platform and device:
| In[5]:= |
| Out[5]= |
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



