Mesa (master): clover: Add a space at the end of CL_DEVICE_OPENCL_C_VERSION

Tom Stellard tstellar at kemper.freedesktop.org
Mon Mar 23 14:33:08 UTC 2015


Module: Mesa
Branch: master
Commit: 96f9cc9181403a93208cb44786c485ce44492eda
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96f9cc9181403a93208cb44786c485ce44492eda

Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Fri Mar 20 23:55:58 2015 +0000

clover: Add a space at the end of CL_DEVICE_OPENCL_C_VERSION

This is required by the spec.

Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>

---

 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:




More information about the mesa-commit mailing list