diff options
author | Tom Stellard <[email protected]> | 2015-03-21 00:44:47 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2015-03-23 13:22:42 +0000 |
commit | 6e17936bf84c286c3540fe559838bc2a4d975539 (patch) | |
tree | 380f1f16aa98147b32bf24db1db0e2bd9637f212 /src/gallium/state_trackers/clover/api | |
parent | 2b12b1752ae18c468cb01e94c78544ca5783dc44 (diff) |
clover: The unit for CL_DEVICE_MEM_BASE_ADDR_ALIGN is bits not bytes
Reviewed-by: Jan Vesely <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/api')
-rw-r--r-- | src/gallium/state_trackers/clover/api/device.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<cl_uint>() = 128 * 8; + break; + case CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE: buf.as_scalar<cl_uint>() = 128; break; |