You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 to hipcc in ROCm 6.2.x. The flag -I /opt/rocm/include does appear in the output of hipconfig, see below. Functions like getHipInclude() and getHipPath() are called multiple times in hipBin_amd.h but their return value is only used for output to stdout. For the nvidia wrapper in hipBin_nvidia.h, the CUDA and ROCm paths are appended to hipCFlags and hipCXXFlags.
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: