From: Daniel Arndt Date: Wed, 28 Dec 2022 21:44:15 +0000 (+0100) Subject: Fix X-Git-Tag: v9.5.0-rc1~697^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b21c27b4a4d3a4b86c6962fee76a68e72ede50ab;p=dealii.git Fix --- diff --git a/include/deal.II/lac/la_parallel_vector.templates.h b/include/deal.II/lac/la_parallel_vector.templates.h index c18a97f302..331402a4e6 100644 --- a/include/deal.II/lac/la_parallel_vector.templates.h +++ b/include/deal.II/lac/la_parallel_vector.templates.h @@ -407,10 +407,8 @@ namespace LinearAlgebra // Move the data to the device Kokkos::View V_view(V.begin(), n_elements); - Kokkos::View auto - V_dev = Kokkos::create_mirror_view_and_copy( - ::dealii::MemorySpace::Default::kokkos_space{}, V_view); + auto V_dev = Kokkos::create_mirror_view_and_copy( + ::dealii::MemorySpace::Default::kokkos_space{}, V_view); // Set the values in tmp_vector Kokkos::parallel_for( diff --git a/include/deal.II/lac/vector_operations_internal.h b/include/deal.II/lac/vector_operations_internal.h index 10a131ae8f..8d1de42657 100644 --- a/include/deal.II/lac/vector_operations_internal.h +++ b/include/deal.II/lac/vector_operations_internal.h @@ -2634,7 +2634,7 @@ namespace internal import_elements( const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner> & /*thread_loop_partitioner*/, - const size_type, + const size_type size, VectorOperation::values operation, const ::dealii::MemorySpace::MemorySpaceData &v_data,