Module opencl3::program[][src]

Structs

An OpenCL program object.
Stores the names of the OpenCL kernels in the program. Implements the Drop trait to call release_program when the object is dropped.

Constants

Functions

Build (compile & link) a program executable.
Calls clBuildProgram to build an OpenCL program object.

Compile a program’s source for the devices the OpenCL context associated with the program.
Calls clCompileProgram to compile an OpenCL program object.

Create an OpenCL program object for a context and load binary bits into that object.
Calls clCreateProgramWithBinary to create an OpenCL program object.

Create an OpenCL program object for a context and loads the information related to the built-in kernels into that object.
Calls clCreateProgramWithBuiltInKernels to create an OpenCL program object.

Create an OpenCL program object for a context and load source code into that object.
Calls clCreateProgramWithSource to create an OpenCL program object.

Get data about an OpenCL program build. Calls clGetProgramBuildInfo to get the desired data about the program build.

Get specific information about an OpenCL program build.
Calls clGetProgramBuildInfo to get the desired information about the program build.

Get data about an OpenCL program. Calls clGetProgramInfo to get the desired data about the program.

Get specific information about an OpenCL program.
Calls clGetProgramInfo to get the desired information about the program.

Link a set of compiled program objects and libraries for the devices in the OpenCL context associated with the program.
Calls clLinkProgram to link an OpenCL program object.

Release an OpenCL program.
Calls clReleaseProgram to decrement the program reference count.

Retain an OpenCL program.
Calls clRetainProgram to increment the program reference count.

Release the resources allocated by the OpenCL compiler for platform.
Calls clUnloadPlatformCompiler.