]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Move CUDAWrapper::MatrixFree tests to new folder 16219/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 31 Oct 2023 07:48:11 +0000 (08:48 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 31 Oct 2023 13:37:43 +0000 (14:37 +0100)
56 files changed:
tests/matrix_free_kokkos/CMakeLists.txt [new file with mode: 0644]
tests/matrix_free_kokkos/coefficient_eval_device.cc [moved from tests/matrix_free/coefficient_eval_device.cc with 100% similarity]
tests/matrix_free_kokkos/coefficient_eval_device.output [moved from tests/matrix_free/coefficient_eval_device.output with 100% similarity]
tests/matrix_free_kokkos/cuda_evaluate_1d_shape.cc [moved from tests/cuda/cuda_evaluate_1d_shape.cc with 99% similarity]
tests/matrix_free_kokkos/cuda_evaluate_1d_shape.output [moved from tests/cuda/cuda_evaluate_1d_shape.output with 100% similarity]
tests/matrix_free_kokkos/cuda_evaluate_2d_shape.cc [moved from tests/cuda/cuda_evaluate_2d_shape.cc with 99% similarity]
tests/matrix_free_kokkos/cuda_evaluate_2d_shape.output [moved from tests/cuda/cuda_evaluate_2d_shape.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_initialize_vector.cc [moved from tests/matrix_free/matrix_free_device_initialize_vector.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_initialize_vector.with_mpi=on.with_p4est=on.mpirun=2.output [moved from tests/matrix_free/matrix_free_device_initialize_vector.with_mpi=on.with_p4est=on.mpirun=2.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_initialize_vector.with_mpi=on.with_p4est=on.with_cuda=off.mpirun=1.output [moved from tests/matrix_free/matrix_free_device_initialize_vector.with_mpi=on.with_p4est=on.with_cuda=off.mpirun=1.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_initialize_vector.with_mpi=on.with_p4est=on.with_cuda=on.mpirun=1.output [moved from tests/matrix_free/matrix_free_device_initialize_vector.with_mpi=on.with_p4est=on.with_cuda=on.mpirun=1.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_01.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_01.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_01.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_01.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_02.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_02.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_02.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_02.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_03.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_03.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_03.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_03.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_03b.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_03b.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_03b.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_03b.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_04.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_04.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_04.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_04.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_05.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_05.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_05.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_05.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_06.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_06.cc with 98% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_06.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_06.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_06a.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_06a.cc with 98% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_06a.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_06a.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_06b.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_06b.cc with 98% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_06b.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_06b.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_09.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_09.cc with 98% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_09.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_09.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_10.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_10.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_10.with_trilinos=true.with_p4est=true.mpirun=1.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_10.with_trilinos=true.with_p4est=true.mpirun=1.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_10.with_trilinos=true.with_p4est=true.mpirun=2.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_10.with_trilinos=true.with_p4est=true.mpirun=2.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_10a.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_10a.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_10a.with_trilinos=true.with_p4est=true.mpirun=1.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_10a.with_trilinos=true.with_p4est=true.mpirun=1.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_10a.with_trilinos=true.with_p4est=true.mpirun=2.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_10a.with_trilinos=true.with_p4est=true.mpirun=2.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_19.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_19.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_19.with_trilinos=true.with_trilinos_with_zoltan=true.mpirun=2.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_19.with_trilinos=true.with_trilinos_with_zoltan=true.mpirun=2.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_25.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_25.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_25.with_trilinos=true.with_p4est=true.mpirun=1.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_25.with_trilinos=true.with_p4est=true.mpirun=1.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_25.with_trilinos=true.with_p4est=true.mpirun=2.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_25.with_trilinos=true.with_p4est=true.mpirun=2.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_26.cc [moved from tests/matrix_free/matrix_free_device_matrix_vector_26.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_26.with_trilinos=true.with_p4est=true.mpirun=1.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_26.with_trilinos=true.with_p4est=true.mpirun=1.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_matrix_vector_26.with_trilinos=true.with_p4est=true.mpirun=2.output [moved from tests/matrix_free/matrix_free_device_matrix_vector_26.with_trilinos=true.with_p4est=true.mpirun=2.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_multiple_objects.cc [moved from tests/matrix_free/matrix_free_device_multiple_objects.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_multiple_objects.output [moved from tests/matrix_free/matrix_free_device_multiple_objects.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_no_index_initialize.cc [moved from tests/matrix_free/matrix_free_device_no_index_initialize.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_no_index_initialize.output [moved from tests/matrix_free/matrix_free_device_no_index_initialize.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_precondition_chebyshev.cc [moved from tests/matrix_free/matrix_free_device_precondition_chebyshev.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_precondition_chebyshev.with_trilinos=true.with_p4est=true.with_lapack=true.mpirun=1.output [moved from tests/matrix_free/matrix_free_device_precondition_chebyshev.with_trilinos=true.with_p4est=true.with_lapack=true.mpirun=1.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_precondition_chebyshev.with_trilinos=true.with_p4est=true.with_lapack=true.mpirun=2.output [moved from tests/matrix_free/matrix_free_device_precondition_chebyshev.with_trilinos=true.with_p4est=true.with_lapack=true.mpirun=2.output with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_reinit_01.cc [moved from tests/matrix_free/matrix_free_device_reinit_01.cc with 100% similarity]
tests/matrix_free_kokkos/matrix_free_device_reinit_01.with_mpi=on.with_p4est=on.mpirun=2.output [moved from tests/matrix_free/matrix_free_device_reinit_01.with_mpi=on.with_p4est=on.mpirun=2.output with 100% similarity]
tests/matrix_free_kokkos/matrix_vector_device_common.h [moved from tests/matrix_free/matrix_vector_device_common.h with 100% similarity]
tests/matrix_free_kokkos/matrix_vector_device_mf.h [moved from tests/matrix_free/matrix_vector_device_mf.h with 100% similarity]

diff --git a/tests/matrix_free_kokkos/CMakeLists.txt b/tests/matrix_free_kokkos/CMakeLists.txt
new file mode 100644 (file)
index 0000000..db9c1ad
--- /dev/null
@@ -0,0 +1,4 @@
+cmake_minimum_required(VERSION 3.13.4)
+include(../scripts/setup_testsubproject.cmake)
+project(testsuite CXX)
+deal_ii_pickup_tests()
similarity index 99%
rename from tests/cuda/cuda_evaluate_1d_shape.cc
rename to tests/matrix_free_kokkos/cuda_evaluate_1d_shape.cc
index 3d81a9362aa3f696ca357fa3b09f87f9c18e8f31..77b6753e924387a005f7b6fa968ee3675b5fa5e9 100644 (file)
@@ -32,7 +32,6 @@
 
 #include "../tests.h"
 
-namespace CUDA = LinearAlgebra::CUDAWrappers;
 
 using TeamHandle = Kokkos::TeamPolicy<
   MemorySpace::Default::kokkos_space::execution_space>::member_type;
@@ -196,7 +195,6 @@ main()
   deallog.attach(logfile);
 
   Kokkos::initialize();
-  init_cuda();
 
   deallog.push("values");
   test<4, 4, 0, false>();
similarity index 99%
rename from tests/cuda/cuda_evaluate_2d_shape.cc
rename to tests/matrix_free_kokkos/cuda_evaluate_2d_shape.cc
index cd2286a68b7dac0865b124255a9cccafb7d8d274..faccb48dcf406d4e197b6068ce9b3b17187e5f05 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "../tests.h"
 
-namespace CUDA = LinearAlgebra::CUDAWrappers;
 
 using TeamHandle = Kokkos::TeamPolicy<
   MemorySpace::Default::kokkos_space::execution_space>::member_type;
@@ -217,7 +216,6 @@ main()
   deallog.attach(logfile);
 
   Kokkos::initialize();
-  init_cuda();
 
   deallog.push("values");
   test<4, 4, 0, false>();
similarity index 98%
rename from tests/matrix_free/matrix_free_device_matrix_vector_06.cc
rename to tests/matrix_free_kokkos/matrix_free_device_matrix_vector_06.cc
index ab3220a6438e2d65d6a02f81a5e9e72c0e459717..9d9dce163760b932d1fdf0018cfd23a300f20264 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "../tests.h"
 
-#include "create_mesh.h"
+#include "../matrix_free/create_mesh.h"
 #include "matrix_vector_device_common.h"
 
 template <int dim, int fe_degree, typename Number>
similarity index 98%
rename from tests/matrix_free/matrix_free_device_matrix_vector_06a.cc
rename to tests/matrix_free_kokkos/matrix_free_device_matrix_vector_06a.cc
index abf9d232b660dbfc67e8dcced2ffaec8f7145d2d..5545537d225acab4ea6fbbc1b3dd45ebcaecc5eb 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "../tests.h"
 
-#include "create_mesh.h"
+#include "../matrix_free/create_mesh.h"
 #include "matrix_vector_device_common.h"
 
 template <int dim, int fe_degree, typename Number>
similarity index 98%
rename from tests/matrix_free/matrix_free_device_matrix_vector_06b.cc
rename to tests/matrix_free_kokkos/matrix_free_device_matrix_vector_06b.cc
index dfbf01c891cf4ba710761f4d552735aaa5f4bdeb..56c362e1741a8fa71d48f3877f607aaa854c7e08 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "../tests.h"
 
-#include "create_mesh.h"
+#include "../matrix_free/create_mesh.h"
 #include "matrix_vector_device_common.h"
 
 template <int dim, int fe_degree, typename Number>
similarity index 98%
rename from tests/matrix_free/matrix_free_device_matrix_vector_09.cc
rename to tests/matrix_free_kokkos/matrix_free_device_matrix_vector_09.cc
index 36226ba729b8a3944bee53061e61de2e6625d255..8f69e188a3facb1b06fa0e49739d1e168fde2de7 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "../tests.h"
 
-#include "create_mesh.h"
+#include "../matrix_free/create_mesh.h"
 #include "matrix_vector_device_common.h"
 
 template <int dim, int fe_degree, typename Number>

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.