From: Bruno Turcksin Date: Fri, 24 Jul 2020 18:19:13 +0000 (+0000) Subject: Fix compilation when CUDA is enable X-Git-Tag: v9.3.0-rc1~1252^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32def073b437a20769fa11ec7aa74e45eb239f8a;p=dealii.git Fix compilation when CUDA is enable --- diff --git a/include/deal.II/matrix_free/cuda_matrix_free.templates.h b/include/deal.II/matrix_free/cuda_matrix_free.templates.h index 21f725b9af..775808150f 100644 --- a/include/deal.II/matrix_free/cuda_matrix_free.templates.h +++ b/include/deal.II/matrix_free/cuda_matrix_free.templates.h @@ -261,7 +261,7 @@ namespace CUDAWrappers const UpdateFlags & update_flags) : data(data) , fe_degree(data->fe_degree) - , dofs_per_cell(data->n_dofs_per_cell()) + , dofs_per_cell(data->dofs_per_cell) , q_points_per_cell(data->q_points_per_cell) , fe_values(mapping, fe, @@ -273,7 +273,7 @@ namespace CUDAWrappers , padding_length(data->get_padding_length()) , hanging_nodes(fe_degree, dof_handler, lexicographic_inv) { - local_dof_indices.resize(data->n_dofs_per_cell()); + local_dof_indices.resize(data->dofs_per_cell); lexicographic_dof_indices.resize(dofs_per_cell); } @@ -990,8 +990,7 @@ namespace CUDAWrappers ghost_vertices[cell->vertex_index(i)] = true; std::vector, - false>>>> + dealii::DoFCellAccessor>>> inner_cells; for (auto cell = begin; cell != end; ++cell)