Structs§
- Program
- 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§
- BUILD_
OPTION_ SPIR_ STD_ 1_ 2 - BUILD_
OPTION_ X_ SPIR - CL_
BUILD_ ERROR - CL_
BUILD_ IN_ PROGRESS - CL_
BUILD_ NONE - CL_
BUILD_ SUCCESS - CL_
DENORMS_ ARE_ ZERO - CL_
FALSE - CL_
FAST_ RELAXED_ MATH - CL_
FINITE_ MATH_ ONLY - CL_
FP_ CORRECTLY_ ROUNDED_ DIVIDE_ SQRT - CL_
INVALID_ VALUE - CL_
KERNEL_ ARG_ INFO - This option allows the compiler to store information about the arguments of kernels in the program executable.
- CL_
MAD_ ENABLE - CL_
NO_ SIGNED_ ZEROS - CL_
NO_ SUBGROUP_ INFO - CL_
OPT_ DISABLE - CL_
PROGRAM_ BINARIES - CL_
PROGRAM_ BINARY_ SIZES - CL_
PROGRAM_ BINARY_ TYPE - CL_
PROGRAM_ BINARY_ TYPE_ COMPILED_ OBJECT - CL_
PROGRAM_ BINARY_ TYPE_ EXECUTABLE - CL_
PROGRAM_ BINARY_ TYPE_ LIBRARY - CL_
PROGRAM_ BINARY_ TYPE_ NONE - CL_
PROGRAM_ BUILD_ GLOBAL_ VARIABLE_ TOTAL_ SIZE - CL_
PROGRAM_ BUILD_ LOG - CL_
PROGRAM_ BUILD_ OPTIONS - CL_
PROGRAM_ BUILD_ STATUS - CL_
PROGRAM_ CONTEXT - CL_
PROGRAM_ DEVICES - CL_
PROGRAM_ IL - CL_
PROGRAM_ KERNEL_ NAMES - CL_
PROGRAM_ NUM_ DEVICES - CL_
PROGRAM_ NUM_ KERNELS - CL_
PROGRAM_ REFERENCE_ COUNT - CL_
PROGRAM_ SCOPE_ GLOBAL_ CTORS_ PRESENT - CL_
PROGRAM_ SCOPE_ GLOBAL_ DTORS_ PRESENT - CL_
PROGRAM_ SOURCE - CL_
SINGLE_ RECISION_ CONSTANT - CL_
STD_ 2_ 0 - Applications are required to specify the -cl-std=CL2.0 build option to compile or build programs with OpenCL C 2.0.
- CL_
STD_ 3_ 0 - Applications are required to specify the -cl-std=CL3.0 build option to compile or build programs with OpenCL C 3.0.
- CL_
STRICT_ ALIASING - CL_
SUCCESS - CL_TRUE
- CL_
UNIFORM_ WORK_ GROUP_ SIZE - CL_
UNSAFE_ MATH_ OPTIMIZATIONS - CREATE_
LIBRARY - DEBUG_
OPTION - ENABLE_
LINK_ OPTIONS
Functions§
- build_
program - Build (compile & link) a program executable.
Calls
clBuildProgram
to build anOpenCL
program object. - compile_
program - Compile a program’s source for the devices the
OpenCL
context associated with the program. Calls clCompileProgram to compile anOpenCL
program object. - create_
program_ ⚠with_ binary - Create an
OpenCL
program object for a context and load binary bits into that object. CallsclCreateProgramWithBinary
to create anOpenCL
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. - create_
program_ with_ il - Create an
OpenCL
program object for a context and load code in an intermediate language into that object. CallsclCreateProgramWithIL
to create anOpenCL
program object.CL_VERSION_2_1
- create_
program_ with_ source - Create an
OpenCL
program object for a context and load source code into that object. CallsclCreateProgramWithSource
to create anOpenCL
program object. - get_
program_ build_ data - Get data about an
OpenCL
program build. Calls clGetProgramBuildInfo to get the desired data about the program build. - 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_ data - Get data about an
OpenCL
program. Calls clGetProgramInfo to get the desired data about the program. - 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 anOpenCL
program object. - release_
program ⚠ - Release an
OpenCL
program. CallsclReleaseProgram
to decrement the program reference count. - retain_
program ⚠ - Retain an
OpenCL
program. CallsclRetainProgram
to increment the program reference count. - set_
program_ ⚠specialization_ constant - Set the value of a specialization constant.
Calls
clSetProgramSpecializationConstant
.CL_VERSION_2_2
- unload_
platform_ ⚠compiler - Release the resources allocated by the
OpenCL
compiler for platform. Calls clUnloadPlatformCompiler.