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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e17936bf84c286c3540fe559838bc2a4d975539;p=mesa.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 43e7475f439..bc93f91d0ec 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;