Skip to content

Commit

Permalink
remove old impl
Browse files Browse the repository at this point in the history
  • Loading branch information
fnrizzi committed Sep 14, 2023
1 parent 47aecc6 commit db84983
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions algorithms/src/std_algorithms/impl/Kokkos_Unique.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,6 @@ KOKKOS_FUNCTION IteratorType unique_team_impl(const TeamHandleType& teamHandle,
count);
// no barrier needed since single above broadcasts to all members

// std::size_t count = {};
// if (teamHandle.team_rank() == 0) {
// IteratorType result = first;
// while (++first != last) {
// if (!pred(*result, *first) && ++result != first) {
// *result = std::move(*first);
// }
// }
// count = Kokkos::Experimental::distance(first, result);
// }
// teamHandle.team_broadcast(count, 0);

// +1 is needed because we want one element past the end
return first + count + 1;
}
Expand Down

0 comments on commit db84983

Please sign in to comment.