Ratification Status

Not ratified

Extension and Version Dependencies

Other Extension Metadata

Last Modified Date

2024-11-06

IP Status

No known IP claims.

Contributors
  • Kevin Petit, Arm Ltd.

  • Ahmed Hesham, Arm Ltd.

  • Michael Rizkalla, Arm Ltd.

Interactions
  • This extension interacts with cl_khr_egl_image.

Description

cl_ext_immutable_memory_objects provides a mechanism to create memory objects that cannot be modified by the implementation after creation. This, for example, enables implementation to support image formats for which no write operations can be supported.

New Enums

  • cl_mem_flags

    • CL_MEM_IMMUTABLE_EXT

Issues

1) Can CL_MEM_READ_ONLY be used instead of CL_MEM_IMMUTABLE_EXT?

RESOLVED: No. Memory objects created with CL_MEM_READ_ONLY can be modified by copy or fill commands and this behaviour cannot be changed without breaking backwards compatibility.

Version History

  • Revision 1.0.0, 2024-11-06

    • Initial 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