Skip to content

Commit

Permalink
Fix conditions for CL_UNORM_INT24 availability
Browse files Browse the repository at this point in the history
Closes gh-705
  • Loading branch information
inducer committed Oct 18, 2023
1 parent 166d3f9 commit 21f336f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wrap_constants.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ void pyopencl_expose_constants(py::module_ &m)
ADD_ATTR( , UNSIGNED_INT32);
ADD_ATTR( , HALF_FLOAT);
ADD_ATTR( , FLOAT);
#if PYOPENCL_CL_VERSION >= 0x1020
#if PYOPENCL_CL_VERSION >= 0x1020 && defined(cl_khr_gl_sharing)
ADD_ATTR( , UNORM_INT24);
#endif
#if PYOPENCL_CL_VERSION >= 0x2010
Expand Down

0 comments on commit 21f336f

Please sign in to comment.