forked from KhronosGroup/OpenCL-Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add specification for cl_ext_immutable_memory_objects
Fixes KhronosGroup#1110 Change-Id: I120f66ad20f977c251b77cc42a32021cb407518e Signed-off-by: Kevin Petit <[email protected]>
- Loading branch information
Showing
4 changed files
with
225 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright 2024 The Khronos Group Inc. | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
include::{generated}/meta/{refprefix}cl_ext_immutable_memory_objects.txt[] | ||
|
||
=== 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_EXT}. | ||
|
||
=== Description | ||
|
||
{cl_ext_immutable_memory_objects_EXT} 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_TYPE} | ||
** {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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.