mpich
mpich copied to clipboard
mpl: fix configure for HIP detection
Pull Request Description
The pop on CPPFLAGS will cleanup the HIP related flags.
This PR depends on fix at https://github.com/pmodels/yaksa/pull/231.
Author Checklist
- [ ] Provide Description Particularly focus on why, not what. Reference background, issues, test failures, xfail entries, etc.
- [ ] Commits Follow Good Practice
Commits are self-contained and do not do two things at once.
Commit message is of the form:
module: short descriptionCommit message explains what's in the commit. - [ ] Passes All Tests Whitespace checker. Warnings test. Additional tests via comments.
- [ ] Contribution Agreement For non-Argonne authors, check contribution agreement. If necessary, request an explicit comment from your companies PR approval manager.
The __HIP_PLATFORM_AMD__ is defined in src/mpl/include/mpl_gpu_hip.h -- https://github.com/pmodels/mpich/pull/6091/commits/69d4924f499aadab3f92134dbce38e6199c6d3f0
The
__HIP_PLATFORM_AMD__is defined insrc/mpl/include/mpl_gpu_hip.h-- 69d4924
Figured out a way to fix this cleanly.