[Issue]: ROCm include path not set #172
Labels
generic
Build error, or some other issue not caused by an LLVM bug
hipcc
Related to HIPCC
Under Investigation
Problem Description
Hi! I'm packaging ROCm for Arch Linux and having issues with ROCm include paths in recent releases of ROCm.
ROCm include paths in
/opt/rocm/include
are not passed tohipcc
in ROCm 6.2.x. The flag-I /opt/rocm/include
does appear in the output ofhipconfig
, see below. Functions likegetHipInclude()
andgetHipPath()
are called multiple times inhipBin_amd.h
but their return value is only used for output to stdout. For the nvidia wrapper inhipBin_nvidia.h
, the CUDA and ROCm paths are appended tohipCFlags
andhipCXXFlags
.Operating System
Arch Linux
CPU
AMD Ryzen 7 7840HS with Radeon 780M Graphics
GPU
AMD Radeon VII
ROCm Version
ROCm 6.2.0
ROCm Component
HIPCC
Steps to Reproduce
echo "#include <hip/hip_runtime.h>" | /opt/rocm/bin/hipcc -E -
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
The text was updated successfully, but these errors were encountered: