]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid using deprecated functions in timing_matrix_free_kokkos.cc 15886/head
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 16 Aug 2023 15:31:15 +0000 (15:31 +0000)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 16 Aug 2023 15:31:15 +0000 (15:31 +0000)
tests/performance/timing_matrix_free_kokkos.cc

index 9305132a4971880565795e7757908b05e44738ad..37365d1e1f2ebfcb09b92fd0e8c956e7102af26b 100644 (file)
@@ -282,8 +282,8 @@ run(const unsigned int n_refinements)
 
     LinearAlgebra::ReadWriteVector<Number> rw_vector(
       src.get_partitioner()->locally_owned_range());
-    rw_vector.import(src_host, VectorOperation::insert);
-    src.import(rw_vector, VectorOperation::insert);
+    rw_vector.import_elements(src_host, VectorOperation::insert);
+    src.import_elements(rw_vector, VectorOperation::insert);
 
     dst = 0.0;
   }

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.