Skip to content
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

Fix a variety of build issues with ROCm 5 #151

Merged
merged 1 commit into from
Jun 2, 2022
Merged

Conversation

benson31
Copy link
Collaborator

@benson31 benson31 commented Jun 2, 2022

There are two issues in play here.

First, there seems to be an issue with finding the ROCm clang builtins and include paths. So we just find them and replace any "NOTFOUND" values in the relevant targets.

Second, the benchmarks and tests take approximately 1 hour per enabled backend when compiling with ANY optimization level more than "-O0". So we force that for the benchmarks when building in "DEBUG" mode. Release builds are unaffected, and the Aluminum library will be compiled with "-Og" still.

@benson31 benson31 added bug Something isn't working HIP/ROCm Stuff related to HIP/ROCm support labels Jun 2, 2022
@ndryden
Copy link
Collaborator

ndryden commented Jun 2, 2022

Builds for me. :shipit:

@benson31 benson31 merged commit 7bc8810 into master Jun 2, 2022
@benson31 benson31 deleted the rocm-5-cmake-patch branch June 2, 2022 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working HIP/ROCm Stuff related to HIP/ROCm support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants