-
Notifications
You must be signed in to change notification settings - Fork 123
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
Provide pushforward methods for Kokkos::View
indexing
#1061
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
1d55095
to
8185afc
Compare
clang-tidy review says "All clean, LGTM! 👍" |
This looks great but I would add a last version with 8 arguments as views can have up to 8 dimensions. Thanks! |
Previously, we relied on automatically generated pushforwards for these operator calls, but this solution is way safer and should work for more machines and Kokkos versions.
8185afc
to
29127cd
Compare
clang-tidy review says "All clean, LGTM! 👍" |
@gojakuch now that I am thinking about it, the code of the PR needs to be changed. In Kokkos, the index type is templated with a different template for each indices. Example:
The merged code works only if |
@kliegeois I see. I'll open a PR today then |
Thanks a lot @gojakuch ! |
Previously, we relied on automatically generated pushforwards for these operator calls, but this solution is way safer and should work for more machines and Kokkos versions.