From 76dd4bb0f913379cf47466ecc761be03d7e61b70 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 1 Dec 2024 12:28:50 -0500 Subject: [PATCH] Add another barrier in MatrixFreeTools::compute_diagonal() --- include/deal.II/matrix_free/tools.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/deal.II/matrix_free/tools.h b/include/deal.II/matrix_free/tools.h index 01c9b19ecd..b634cd0144 100644 --- a/include/deal.II/matrix_free/tools.h +++ b/include/deal.II/matrix_free/tools.h @@ -1409,6 +1409,8 @@ namespace MatrixFreeTools Kokkos::TeamThreadRange(shared_data->team_member, dofs_per_cell), [&](int j) { fe_eval.submit_dof_value(i == j ? 1 : 0, j); }); + shared_data->team_member.team_barrier(); + Portable::internal:: resolve_hanging_nodes( shared_data->team_member, -- 2.39.5