KhronosGroup / KhronosGroup/OpenCL-Headers
Extension Error Codes in cl.h
- Dominant language
- C
- Stars
- 766
- Forks
- 273
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 3
Description
cl.h currently includes error codes for:
* `CL_INVALID_GL_OBJECT`
* `CL_INVALID_MIP_LEVEL`
These error codes are defined by extensions though, and are not in the core API specification.
Questions are:
* Should they be in cl_ext.h instead?
* Should they have a KHR suffix?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing the declarations in cl.h with the extension definitions expected in cl_ext.h and consult the OpenCL API specification for CL_INVALID_GL_OBJECT and CL_INVALID_MIP_LEVEL. Resolve whether these codes belong in the extension header and whether a KHR suffix is required; completion depends on reaching that specification-based decision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- api
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100