From: Zhigang Gong Date: Thu, 29 Aug 2013 02:47:34 +0000 (+0800) Subject: Runtime: vendor specified information is required for CL_DEVICE_VERSION/OPENCL_C_VERSION. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3248c47f791b53005c27ab6072896f254e74a154;p=contrib%2Fbeignet.git Runtime: vendor specified information is required for CL_DEVICE_VERSION/OPENCL_C_VERSION. Signed-off-by: Zhigang Gong Reviewed-by: "Song, Ruiling" --- diff --git a/src/cl_platform_id.h b/src/cl_platform_id.h index b8f7d61..6b70aee 100644 --- a/src/cl_platform_id.h +++ b/src/cl_platform_id.h @@ -62,9 +62,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 LIBCL_VERSION_STRING "OpenCL " _JOINT(LIBCL_C_VERSION_MAJOR, LIBCL_C_VERSION_MINOR) -#define LIBCL_C_VERSION_STRING "OpenCL C " _JOINT(LIBCL_C_VERSION_MAJOR, LIBCL_C_VERSION_MINOR) + #define LIBCL_DRIVER_VERSION_STRING _JOINT(LIBCL_DRIVER_VERSION_MAJOR, LIBCL_DRIVER_VERSION_MINOR) +#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 #endif /* __CL_PLATFORM_ID_H__ */