From: Karol Herbst Date: Fri, 24 May 2019 13:47:28 +0000 (+0200) Subject: clover: expose cl_arm_shared_virtual_memory for devices with SVM support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=471fd41e84e1a19b970c86d8d8a23e1996cd7483;p=mesa.git clover: expose cl_arm_shared_virtual_memory for devices with SVM support Signed-off-by: Karol Herbst Reviewed-by: Francisco Jerez Part-of: --- 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 *