mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-19 01:30:36 +02:00
docs: Add documentation for Rusticl's env variables
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19149>
This commit is contained in:
parent
feca63e37e
commit
cce02f0184
1 changed files with 17 additions and 0 deletions
|
|
@ -548,6 +548,23 @@ Clover environment variables
|
|||
appended after the options set by the OpenCL program in
|
||||
``clLinkProgram``.
|
||||
|
||||
Rusticl environment variables
|
||||
-----------------------------
|
||||
|
||||
:envvar:`RUSTICL_DEVICE_TYPE`
|
||||
allows to overwrite the device type of devices. Possible values are
|
||||
`accelerator`, `cpu`, `custom` and `gpu`
|
||||
:envvar:`RUSTICL_CL_VERSION`
|
||||
overwrites the auto detected OpenCL version of all devices. Specified as
|
||||
`major.minor`.
|
||||
:envvar:`RUSTICL_ENABLE`
|
||||
a comma-separated list of drivers to enable CL on. An optional list of
|
||||
comma-separated integers can be passed per driver to specify which devices
|
||||
to enable. Examples:
|
||||
|
||||
- `RUSTICL_ENABLE=iris` (enables all iris devices)
|
||||
- `RUSTICL_ENABLE=iris:1,radeonsi:0,2` (enables second iris and first
|
||||
and third radeonsi device)
|
||||
|
||||
Nine frontend environment variables
|
||||
-----------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue