-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add HIP support for HYPRE #658
base: master
Are you sure you want to change the base?
Conversation
This PR adds a FindHYPRE cmake to be used in the case of Kokkos HIP builds, in which there is currently no supported CMake installation method for hypre builds on AMD. |
bcd4e05
to
e5d1a62
Compare
3925163
to
f22edeb
Compare
Co-authored-by: Christoph Junghans <[email protected]> Co-authored-by: Sam Reeve <[email protected]>
f22edeb
to
72f866d
Compare
Okay @junghans failure here is finally just missing the right target |
Co-authored-by: Christoph Junghans <[email protected]>
@junghans I tried some more in a container, but I don't see any pkg-config content from hypre anywhere.. If we point to that correctly I think it will finally work |
Cabana_add_dependency( PACKAGE HYPRE VERSION 2.22.1 ) | ||
if(Kokkos_ENABLE_HIP) | ||
# FIXME: remove when hypre supports HIP CMake builds | ||
pkg_check_modules(PC_HYPRE hypre REQUIRED IMPORTED_TARGET) |
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.
We need to add logic for Cabana_ENABLE_HYPRE
here, too.
Now blocked by #697 |
Should be able to close/replace once https://github.com/hypre-space/hypre/tree/cmake-hip is merged @victorapm |
Added FindHYPRE cmake for autotools install in lieu of available CMake installation.Uses pkgconfig instead in lieu of available CMake installation