amd/nv respect visible devs (#5409)

* nv/amd respect visible devices

* linter

* sort amd gpus

* env docs
This commit is contained in:
nimlgen
2024-07-12 20:02:12 +03:00
committed by GitHub
parent b18aa00bba
commit 6604d2b2c3
3 changed files with 20 additions and 10 deletions

View File

@@ -48,3 +48,4 @@ IMAGE | [1-2] | enable 2d specific optimizations
FLOAT16 | [1] | use float16 for images instead of float32
PTX | [1] | enable the specialized [PTX](https://docs.nvidia.com/cuda/parallel-thread-execution/) assembler for Nvidia GPUs. If not set, defaults to generic CUDA codegen backend.
PROFILE | [1] | enable output of [perfetto](https://ui.perfetto.dev/) compatible profile. This feature is supported in NV and AMD backends.
VISIBLE_DEVICES | [list[int]]| restricts the NV/AMD devices that are available. The format is a comma-separated list of identifiers (indexing starts with 0).