Skip to content

Commit

Permalink
Tpetra: remove unnecessary exception test
Browse files Browse the repository at this point in the history
In response to review comment for PR trilinos#12036.
  • Loading branch information
jhux2 authored and cwpearson committed Sep 19, 2023
1 parent 2acce29 commit 7614e24
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/tpetra/core/src/Tpetra_CrsMatrix_def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8473,11 +8473,6 @@ CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node>::

size_t N = BaseRowMap->getLocalNumElements ();

TEUCHOS_TEST_FOR_EXCEPTION
(destMat->numImportPacketsPerLID_.need_sync_device(), std::logic_error, "The "
"input Kokkos::DualView was most recently modified on host, but TAFC "
"needs the device view of the data to be the most recently modified.");

const Kokkos::View<LO const *, typename Node::device_type> RemoteLIDs_d = RemoteLIDs.view_device();
const Kokkos::View<LO const *, typename Node::device_type> PermuteToLIDs_d = PermuteToLIDs.view_device();
const Kokkos::View<LO const *, typename Node::device_type> PermuteFromLIDs_d = PermuteFromLIDs.view_device();
Expand Down

0 comments on commit 7614e24

Please sign in to comment.