[Mesa-dev] [PATCH] clover: Allow OpenCL version override

Vedran Miletić vedran at miletic.net
Thu Oct 6 14:46:17 UTC 2016


On 10/06/2016 04:26 PM, Vedran Miletić wrote:
> CLOVER_CL_VERSION_OVERRIDE allows overriding default OpenCL version
> supported by Clover, analogous to MESA_GL_VERSION_OVERRIDE for OpenGL.
> CLOVER_CL_C_VERSION_OVERRIDE allows overridng default OpenCL C version.
> ---
>  docs/envvars.html                                     | 12 ++++++++++++
>  src/gallium/state_trackers/clover/api/device.cpp      |  4 ++--
>  src/gallium/state_trackers/clover/api/platform.cpp    |  4 ++--
>  src/gallium/state_trackers/clover/core/device.cpp     | 19 +++++++++++++++++++
>  src/gallium/state_trackers/clover/core/device.hpp     |  4 ++++
>  src/gallium/state_trackers/clover/core/platform.cpp   |  9 +++++++++
>  src/gallium/state_trackers/clover/core/platform.hpp   |  3 +++
>  src/gallium/state_trackers/clover/core/program.cpp    |  4 +++-
>  src/gallium/state_trackers/clover/llvm/invocation.cpp | 18 ++++++++++++++----
>  src/gallium/state_trackers/clover/llvm/invocation.hpp |  1 +
>  src/gallium/state_trackers/clover/llvm/util.hpp       |  4 ++--
>  11 files changed, 71 insertions(+), 11 deletions(-)
> 

This will conflict with [1] due to both modifying tokenize in an
incompatible way. I would prefer if we can merge [1] first, then I will
rebase this one.

Regards,
Vedran

[1]
https://lists.freedesktop.org/archives/mesa-dev/2016-September/130001.html

-- 
Vedran Miletić
vedran.miletic.net


More information about the mesa-dev mailing list