Skip to content
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

Tpetra: copy and permute improvements #13714

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions packages/tpetra/core/src/Tpetra_CrsGraph_decl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,26 @@ namespace Tpetra {
buffer_device_type>& permuteFromLIDs,
const CombineMode CM) override;


void
insertGlobalIndicesDevice
(const CrsGraph<LocalOrdinal,GlobalOrdinal,Node>& srcCrsGraph,
CrsGraph<LocalOrdinal,GlobalOrdinal,Node>& tgtCrsGraph,
const Kokkos::DualView<const local_ordinal_type*, buffer_device_type>& permuteToLIDs,
const Kokkos::DualView<const local_ordinal_type*, buffer_device_type>& permuteFromLIDs,
LocalOrdinal loopEnd);

void
copyAndPermuteImpl
(const row_graph_type& source,
row_graph_type& target,
const size_t numSameIDs,
const Kokkos::DualView<const local_ordinal_type*,
buffer_device_type>& permuteToLIDs,
const Kokkos::DualView<const local_ordinal_type*,
buffer_device_type>& permuteFromLIDs,
const CombineMode CM);

using padding_type = Details::CrsPadding<
local_ordinal_type, global_ordinal_type>;

Expand Down
Loading
Loading