diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2015-03-21 00:25:34 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2015-03-23 13:22:42 +0000 |
commit | 2b12b1752ae18c468cb01e94c78544ca5783dc44 (patch) | |
tree | cd1f743a55f7786d4c56e16a1772bf450693d574 /src/gallium | |
parent | 96f9cc9181403a93208cb44786c485ce44492eda (diff) | |
download | external_mesa3d-2b12b1752ae18c468cb01e94c78544ca5783dc44.zip external_mesa3d-2b12b1752ae18c468cb01e94c78544ca5783dc44.tar.gz external_mesa3d-2b12b1752ae18c468cb01e94c78544ca5783dc44.tar.bz2 |
clover: Add all the mandatory 1.1 extensions to the extension string
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/clover/api/device.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/api/device.cpp b/src/gallium/state_trackers/clover/api/device.cpp index 04f293d..43e7475 100644 --- a/src/gallium/state_trackers/clover/api/device.cpp +++ b/src/gallium/state_trackers/clover/api/device.cpp @@ -301,7 +301,13 @@ clGetDeviceInfo(cl_device_id d_dev, cl_device_info param, break; case CL_DEVICE_EXTENSIONS: - buf.as_string() = dev.has_doubles() ? "cl_khr_fp64" : ""; + buf.as_string() = + "cl_khr_global_int32_base_atomics" + " cl_khr_global_int32_extended_atomics" + " cl_khr_local_int32_base_atomics" + " cl_khr_local_int32_extended_atomics" + " cl_khr_byte_addressable_store" + + std::string(dev.has_doubles() ? " cl_khr_fp64" : ""); break; case CL_DEVICE_PLATFORM: |