]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unusable variable
authorBruno Turcksin <bruno.turcksin@gmail.com>
Wed, 13 May 2020 02:02:26 +0000 (02:02 +0000)
committerMatthias Maier <tamiko@43-1.org>
Wed, 13 May 2020 15:37:24 +0000 (10:37 -0500)
include/deal.II/matrix_free/cuda_matrix_free.h

index 46dcc2e03ca4392e03d196407881f37995085626..eb76b1d559b198cdb7dc48530ffbdc8bca665c2c 100644 (file)
@@ -108,12 +108,10 @@ namespace CUDAWrappers
                                                  update_JxW_values |
                                                  update_quadrature_points,
         const bool use_coloring                      = false,
-        const bool n_colors                          = 1,
         const bool overlap_communication_computation = false)
         : parallelization_scheme(parallelization_scheme)
         , mapping_update_flags(mapping_update_flags)
         , use_coloring(use_coloring)
-        , n_colors(n_colors)
         , overlap_communication_computation(overlap_communication_computation)
       {
 #  ifndef DEAL_II_MPI_WITH_CUDA_SUPPORT
@@ -151,11 +149,6 @@ namespace CUDAWrappers
        */
       bool use_coloring;
 
-      /**
-       * Number of colors created by the graph coloring algorithm.
-       */
-      unsigned int n_colors;
-
       /**
        *  Overlap MPI communications with computation. This requires CUDA-aware
        *  MPI and use_coloring must be false.

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.