-
Notifications
You must be signed in to change notification settings - Fork 120
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
[XML] Version condition mismatch on CL_DEPTH
#917
Comments
Note, there is some additional background here: #284 and here: #458. (edit: fixed PR link) Also here: KhronosGroup/OpenCL-Headers#117 I think this problem really stems from the OpenCL headers and specifically cl.h, where we have: #ifdef CL_VERSION_1_2
#define CL_DEPTH 0x10BD
#define CL_DEPTH_STENCIL 0x10BE
#endif IMHO there are two bugs here:
We could fix this but there's a small chance it could break shipping code. For example, if an application was building for OpenCL 1.2, was including cl.h but not cl_ext.h (for Admittedly the chances of this happening seems small. Should we just fix this? Is the current behavior causing a problem or is it just confusing? |
You pasted the same issue link twice... I guess you meant associated PR?
It didn't cause any problems for me personally. |
Oops, thanks! Fixed.
Thank you, much appreciated. I'll add a comment to my previous OpenCL-Headers issue and we'll see if we can get this fixed... |
But above,
CL_DEPTH
is added as part of the:Is it supposed to be so?
The text was updated successfully, but these errors were encountered: