Commit dcf7d4f
Ewan Crawford
Introduce extension macros (#251)
* Introduce extension Macros
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.
* Fix CI issues
Clang format changes and other fixes1 parent c860bb5 commit dcf7d4f
6 files changed
Lines changed: 462 additions & 29 deletions
File tree
- CL
- scripts
- tests
- lang_cpp
- lang_c
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
| 115 | + | |
117 | 116 | | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
917 | | - | |
918 | | - | |
919 | 917 | | |
920 | 918 | | |
921 | 919 | | |
| |||
939 | 937 | | |
940 | 938 | | |
941 | 939 | | |
942 | | - | |
943 | | - | |
944 | 940 | | |
945 | 941 | | |
946 | 942 | | |
| |||
0 commit comments