clover: implement CL_DEVICE_SVM_CAPABILITIES
authorKarol Herbst <kherbst@redhat.com>
Mon, 21 May 2018 10:19:42 +0000 (12:19 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 15 Apr 2020 11:08:13 +0000 (11:08 +0000)
commit035e882819bcb853fff7a59c638a0ecbf89cb762
treeda81f869bbc65f8e00c1aa306cabecd81bc389bf
parentc170c0cfe4bd3c08385953e6e03f4403f5cfb5b9
clover: implement CL_DEVICE_SVM_CAPABILITIES

v2: without supporting userptrs SVM can't be implemented as it's impossible
    to ensure memory consistency with HOST_PTR buffers
v3: fix comment style
v4: fixes typo in comment

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Pierre Moreau <dev@pmoreau.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2076>
src/gallium/state_trackers/clover/api/device.cpp
src/gallium/state_trackers/clover/core/device.cpp
src/gallium/state_trackers/clover/core/device.hpp