[Mesa-dev] [PATCH 1/3] clover: Add a space at the end of CL_DEVICE_OPENCL_C_VERSION

Jan Vesely jan.vesely at rutgers.edu
Fri Mar 20 23:08:46 PDT 2015


On Sat, 2015-03-21 at 00:35 +0000, Tom Stellard wrote:
> This is required by the spec.
> ---
>  src/gallium/state_trackers/clover/api/device.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gallium/state_trackers/clover/api/device.cpp b/src/gallium/state_trackers/clover/api/device.cpp
> index 5d1f4ab..04f293d 100644
> --- a/src/gallium/state_trackers/clover/api/device.cpp
> +++ b/src/gallium/state_trackers/clover/api/device.cpp
> @@ -341,7 +341,7 @@ clGetDeviceInfo(cl_device_id d_dev, cl_device_info param,
>        break;
>  
>     case CL_DEVICE_OPENCL_C_VERSION:
> -      buf.as_string() = "OpenCL C 1.1";
> +      buf.as_string() = "OpenCL C 1.1 ";
>        break;
>  
>     case CL_DEVICE_PARENT_DEVICE:

I guess since we don't provide any vendor specific info, this is
correct.
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150321/ad81e238/attachment.sig>


More information about the mesa-dev mailing list