]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add explanation on the use of __synchtreads() 8337/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 8 Jul 2019 00:54:00 +0000 (00:54 +0000)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 8 Jul 2019 00:54:00 +0000 (00:54 +0000)
include/deal.II/matrix_free/cuda_hanging_nodes_internal.h

index 9a9b828749e4ba366e0bfcfd3368a357201c9af3..8abf9b68ec6268747918234421c9ba32d2e86330 100644 (file)
@@ -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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.