We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2ba928 commit 6a92998Copy full SHA for 6a92998
sycl/include/CL/sycl/detail/pi.h
@@ -53,6 +53,8 @@
53
#define _PI_STRING_HELPER(a) #a
54
#define _PI_CONCAT(a, b) _PI_STRING_HELPER(a.b)
55
#define _PI_TRIPLE_CONCAT(a, b, c) _PI_STRING_HELPER(a.b.c)
56
+// This is the macro that plugins should all use to define their version
57
+#define _PI_PLUGIN_VERSION_STRING(PluginVersion) _PI_TRIPLE_CONCAT(_PI_H_VERSION_MAJOR, _PI_H_VERSION_MINOR, (PluginVersion))
58
59
#define _PI_H_VERSION_STRING \
60
_PI_CONCAT(_PI_H_VERSION_MAJOR, _PI_H_VERSION_MINOR)
0 commit comments