Skip to content

Commit

Permalink
Introduce extension Macros
Browse files Browse the repository at this point in the history
Implement idea from KhronosGroup#248
to add an version macro to the extension headers so that
users can guard application code using the macro to ensure the correct
APIs are being used.

Extensions can then increment the version when they change the APIs
without breaking user code.

See
[CL_MAKE_VERSION](https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_API.html#CL_MAKE_VERSION)
for how the macro version is defined.
  • Loading branch information
EwanC committed May 8, 2024
1 parent 8275634 commit f442d65
Show file tree
Hide file tree
Showing 5 changed files with 435 additions and 1 deletion.
Loading

0 comments on commit f442d65

Please sign in to comment.