mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
clover: The unit for CL_DEVICE_MEM_BASE_ADDR_ALIGN is bits not bytes
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
2b12b1752a
commit
6e17936bf8
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue