Module cl3::program[][src]

Expand description

OpenCL Program Object API.

Enums

ProgramBuildInfo
ProgramInfo

Constants

CL_BUILD_ERROR
CL_BUILD_IN_PROGRESS
CL_BUILD_NONE
CL_BUILD_SUCCESS
CL_PROGRAM_BINARY_TYPE_COMPILED_OBJECT
CL_PROGRAM_BINARY_TYPE_EXECUTABLE
CL_PROGRAM_BINARY_TYPE_LIBRARY
CL_PROGRAM_BINARY_TYPE_NONE

Functions

build_program

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

clCreateProgramWithBuiltInKernels
clSetProgramReleaseCallback
clSetProgramSpecializationConstant
clUnloadPlatformCompiler
compile_program

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

create_program_with_binary

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

create_program_with_builtin_kernels

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_program_with_source

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

get_program_build_info

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

get_program_info

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

link_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_program

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

retain_program

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

unload_platform_compiler

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