-
Notifications
You must be signed in to change notification settings - Fork 139
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
Use HIP as language in CMake #3646
Merged
Merged
Changes from 4 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
34ea8e8
Remove hip_add_library
quantumsteve 905ba2c
remove unnecessary lines
quantumsteve 35f4a27
Use CMAKE HIP language variables
quantumsteve ba8878e
Missing space after -fopenmp
quantumsteve d609998
Message contained incorrect CMake version
quantumsteve 626050c
Don't using HIP linker with C++ code
quantumsteve 77442a6
Correct HIP source properties.
ye-luo 4add523
Remove dependence on FindHIP.cmake
ye-luo 0a60b8e
Merge remote-tracking branch 'origin/develop' into cmake_hip_language
ye-luo 0dfb393
Minor fix
ye-luo 9b41cf8
Merge remote-tracking branch 'origin/develop' into cmake_hip_language
ye-luo 2052aa5
Merge branch 'develop' into cmake_hip_language
ye-luo 20798d1
Pick up CMAKE_HIP_ARCHITECTURES.
ye-luo ef7b5ad
Still need to supply hip::xxx
ye-luo fd5feef
Merge branch 'develop' into cmake_hip_language
ye-luo 15d499a
Point ROCM installation via ROCM_ROOT in CI.
ye-luo 735f64f
Look for the hip runtime and libraries next to the compiler by default
ye-luo 560d34b
Revert "Point ROCM installation via ROCM_ROOT in CI."
ye-luo 2f59539
Update crusher recipe. Minor expansion of Summit recipe.
ye-luo e3822b3
Update documentation.
ye-luo 84abc52
Trap outdated HIP_ARCH option.
ye-luo 34ad46e
Mention neede CMake version.
ye-luo c2cfab1
Merge branch 'develop' into cmake_hip_language
ye-luo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@markdewing Does adding another variable to this check fix the linking error your experiencing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had offload enabled. If I disable that, then it works.