clover: Add a space at the end of CL_DEVICE_OPENCL_C_VERSION
authorTom Stellard <thomas.stellard@amd.com>
Fri, 20 Mar 2015 23:55:58 +0000 (23:55 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 23 Mar 2015 13:22:42 +0000 (13:22 +0000)
This is required by the spec.

Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/api/device.cpp

index 5d1f4ab4c9dddbb0a625444b13d74600198cb6c0..04f293d592af8b37e31198db983838b3168b5746 100644 (file)
@@ -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: