ROCm / clr

MIT License
85 stars 35 forks source link

HIP build failing with hiprtc related error. #23 (CONT-D) #39

Open jdgh000 opened 6 months ago

jdgh000 commented 6 months ago

THis is continued from following which closed without confirmation: HIP build failing with hiprtc related error. #23 First I want to ask why are you closing without even confirming with me that build works? Build is still failing, please do not close because I cant re-open!!!

Your last post here absolutely makes no sense: the idea here is, there are two repo you need to build HIP on AMD platforms (there are several but for our purpose we can ignore them). As I said clr was not building due to hiprtc related error. Are you saying checkout hip and clr, which one to build first? IF i build clr, it fails with same reason.

It starts with which version of ROCm you have installed.
you can figure it out by doing a cat /opt/rocm/.info/version-dev

You will get a number 5.6 or 5.7

After that you need to checkout the repo
https://github.com/ROCm-Developer-Tools/clr
https://github.com/ROCm-Developer-Tools/hip
to rocm-5.n whatever your ROCm version was installed and then try to build it.

Here clr and hip version needs to match