]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 28 Dec 2022 21:44:15 +0000 (22:44 +0100)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 28 Dec 2022 21:44:15 +0000 (22:44 +0100)
include/deal.II/lac/la_parallel_vector.templates.h
include/deal.II/lac/vector_operations_internal.h

index c18a97f302b70dbfd6311d477abd04980169d7df..331402a4e68df087837fdf854b496db7bba22784 100644 (file)
@@ -407,10 +407,8 @@ namespace LinearAlgebra
           // Move the data to the device
           Kokkos::View<Number *, Kokkos::HostSpace> V_view(V.begin(),
                                                            n_elements);
-          Kokkos::View<Number *,
-                       ::dealii::MemorySpace::Default::kokkos_space> 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(
index 10a131ae8f2a1bb1919d61c0028d91f64ba18b42..8d1de426574f5311b9763a85773d7dee8a193bc9 100644 (file)
@@ -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<Number, MemorySpace2>
           &v_data,

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.