-
Notifications
You must be signed in to change notification settings - Fork 407
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
Implement desired fence behavior for view initialization #4823
Implement desired fence behavior for view initialization #4823
Conversation
2045769
to
3b9bddf
Compare
Where is the updated documentation in the wiki? I don't see any mention of 'fence' in the View API ref |
The only mention of 'fence' I see in the programming guide View page is regarding deallocation of view-of-views |
https://github.com/kokkos/ProgrammingGuide/wiki/Kokkos%3A%3AView |
Code looks good. I'll want to review the updated documentation (waiting for repo access), and then I'm happy to approve. |
Retest this please. |
Please pull in the expanded testing that got added in #4826. |
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.
Ok, the code is all good, and I believe the pending documentation update matches it.
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
See changes in kokkos/kokkos#4823 and issue kokkos/kokkos#4902
Fixes #4697 (I already documented the behavior in the Wiki).
Note that
ZeroMemset
branch currently doesn't call any Kokkosfence
already no matter if we are providing an execution space or not. TheKokkos::View
initialization already only fenced the given (or default) execution space and this pull request only removes the fence if an execution space is explicitly specified.