From: Daniel Arndt Date: Sat, 1 Apr 2023 02:32:18 +0000 (-0400) Subject: Replace MemorySpace::CUDA in non-CUDA tests X-Git-Tag: v9.5.0-rc1~378^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6ce78b397571cab5c4ba85481b1519b5e56cb87;p=dealii.git Replace MemorySpace::CUDA in non-CUDA tests --- diff --git a/tests/lac/vector_memory_01.cc b/tests/lac/vector_memory_01.cc index 00e086f827..b57a381cce 100644 --- a/tests/lac/vector_memory_01.cc +++ b/tests/lac/vector_memory_01.cc @@ -15,8 +15,8 @@ // Test that we can successfully fill a GrowingVectorMemory pool -// with LinearAlgebra::distributed::Vector objects. -// Partially copied from lac/vector_memory.cc +// with LinearAlgebra::distributed::Vector +// objects. Partially copied from lac/vector_memory.cc #include @@ -69,8 +69,8 @@ main(int argc, char *argv[]) initlog(); Utilities::MPI::MPI_InitFinalize mpi_init(argc, argv, 1); - test_stat>(); - test_stat>(); + test_stat>(); + test_stat>(); return 0; } diff --git a/tests/lac/vector_memory_02.cc b/tests/lac/vector_memory_02.cc index 8725653d55..68858512c2 100644 --- a/tests/lac/vector_memory_02.cc +++ b/tests/lac/vector_memory_02.cc @@ -15,7 +15,7 @@ // Test that memory leaks are detected correctly for a GrowingVectorMemory pool -// with LinearAlgebra::distributed objects. +// with LinearAlgebra::distributed objects. // Partially copied from lac/vector_memory.cc @@ -48,8 +48,9 @@ main(int argc, char *argv[]) try { test_leak< - LinearAlgebra::distributed::Vector>(); - test_leak>(); + LinearAlgebra::distributed::Vector>(); + test_leak< + LinearAlgebra::distributed::Vector>(); } catch (const StandardExceptions::ExcMemoryLeak &e) { diff --git a/tests/lac/vector_reinit_04.cc b/tests/lac/vector_reinit_04.cc index 88b3ccdf1d..6f7281b37f 100644 --- a/tests/lac/vector_reinit_04.cc +++ b/tests/lac/vector_reinit_04.cc @@ -114,5 +114,5 @@ main(int argc, char **argv) initlog(); do_test< - LinearAlgebra::distributed::Vector>(); + LinearAlgebra::distributed::Vector>(); }