]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove Kokkos::initialize and finalize
authorBruno Turcksin <bruno.turcksin@gmail.com>
Fri, 3 Feb 2023 14:58:55 +0000 (09:58 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Fri, 3 Feb 2023 17:07:52 +0000 (12:07 -0500)
tests/mpi/parallel_partitioner_device_06.cc
tests/mpi/parallel_partitioner_device_07.cc
tests/mpi/parallel_partitioner_device_08.cc

index 67da810cd63a55c485ee2e88797c8729bba010de..7a35215cdb14b7806a6959890432de1a50fe5091 100644 (file)
@@ -199,8 +199,6 @@ int
 main(int argc, char **argv)
 {
   Utilities::MPI::MPI_InitFinalize mpi(argc, argv);
-  Kokkos::initialize();
-  MPILogInitAll log;
+  MPILogInitAll                    log;
   test();
-  Kokkos::finalize();
 }
index d812e9dd340cdf9ac5591bd1bb3b0cca8adf29f7..3c2c5933696ce1ea0e8974d09ede7b2653407e7b 100644 (file)
@@ -229,8 +229,6 @@ int
 main(int argc, char **argv)
 {
   Utilities::MPI::MPI_InitFinalize mpi(argc, argv);
-  Kokkos::initialize();
-  MPILogInitAll log;
+  MPILogInitAll                    log;
   test();
-  Kokkos::finalize();
 }
index 3429cd7f7fe8bb47e7fc43838d6a6243f08fa84d..177a84966c4f7b0c7ca99615fc5b6c7ed675dbfd 100644 (file)
@@ -177,11 +177,9 @@ main(int argc, char **argv)
   using namespace dealii;
 
   Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
-  Kokkos::initialize();
-  MPILogInitAll log;
+  MPILogInitAll                    log;
 
   test();
 
-  Kokkos::finalize();
   return 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.