From a3b89875f9939b6bbb9a19cdacd832f071e45394 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Mon, 8 Jul 2019 00:54:00 +0000 Subject: [PATCH] Add explanation on the use of __synchtreads() --- include/deal.II/matrix_free/cuda_hanging_nodes_internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/deal.II/matrix_free/cuda_hanging_nodes_internal.h b/include/deal.II/matrix_free/cuda_hanging_nodes_internal.h index 9a9b828749..8abf9b68ec 100644 --- a/include/deal.II/matrix_free/cuda_hanging_nodes_internal.h +++ b/include/deal.II/matrix_free/cuda_hanging_nodes_internal.h @@ -830,6 +830,8 @@ namespace CUDAWrappers } } + // The synchronization is done for all the threads in one block with + // each block being assigned to one element. __syncthreads(); if (constrained_face && constrained_dof) -- 2.39.5