]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Revert "MatrixCreator: use queue_size=1 in debug mode" 17143/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 19 Jun 2024 19:48:41 +0000 (15:48 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 19 Jun 2024 19:48:41 +0000 (15:48 -0400)
This reverts commit c3bbafbbf0c1018887f4f07b96dd856f35738e5e.

include/deal.II/numerics/matrix_creator.templates.h

index 494922bfba4cfaa2c15411aeca8e6593677f0ec0..5a67ba86a82a55c2a388636a27e5722d4ec54850 100644 (file)
@@ -781,14 +781,7 @@ namespace MatrixCreator
                                                       &rhs_vector);
       },
       assembler_data,
-      copy_data
-#ifdef DEBUG
-      // use chunk_size = 1 to make multithreading bugs/races more likely:
-      ,
-      /* queue_length (default) = */ 2 * MultithreadInfo::n_threads(),
-      /* chunk_size = */ 1
-#endif
-    );
+      copy_data);
 
     matrix.compress(VectorOperation::add);
   }

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.