clover: add support for opencl C features
authorDave Airlie <airlied@redhat.com>
Tue, 10 Nov 2020 05:08:46 +0000 (15:08 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Nov 2020 20:30:26 +0000 (06:30 +1000)
commit3a512c34d2fb933a51cd22613833b456c402755b
treef3c5c276c1f71a99dcc8f2cb1ff95451a11f85f4
parentf1b91177fbdc97289e9ddefa8db4b18fdc88f8f0
clover: add support for opencl C features

This adds support to the compiler and api for this CL 3.0 feature.

fixes CTS compiler features_macro

Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7520>
src/gallium/frontends/clover/api/device.cpp
src/gallium/frontends/clover/core/device.cpp
src/gallium/frontends/clover/core/device.hpp
src/gallium/frontends/clover/llvm/invocation.cpp