-
Notifications
You must be signed in to change notification settings - Fork 436
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
team-level std algos: part 10 #6256
Conversation
Co-authored-by: Cezary Skrzyński Co-authored-by: Jakub Strzebonski
Co-authored-by: Cezary Skrzyński Co-authored-by: Jakub Strzebonski
This comment was marked as outdated.
This comment was marked as outdated.
retest this please |
This comment was marked as outdated.
This comment was marked as outdated.
// FIXME: there is no parallel_scan overload that accepts TeamThreadRange and | ||
// return_value, so temporarily serial implementation is used |
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.
This is changing with recent pull requests, though. Let's make sure that we can get this adapted in the near future; ideally even for the release.
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.
yes, i am going to fix all of this after all the team PRs are merged in a follow up.
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.
Fine with me.
Co-authored-by: Cezary Skrzyński
Co-authored-by: Jakub Strzebonski
Content
Team-level implementation and tests for:
Kokkos_IsSortedUntil.hpp
Kokkos_IsSorted.hpp
Kokkos_IsPartitioned.hpp
Kokkos_PartitionCopy.hpp
Kokkos_PartitionPoint.hpp
Technical comments
the change
class
->typename
and the enable if defaulted in the template parameters comes from this requestthe code duplication is intentional and agreed upon after the long discussion in here
tests are run for both contiguous views and strided views
Other comments
all team-level PRs are tracked in: Team-level std algorithms PRs: issue tracker #6352
this comes from breaking apart team impl of std algorithms #5150
Possible conflicts
Implementation-wise, this has not conflict with other team-level PRs so it could be merged independently.
However, a trivial conflict in the CMakeLists inside the unit test occurs if another of the team-level PRs is merged before this because each team-level PR adds test using a specific "label". Resolving this is trivial.
Associated wiki PRs
Kokkos_IsSortedUntil.hpp
: see wiki PRKokkos_IsSorted.hpp
,Kokkos_IsPartitioned.hpp
,Kokkos_PartitionCopy.hpp
: see wiki PRKokkos_PartitionPoint.hpp
: see wiki PRIMPORTANT: wiki PRs are not complete yet but 99% there
The issue tracking all wiki PRs is here