Scroll to navigation

HIPCONFIG(1) User Commands HIPCONFIG(1)

NAME

hipconfig - HIP configuration information utility

SYNOPSIS

usage: hipconfig [OPTIONS]

DESCRIPTION

The hipconfig utility is used to query information about the HIP installation, such as the version, installation path, compiler, or target platform.

OPTIONS

: print HIP_PATH (use env var if set, else determine from hipconfig path)
: print ROCM_PATH (use env var if set, else determine from hip path or /opt/rocm)
: print C++ compiler options
: print compiler (clang or nvcc)
: print platform (amd or nvidia)
: print runtime (rocclr or cuda)

--hipclangpath, -l : print HIP_CLANG_PATH

: print full config
: print hip version
: check configuration
: print newline
: print help message

ENVIRONMENT

The $HIP_PLATFORM variable is used to explicitly specify the target platform for hipcc. Valid options are "amd" and "nvidia".
The $HIP_COMPILER variable is used to specify the target compiler for hipcc. Valid options are "clang" and "nvcc". This variable is usually set automatically based on the value of the $HIP_PLATFORM variable
The $HIP_RUNTIME variable is used to specify the target runtime for hipcc. Valid options are "rocclr" and "cuda". This variable is usually set automatically based on the value of the $HIP_PLATFORM variable
The $ROCM_PATH variable is used to specify the path to the AMD ROCm tools and libraries. This variable defaults to "/usr".
The $CUDA_PATH variable is used to specify the path to the CUDA tools and libraries. This variable defaults to "/usr/local/cuda".
The $HIP_PATH variable is used to specify the path to the base directory of the HIP runtime library. This variable is not typically used when building on Debian.
The $HIP_ROCCLR_HOME variable is used to specify the path to the base directory of the HIP runtime library. This variable is not typically used when building on Debian.
The $HIP_CLANG_PATH variable is used to specify the path to the base directory of the HIP clang compiler. This variable is not typically used when building on Debian.
May 2025 hipconfig 5.7.31921