[Beignet] [PATCH 1/2] Runtime: vendor specified information is required for CL_DEVICE_VERSION/OPENCL_C_VERSION.
Zhigang Gong
zhigang.gong at linux.intel.com
Sun Sep 1 20:28:43 PDT 2013
ping for comments.
On Thu, Aug 29, 2013 at 10:47:34AM +0800, Zhigang Gong wrote:
> Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>
> ---
> src/cl_platform_id.h | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> 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__ */
>
> --
> 1.7.9.5
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list