71f6bf4e67
There is soft link /opt/rocm/bin/.hipVersion, therefore when hipcc is executed as /opt/rocm/bin/hipcc, it will set HIP_VDI_HOME to /opt/rocm, which is incorrect. Check ../lib/bitcode instead to identify HIP_VDI_HOME.