-
Notifications
You must be signed in to change notification settings - Fork 39
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
Calls to Kokkos::min and Kokkos:max are incorrect if ENABLE_KOKKOS=On #323
Comments
pnig @ajpowelsnl |
I will. I've discovered a more serious flaw in that |
Hi @dogunter and @rhornung67 -- Many thanks for the heads up. I'll look into this. |
Hi @dogunter and @rhornung67 -- I poked around with this for a couple of hours, and I think the issue might be that you need to update your Kokkos (in I would suggest trying the following:
LMK if this suggestion works. We'll continue to troubleshoot if it doesn't. Apologies in advance for the delayed response. |
@ajpowelsnl you should be able to put up a PR to address this issue. RAJA folks are not maintaining the Kokkos part. |
OK, I need to figure out how to make git submodule pull in Kokkos develop. |
Check out the RAJAPerf develop branch and make sure all submodules are updated recursively. Then make a new branch off that to submit a PR. Go into the Kokkos submodule and checkout the develop branch. Commit that change and make a PR. |
What I would like (I think) is for Kokkos to behave like the other submodules (such that |
The root cause of the issue that was reported was that the RAJAPerf code was changed but the kokkos submodule version was not changed to be consistent with that change, I believe. Running 'git submodule update' as you describe will update each submodule, including submodules of submodules to the specific commit hash, tag, etc. in the associated submodule project repo that the version of RAJAPerf is pinned to. Each submodule has to be updated if you want a new version. We don't want everything pinned to the latest develop branch of each submodule project. I don't think you can even do that with git submodules. |
Hi @rhornung67 and @dogunter -- I've submitted a #328 with the requested update. LMK if this does not fix you. Apologies for the delay. |
I've been trying to build RAJAPerf with the cmake option
ENABLE_KOKKOS=On
but it fails with two error messages,Steps to reproduce:
It appears to be a simple case issue. The correct call should be to
Kokkos::Min
andKokkos:Max
, respectively.The text was updated successfully, but these errors were encountered: