OS Manuals

/usr/bin/amdgpu-arch

C language family frontend for LLVM 23

From clang-23 23.1.5-r0 (os), captured 2026-11-05 by running amdgpu-arch --help (exit 0). permalink

Also provided by 7 other package versions
OVERVIEW: A tool to detect the presence of offloading devices on the system.

The tool will output each detected GPU architecture separated by a
newline character. If multiple GPUs of the same architecture are found
a string will be printed for each

USAGE: amdgpu-arch [options]

OPTIONS:

Generic Options:

  --help                    - Display available options (--help-hidden for more)
  --help-list               - Display list of available options (--help-list-hidden for more)
  --version                 - Display the version of this program

amdgpu-arch (HIP) options:

  --hip-api-version=<value> - Select HIP API version for device properties
    =auto                   -   Auto-detect (R0600 -> R0000 -> unversioned)
    =r0600                  -   Force R0600 API
    =r0000                  -   Force R0000 API
    =unversioned            -   Force unversioned API

offload-arch options:

  --only=<value>            - Restrict to vendor:
    =all                    -   Print all GPUs (default)
    =amdgpu                 -   Only print AMD GPUs
    =nvptx                  -   Only print NVIDIA GPUs
    =intel                  -   Only print Intel GPUs
  --verbose                 - Enable verbose output
Options (5)
OptionDescriptionSource
--help- Display available options (--help-hidden for more)help
--help-list- Display list of available options (--help-list-hidden for more)help
--version- Display the version of this programhelp
--only value- Restrict to vendor: =all - Print all GPUs (default) =amdgpu - Only print AMD GPUs =nvptx - Only print NVIDIA GPUs =intel - Only print Intel GPUshelp
--verbose- Enable verbose outputhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.