Ratification Status

Ratified

Extension and Version Dependencies

None

Deprecation State

  • Promoted to OpenCL 2.1

Other Extension Metadata

Last Modified Date

2020-04-21

IP Status

No known IP claims.

Description

cl_khr_il_program adds the ability to create programs with intermediate language (IL), usually SPIR-V. Further information about the format and contents of SPIR-V may be found in the SPIR-V Specification. Information about how SPIR-V modules behave in the OpenCL environment may be found in the OpenCL SPIR-V Environment Specification.

This functionality described by this extension is a core feature in OpenCL 2.1.

New Commands

  • clCreateProgramWithILKHR

New Enums

  • cl_device_info

    • CL_DEVICE_IL_VERSION_KHR

  • cl_platform_info

    • CL_PROGRAM_IL_KHR

Version History

  • Revision 1.0.0, 2020-04-21

    • First assigned version.

See Also

No cross-references are available

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.

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0