Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Kelley <[email protected]>
  • Loading branch information
brian-kelley committed Aug 8, 2024
1 parent 9b4cac5 commit e8c7897
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion graph/src/KokkosGraph_CoarsenConstruct.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ struct SortLowDegreeCrsMatrixFunctor {
Kokkos::single(Kokkos::PerTeam(t), [&]() { reducer++; });
return;
}
Kokkos::Experimental::sort_by_key_team(t, Kokkos::subview(entries, Kokkos::make_pair(rowStart, rowEnd)), Kokkos::subview(values, Kokkos::make_pair(rowStart, rowEnd)));
Kokkos::Experimental::sort_by_key_team(t, Kokkos::subview(entries, Kokkos::make_pair(rowStart, rowEnd)),
Kokkos::subview(values, Kokkos::make_pair(rowStart, rowEnd)));
}

rowmap_t rowmap;
Expand Down
3 changes: 2 additions & 1 deletion sparse/impl/KokkosSparse_gauss_seidel_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,8 @@ class PointGaussSeidel {
nnz_lno_t color = t.league_rank();
nnz_lno_t colorBegin = color_xadj(color);
nnz_lno_t colorLen = color_xadj(color + 1) - colorBegin;
Kokkos::Experimental::sort_team(t, Kokkos::subview(color_adj, Kokkos::make_pair(colorBegin, colorBegin + colorLen)), comp);
Kokkos::Experimental::sort_team(
t, Kokkos::subview(color_adj, Kokkos::make_pair(colorBegin, colorBegin + colorLen)), comp);
// Now that the color set is sorted, count how many long rows there were
nnz_lno_t numLongRows;
Kokkos::parallel_reduce(
Expand Down
3 changes: 2 additions & 1 deletion sparse/impl/KokkosSparse_mdf_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,8 @@ struct MDF_compute_list_length {
team.team_reduce(Kokkos::Sum<ordinal_type, execution_space>(updateIdx));

// Sort update list
Kokkos::Experimental::sort_team(team, Kokkos::subview(update_list, Kokkos::make_pair<ordinal_type, ordinal_type>(0, updateIdx)));
Kokkos::Experimental::sort_team(
team, Kokkos::subview(update_list, Kokkos::make_pair<ordinal_type, ordinal_type>(0, updateIdx)));
}
{
size_type numEntrU = 0;
Expand Down

0 comments on commit e8c7897

Please sign in to comment.