From: Tom Stellard Date: Sat, 21 Mar 2015 00:44:47 +0000 (+0000) Subject: clover: The unit for CL_DEVICE_MEM_BASE_ADDR_ALIGN is bits not bytes X-Git-Tag: upstream/17.1.0~19856 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e17936bf84c286c3540fe559838bc2a4d975539;p=platform%2Fupstream%2Fmesa.git clover: The unit for CL_DEVICE_MEM_BASE_ADDR_ALIGN is bits not bytes Reviewed-by: Jan Vesely Reviewed-by: Francisco Jerez --- diff --git a/src/gallium/state_trackers/clover/api/device.cpp b/src/gallium/state_trackers/clover/api/device.cpp index 43e7475..bc93f91 100644 --- a/src/gallium/state_trackers/clover/api/device.cpp +++ b/src/gallium/state_trackers/clover/api/device.cpp @@ -196,6 +196,9 @@ clGetDeviceInfo(cl_device_id d_dev, cl_device_info param, break; case CL_DEVICE_MEM_BASE_ADDR_ALIGN: + buf.as_scalar() = 128 * 8; + break; + case CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE: buf.as_scalar() = 128; break;