From: Daniel Arndt Date: Sun, 1 Dec 2024 17:28:50 +0000 (-0500) Subject: Add another barrier in MatrixFreeTools::compute_diagonal() X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76dd4bb0f913379cf47466ecc761be03d7e61b70;p=dealii.git Add another barrier in MatrixFreeTools::compute_diagonal() --- 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,