Skip to content

Commit

Permalink
MueLu: Fix regression counts
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Glusa <[email protected]>
  • Loading branch information
cgcgcg committed Dec 10, 2024
1 parent 5c76eed commit 9de67f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/muelu/test/unit_tests_kokkos/Regression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ TEUCHOS_UNIT_TEST_TEMPLATE_4_DECL(Regression, H2D, Scalar, LocalOrdinal, GlobalO
}
#ifdef KOKKOS_HAS_SHARED_SPACE
else {
size_t targetNumDeepCopies = kkNativeDeepCopies + (std::is_same_v<typename Node::memory_space, Kokkos::SharedSpace> ? 20 : 32);
size_t targetNumDeepCopies = kkNativeDeepCopies + (std::is_same_v<typename Node::memory_space, Kokkos::SharedSpace> ? 17 : 32);
TEST_EQUALITY(Tpetra::Details::DeepCopyCounter::get_count_different_space(), targetNumDeepCopies);
}
#else
Expand Down Expand Up @@ -175,7 +175,7 @@ TEUCHOS_UNIT_TEST_TEMPLATE_4_DECL(Regression, Aggregation, Scalar, LocalOrdinal,
}
#ifdef KOKKOS_HAS_SHARED_SPACE
else {
size_t targetNumDeepCopies = std::is_same_v<typename Node::memory_space, Kokkos::SharedSpace> ? 18 : 17;
size_t targetNumDeepCopies = std::is_same_v<typename Node::memory_space, Kokkos::SharedSpace> ? 11 : 17;
TEST_EQUALITY(Tpetra::Details::DeepCopyCounter::get_count_different_space(), targetNumDeepCopies);
}
#else
Expand Down

0 comments on commit 9de67f4

Please sign in to comment.