diff options
author | Karol Herbst <[email protected]> | 2019-05-24 15:47:28 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-15 11:08:13 +0000 |
commit | 471fd41e84e1a19b970c86d8d8a23e1996cd7483 (patch) | |
tree | 9198f52e2afecdf2516319c9c92b02529d1dc724 /src | |
parent | 657ff3b3b816be96f61a363b4479abfe785678e1 (diff) |
clover: expose cl_arm_shared_virtual_memory for devices with SVM support
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2076>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/clover/core/device.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/core/device.cpp b/src/gallium/state_trackers/clover/core/device.cpp index 9a81ac61fae..609885c21bc 100644 --- a/src/gallium/state_trackers/clover/core/device.cpp +++ b/src/gallium/state_trackers/clover/core/device.cpp @@ -327,7 +327,8 @@ device::supported_extensions() const { + std::string(has_int64_atomics() ? " cl_khr_int64_base_atomics" : "") + std::string(has_int64_atomics() ? " cl_khr_int64_extended_atomics" : "") + std::string(has_doubles() ? " cl_khr_fp64" : "") - + std::string(has_halves() ? " cl_khr_fp16" : ""); + + std::string(has_halves() ? " cl_khr_fp16" : "") + + std::string(svm_support() ? " cl_arm_shared_virtual_memory" : ""); } const void * |