From 471fd41e84e1a19b970c86d8d8a23e1996cd7483 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Fri, 24 May 2019 15:47:28 +0200 Subject: clover: expose cl_arm_shared_virtual_memory for devices with SVM support Signed-off-by: Karol Herbst Reviewed-by: Francisco Jerez Part-of: --- src/gallium/state_trackers/clover/core/device.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 * -- cgit v1.2.3