OpenCLLink`
OpenCLLink`

OpenCLQ

OpenCLQ[]

returns True if the system has OpenCL support.

更多信息和选项更多信息
  • The OpenCLLink application must be loaded using Needs["OpenCLLink`"].
  • See OpenCLLink Setup if OpenCLQ returns False.
  • 范例

    基本范例  (1)

    The OpenCLLink application must first be loaded:

    In[1]:=
    Click for copyable input

    This signifies that OpenCLLink is supported on your system:

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

    This gets information on supported devices:

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

    参见

    OpenCLInformation  $OpenCLLinkPath  $OpenCLLinkLibraryPath

    教程