Skip to content

Commit

Permalink
Merge pull request trilinos#13408 from ndellingwood/update-tpetra-fen…
Browse files Browse the repository at this point in the history
…cecount

tpetra: modify expected instance fence counts in MatvecFence
  • Loading branch information
ndellingwood authored Aug 29, 2024
2 parents 49d2b72 + 689c951 commit bc52220
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/tpetra/core/test/CrsMatrix/CrsMatrix_MatvecFence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,17 @@ namespace {
// Did not test the case of Serial node in build with Serial and OpenMP and GPU-aware
expectedGlobalCount = iter_num;
if (Tpetra::Details::Behavior::debug()) {
#if KOKKOS_VERSION >= 40499
expectedInstanceCount = 3*iter_num;
#else
expectedInstanceCount = 4*iter_num;
#endif
} else {
#if KOKKOS_VERSION >= 40499
expectedInstanceCount = 2*iter_num;
#else
expectedInstanceCount = 3*iter_num;
#endif
}
}
#endif
Expand Down

0 comments on commit bc52220

Please sign in to comment.