HIPCONFIG(1)
π HIPCONFIG(1) β hipconfig π
okay bestie, sit down, we're doing the HIP configuration information utility, and honestly? it's giving β¨*utility*β¨ in the best way. manual section 1, user commands, the whole vibe.
πΈ NAME πΈ
hipconfig β the HIP configuration information utility. that's it. that's the girl. she answers questions about your HIP setup and she does NOT gatekeep. π«Ά
β¨ SYNOPSIS β¨
usage: hipconfig [OPTIONS]
that's the whole thing. no arguments, no drama, just options. periodt. π
π DESCRIPTION π
so the hipconfig utility is your little bestie for querying information about your HIP installation. you wanna know the version? the installation path? which compiler? which target platform? she knows. she always knows. πββοΈ
ngl it's literally the "hey girl what's going on with my HIP install" tool and we're obsessed. πΈ
π¦ OPTIONS π¦
every single one of these matters, so here they all are, no skipping, no "oh you'll figure it out":
--path,-pβ printsHIP_PATH. if the env var is set, she uses it; otherwise she figures it out from thehipconfigpath. resourceful queen. π--rocmpath,-Rβ printsROCM_PATH. env var set? use it. not set? she determines it from the hip path or falls back to/opt/rocm. she's got options, lowkey. π--cpp_config,-Cβ prints the C++ compiler options. the receipts, basically. π§Ύ--compiler,-cβ prints the compiler. that'sclangornvcc, bestie. pick your fighter. βοΈ--platform,-Pβ prints the platform.amdornvidia. the eternal question. π--runtime,-rβ prints the runtime.rocclrorcuda. the sequel nobody asked for but we love anyway. π₯--hipclangpath,-lβ printsHIP_CLANG_PATH. say that five times fast, i dare you. π--full,-fβ prints the full config. the whole meal. the entire buffet. no crumbs left. π--version,-vβ prints the hip version. useful for bug reports and for flexing. π--checkβ checks the configuration. like a vibe check but for your install. β--newline,-nβ prints a newline. that's it. that's the job. tiny but mighty. π--help,-hβ prints the help message. when in doubt, ask for help, and that's on self-care. π«Ά
π ENVIRONMENT π
here's where the plot thickens β all the env vars that shape what hipconfig tells you:
π HIP_PLATFORM
the $HIP_PLATFORM variable is used to explicitly specify the target platform for hipcc. valid options are "amd" and "nvidia". π
π HIP_COMPILER
the $HIP_COMPILER variable specifies the target compiler for hipcc. valid options are "clang" and "nvcc". and btw? this one is usually set automatically based on whatever $HIP_PLATFORM is doing. she's a follower, but in a cute way. π¦
π HIP_RUNTIME
the $HIP_RUNTIME variable specifies the target runtime for hipcc. valid options are "rocclr" and "cuda". same deal β this variable is usually set automatically based on the value of $HIP_PLATFORM. β¨
π ROCM_PATH
the $ROCM_PATH variable specifies the path to the AMD ROCm tools and libraries. this one defaults to "/usr". noted. π
π CUDA_PATH
the $CUDA_PATH variable specifies the path to the CUDA tools and libraries. this one defaults to "/usr/local/cuda". iconic path, no notes. πΈ
π HIP_PATH
the $HIP_PATH variable specifies the path to the base directory of the HIP runtime library. and here's the caveat bestie β this variable is not typically used when building on Debian. so if you're on Debian, don't come for her. π
π HIP_ROCCLR_HOME
the $HIP_ROCCLR_HOME variable specifies the path to the base directory of the HIP runtime library. same energy as above: not typically used when building on Debian. π«Ά
π HIP_CLANG_PATH
the $HIP_CLANG_PATH variable specifies the path to the base directory of the HIP clang compiler. and yeah, you guessed it β not typically used when building on Debian. the Debian girlies are just built different, iykyk. π
π reminder: env vars are the main characters here, they're literally deciding what gets printed. so if something looks weird, check your environment first, bestie. not me learning that the hard way π
and that's the whole page, no cap. this was hipconfig version 7.0.1, dated October 2025, living in manual section 1. mwah, go configure something gorgeous. π
β¨ππ¦
π¦ where this page comes from
- ubuntu resolute: hipcc 7.1.1+dfsg-0ubuntu1 Β· MIT
- ubuntu resolute: hipcc-rocm 7.1.0+dfsg-0ubuntu1 Β· Apache-2.0 WITH LLVM exception
- ubuntu stonking: hipcc 7.2.4+dfsg-1~exp1 Β· MIT
- ubuntu stonking: hipcc-rocm 10.0+dfsg-0ubuntu1 Β· Apache-2.0 WITH LLVM exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms