KhronosGroup / KhronosGroup/OpenCL-Docs
cl_ext_image_raw10_raw12 and OpenCL 1.2 dependency
- Dominant language
- Python
- Stars
- 420
- Forks
- 131
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 11
Description
[cl_ext_image_raw10_raw12](https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_API.html#cl_ext_image_raw10_raw12) lists a dependency on OpenCL 1.2. Does this refer to the OpenCL device version, the OpenCL C version, or both?
Specifically, if my device is OpenCL 1.2 or later (as determined by `CL_DEVICE_VERSION`), and I compile an OpenCL program with `-cl-std=CL1.1`, is the extension supported?
This question was partially inspired by this draft CTS PR: https://github.com/KhronosGroup/OpenCL-CTS/pull/2376#issuecomment-3711642822
Same question applies to cl_ext_image_unorm_int_2_101010, cl_ext_image_unsigned_10x6_12x4_14x2, and some vendor extensions as well.
Contributor guide
Research direction
Start with the OpenCL API specification section for cl_ext_image_raw10_raw12 and compare its OpenCL 1.2 dependency wording with the related extensions named in the issue. Review the linked OpenCL-CTS pull request and the meanings of CL_DEVICE_VERSION and -cl-std=CL1.1. Done means providing an agreed specification clarification that resolves whether the dependency applies to the device version, OpenCL C version, or both.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100