-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider phasing out cl_gl_ext.h? #145
Comments
My vote goes to phasing out |
Confirming: Are the "two separate headers" Moving the contents from I think we could go a bit further and move the contents of both |
Yes. As you say we could look into folding |
Great, agreed. I'll create a PR to fold |
OpenCL headers 2021.04.29 moved `CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR` into a different header. (See issue referenced below for details.) See-also: KhronosGroup/OpenCL-Headers#145 See-also: https://bugs.gentoo.org/790164
…opencl-headers-2021.06.30 See-also: https://bugs.gentoo.org/790164 See-also: ROCm/ROCclr#25 See-also: KhronosGroup/OpenCL-Headers#145
I discovered this issue while working generated OpenCL headers for extensions (see #113).
We currently have a header file for OpenGL-related extensions: cl_gl.h.
We currently also have a header file that appears to be for extensions to these extensions (?): cl_gl_ext.h. This header file includes
cl_gl.h
and adds an enum and API forcl_khr_gl_event
.Is there a reason to keep
cl_khr_gl_event
separate, or should we phase outcl_gl_ext.h
and add this extension tocl_gl.h
instead? I think I have the generation scripts setup to generate a separate file if desired, but it'd be one fewer file to generate and it'd fix a weird inconsistency if we combined the two files.The text was updated successfully, but these errors were encountered: