OpenCLFunctionInformation

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

DetailsDetails

  • The OpenCLLink application must be loaded using Needs["OpenCLLink`"].

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (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 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]=
New to Mathematica? Find your learning path »
Have a question? Ask support »