diff --git a/packages/tpetra/core/src/Tpetra_CrsMatrix_def.hpp b/packages/tpetra/core/src/Tpetra_CrsMatrix_def.hpp index 18928daa1fe6..00f45e2e3382 100644 --- a/packages/tpetra/core/src/Tpetra_CrsMatrix_def.hpp +++ b/packages/tpetra/core/src/Tpetra_CrsMatrix_def.hpp @@ -8473,11 +8473,6 @@ CrsMatrix:: 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 RemoteLIDs_d = RemoteLIDs.view_device(); const Kokkos::View PermuteToLIDs_d = PermuteToLIDs.view_device(); const Kokkos::View PermuteFromLIDs_d = PermuteFromLIDs.view_device();