diff options
Diffstat (limited to 'src/gallium/frontends/clover/api/device.cpp')
-rw-r--r-- | src/gallium/frontends/clover/api/device.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/frontends/clover/api/device.cpp b/src/gallium/frontends/clover/api/device.cpp index 80101359368..ed36ad51025 100644 --- a/src/gallium/frontends/clover/api/device.cpp +++ b/src/gallium/frontends/clover/api/device.cpp @@ -369,9 +369,7 @@ clGetDeviceInfo(cl_device_id d_dev, cl_device_info param, break; case CL_DEVICE_PRINTF_BUFFER_SIZE: - // Per the spec, the minimum value for the FULL profile is 1 MB. - // However, clover is not ready yet to support it - buf.as_scalar<size_t>() = 0 /* 1024 */; + buf.as_scalar<size_t>() = dev.max_printf_buffer_size(); break; case CL_DEVICE_PREFERRED_INTEROP_USER_SYNC: |