Table of Contents
The AMDGPU graphics stack offers the following scripts to help you install a coherent set of stack components:
Each of these scripts support the same set of arguments that are explained in the following sections of this page.
Note
The amdgpu-install script does the following:
Simplifies the installation of the AMDGPU graphics and compute stack by encapsulating the distribution specific package installation logic and by using command line options that allow to specify the:
- Variant of the AMDGPU stack to be installed (All-Open or Pro)
- Combination of components (in case of the Pro stack)
Performs post-install checks to verify whether the installation was performed successfully.
Installs the uninstallation script to allow you to remove the whole AMDGPU stack from the system by using a single command.
The script is packaged into the AMDGPU-Pro tar archive.
Once you have downloaded and extracted the AMDGPU-Pro tar archive, access the directory where you extracted it. Invoke the script as ./amdgpu-install.
Note
Use of the -y option is recommended to avoid prompts from the package manager.
There are two OpenCL implementations available:
You can either install one or both implementations.
OpenCL is installed using the --opencl option, as follows:
Option | Description |
--opencl=pal | Installs PAL OpenCL. |
--opencl=legacy | Installs legacy OpenCL. |
--opencl=pal,legacy | Installs both PAL and legacy OpenCL. |
Applicable examples on this page demonstrate installation of both OpenCL implementations.
Executing the script with -h or --help argument provides the help or usage output.
$ ./amdgpu-install -h
Using the argument -y informs the package management system to assume the answer yes for any interactive question. This option allows the install script to embed itself inside other automated scripts.
Example:
$ ./amdgpu-install -y
More advanced functionality can be obtained by providing the installation script with arguments to pass through to the package management software of the distribution you are using.