Skip to content

Commit

Permalink
Introduce extension Macros
Browse files Browse the repository at this point in the history
Implement idea from #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 e6597c3
Show file tree
Hide file tree
Showing 2 changed files with 256 additions and 0 deletions.
Loading

0 comments on commit e6597c3

Please sign in to comment.