summaryrefslogtreecommitdiff
path: root/src/cl_platform_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cl_platform_id.h')
-rw-r--r--src/cl_platform_id.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cl_platform_id.h b/src/cl_platform_id.h
index 6b70aeec..c7c716e0 100644
--- a/src/cl_platform_id.h
+++ b/src/cl_platform_id.h
@@ -61,9 +61,10 @@ extern cl_int cl_get_platform_info(cl_platform_id platform,
#define _STR(x) #x
#define _JOINT(x, y) _STR(x) "." _STR(y)
+#define _JOINT3(x, y, z) _STR(x) "." _STR(y) "." _STR(z)
-#define LIBCL_DRIVER_VERSION_STRING _JOINT(LIBCL_DRIVER_VERSION_MAJOR, LIBCL_DRIVER_VERSION_MINOR)
+#define LIBCL_DRIVER_VERSION_STRING _JOINT3(LIBCL_DRIVER_VERSION_MAJOR, LIBCL_DRIVER_VERSION_MINOR, LIBCL_DRIVER_VERSION_PATCH)
#define LIBCL_VERSION_STRING "OpenCL " _JOINT(LIBCL_C_VERSION_MAJOR, LIBCL_C_VERSION_MINOR) " beignet " LIBCL_DRIVER_VERSION_STRING
#define LIBCL_C_VERSION_STRING "OpenCL C " _JOINT(LIBCL_C_VERSION_MAJOR, LIBCL_C_VERSION_MINOR) " beignet " LIBCL_DRIVER_VERSION_STRING