Install HIP#

HIP can be installed on AMD platforms using ROCm with HIP-Clang.

Prerequisites#

Refer to the Prerequisites section in the ROCm install guides:

Installation#

HIP is automatically installed during the ROCm installation. If you haven’t yet installed ROCm, you can find installation instructions here:

By default, HIP is installed into /opt/rocm.

Note

There is no autodetection for the HIP installation. If you choose to install it somewhere other than the default location, you must set the HIP_PATH environment variable as explained in Build HIP from source.

Verify your installation#

Run hipconfig in your installation path.

/opt/rocm/bin/hipconfig --full