From: Peter Munch Date: Mon, 23 Sep 2019 14:10:57 +0000 (+0200) Subject: Initialize n_colors in CUDAWrappers::MatrixFree::AdditionalData X-Git-Tag: v9.2.0-rc1~1047^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a94057a9c60b621f2e2240c28061911618dd59a6;p=dealii.git Initialize n_colors in CUDAWrappers::MatrixFree::AdditionalData --- diff --git a/include/deal.II/matrix_free/cuda_matrix_free.h b/include/deal.II/matrix_free/cuda_matrix_free.h index 19ef0d3b5b..97a9f4578f 100644 --- a/include/deal.II/matrix_free/cuda_matrix_free.h +++ b/include/deal.II/matrix_free/cuda_matrix_free.h @@ -102,10 +102,12 @@ namespace CUDAWrappers const ParallelizationScheme parallelization_scheme = parallel_in_elem, const UpdateFlags mapping_update_flags = update_gradients | update_JxW_values, - const bool use_coloring = false) + const bool use_coloring = false, + const bool n_colors = 1) : parallelization_scheme(parallelization_scheme) , mapping_update_flags(mapping_update_flags) , use_coloring(use_coloring) + , n_colors(n_colors) {} /**