Deprecation State
- 
Obsoleted by [cl_khr_il_program]extension- 
Which in turn was promoted to OpenCL 2.1 
 
- 
Description
cl_khr_ adds the ability to create an OpenCL program object from a
Standard Portable Intermediate Representation (SPIR) instance.
A SPIR instance is a vendor-neutral non-source representation for OpenCL C
programs.
See the SPIR Compilation Options for information on compiling SPIR binaries.
cl_khr_ has been superseded by the SPIR-V intermediate representation,
which is supported by the cl_khr_ extension, and is a core
feature in OpenCL 2.1.
New Enums
- 
cl_device_info - 
CL_DEVICE_SPIR_ VERSIONS 
 
- 
- 
cl_program_binary_ type - 
CL_PROGRAM_BINARY_ TYPE_ INTERMEDIATE 
 
- 
Document Notes
For more information, see the OpenCL Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.