-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linking Error with HIP SDK 5.7 (Windows) #1446
Comments
This is probably because your LLVM defaults to an earlier version of amdgpu code object version than what is used in your ROCm. Try upgrading your LLVM. You can also try targeting a newer code object version, e.g. |
Thank you. I've checked, and both ROCm SDK 5.5 and 5.7 use LLVM 17.0.0, while I am using 17.0.4, so this probably isn't the case, if my understanding of how it all works is correct. |
Hello,
I recently updated the HIP SDK from version 5.5 to 5.7 and am experiencing a build error when trying to compile SYCL programs targeting AMD devices with AdaptiveCpp. Here's the error I encounter during the build process of a test project (and any other project results in the same errors too):
The error seems to involve conflicting module flags related to the amdgpu_code_object_version.
There was no such error when I used HIP SDK 5.5.
I've rebuilt LLVM and AdaptiveCpp, ensuring that it correctly finds HIP SDK 5.7. Unfortunately, this didn't resolve the issue. I have a limited background in LLVM and in using cross-platform open source software in overall, so I may be missing something obvious. Has anyone here encountered a similar problem or could provide guidance on resolving these linking module flag conflicts? Any help or pointers would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: