From 00aa8816a1a9f501515a40d63c7d0b4c4dda3e31 Mon Sep 17 00:00:00 2001 From: lorn10 Date: Thu, 2 Mar 2023 11:51:27 +0000 Subject: [PATCH] docs: Update Clover's env variable documentation Fixes: 981bc603b46c ("clover: implement CLOVER_DEVICE_TYPE like RUSTICL_DEVICE_TYPE") Signed-off-by: David Heidelberg Part-of: --- docs/envvars.rst | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/docs/envvars.rst b/docs/envvars.rst index 935bc7d9414..01f72fae90e 100644 --- a/docs/envvars.rst +++ b/docs/envvars.rst @@ -947,6 +947,33 @@ Gallium environment variables Clover environment variables ---------------------------- +.. envvar:: CLOVER_DEVICE_TYPE + + allows to overwrite the device type of devices. Possible values are + ``accelerator``, ``cpu``, ``custom`` and ``gpu`` + +.. envvar:: CLOVER_DEVICE_VERSION_OVERRIDE + + overwrites the auto detected OpenCL version of a device. Possible values: + ``1.0`` + ``1.1`` + ``1.2`` + ``2.0`` + ``2.1`` + ``2.2`` + ``3.0`` + +.. envvar:: CLOVER_DEVICE_CLC_VERSION_OVERRIDE + + overwrites the auto detected CLC version. Possible values: + ``1.0`` + ``1.1`` + ``1.2`` + ``2.0`` + ``2.1`` + ``2.2`` + ``3.0`` + .. envvar:: CLOVER_EXTRA_BUILD_OPTIONS allows specifying additional compiler and linker options. Specified @@ -967,6 +994,11 @@ Clover environment variables .. _rusticl-env-var: +.. envvar:: IRIS_ENABLE_CLOVER + + allows to enable experimental Clover NIR support with the iris driver if + set to 1 or true. + Rusticl environment variables -----------------------------