OpenCLLink`
OpenCLLink`

OpenCLFunctionInformation

OpenCLFunctionInformation[oclfun]

returns information on OpenCLFunction oclfun such as build log, build options, source code, etc.

更多信息和选项更多信息
  • The OpenCLLink application must be loaded using Needs["OpenCLLink`"].
  • 范例

    基本范例  (1)

    First, load the OpenCLLink application:

    In[1]:=
    Click for copyable input

    This loads a function from OpenCL source:

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

    This finds information about the function:

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

    This output for OpenCLFunctionInformation is a rule list, so the build log can be retrieved:

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

    This calls the function:

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

    参见

    OpenCLFunction  OpenCLFunctionLoad

    教程