]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove la_parallel_vector_cuda.cc
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 28 Dec 2022 21:43:53 +0000 (22:43 +0100)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 28 Dec 2022 21:43:53 +0000 (22:43 +0100)
source/lac/CMakeLists.txt
source/lac/la_parallel_vector.cc
source/lac/la_parallel_vector_cuda.cc [deleted file]

index 24f1ad0fffb7b3b5b2647d18b09c17b53386586d..67c87fda8b4ccde5b0b6edb8e21637e2f73c0909 100644 (file)
@@ -28,7 +28,6 @@ set(_unity_include_src
   scalapack.cc
   la_vector.cc
   la_parallel_vector.cc
-  la_parallel_vector_cuda.cc
   la_parallel_block_vector.cc
   matrix_out.cc
   precondition_block.cc
index 9c4928ac1a8616ca1a2025ea4c380f12f393db38..d738104be45df4885da34ebe43bdba1f9bcfdd52 100644 (file)
@@ -42,6 +42,51 @@ namespace LinearAlgebra
 #endif
 
 #undef TEMPL_COPY_CONSTRUCTOR
+
+    template class Vector<float, ::dealii::MemorySpace::Default>;
+    template class Vector<double, ::dealii::MemorySpace::Default>;
+
+    template void
+    Vector<float, ::dealii::MemorySpace::Host>::import<
+      ::dealii::MemorySpace::Default>(
+      const Vector<float, ::dealii::MemorySpace::Default> &,
+      VectorOperation::values);
+    template void
+    Vector<double, ::dealii::MemorySpace::Host>::import<
+      ::dealii::MemorySpace::Default>(
+      const Vector<double, ::dealii::MemorySpace::Default> &,
+      VectorOperation::values);
+
+    template void
+    Vector<float, ::dealii::MemorySpace::Default>::import<
+      ::dealii::MemorySpace::Host>(
+      const Vector<float, ::dealii::MemorySpace::Host> &,
+      VectorOperation::values);
+    template void
+    Vector<double, ::dealii::MemorySpace::Default>::import<
+      ::dealii::MemorySpace::Host>(
+      const Vector<double, ::dealii::MemorySpace::Host> &,
+      VectorOperation::values);
+
+    template void
+    Vector<float, ::dealii::MemorySpace::Default>::import<
+      ::dealii::MemorySpace::Default>(
+      const Vector<float, ::dealii::MemorySpace::Default> &,
+      VectorOperation::values);
+    template void
+    Vector<double, ::dealii::MemorySpace::Default>::import<
+      ::dealii::MemorySpace::Default>(
+      const Vector<double, ::dealii::MemorySpace::Default> &,
+      VectorOperation::values);
+
+    template void
+    Vector<float, ::dealii::MemorySpace::Default>::reinit<float>(
+      const Vector<float, ::dealii::MemorySpace::Default> &,
+      const bool);
+    template void
+    Vector<double, ::dealii::MemorySpace::Default>::reinit<double>(
+      const Vector<double, ::dealii::MemorySpace::Default> &,
+      const bool);
   } // namespace distributed
 } // namespace LinearAlgebra
 
diff --git a/source/lac/la_parallel_vector_cuda.cc b/source/lac/la_parallel_vector_cuda.cc
deleted file mode 100644 (file)
index 91fc69a..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// ---------------------------------------------------------------------
-//
-// Copyright (C) 2016 - 2019 by the deal.II authors
-//
-// This file is part of the deal.II library.
-//
-// The deal.II library is free software; you can use it, redistribute
-// it, and/or modify it under the terms of the GNU Lesser General
-// Public License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-// The full text of the license can be found in the file LICENSE.md at
-// the top level directory of deal.II.
-//
-// ---------------------------------------------------------------------
-
-#include <deal.II/lac/la_parallel_vector.h>
-#include <deal.II/lac/la_parallel_vector.templates.h>
-
-DEAL_II_NAMESPACE_OPEN
-
-#ifndef DOXYGEN
-
-namespace LinearAlgebra
-{
-  namespace distributed
-  {
-    template class Vector<float, ::dealii::MemorySpace::Default>;
-    template class Vector<double, ::dealii::MemorySpace::Default>;
-
-    template void
-    Vector<float, ::dealii::MemorySpace::Host>::import<
-      ::dealii::MemorySpace::Default>(
-      const Vector<float, ::dealii::MemorySpace::Default> &,
-      VectorOperation::values);
-    template void
-    Vector<double, ::dealii::MemorySpace::Host>::import<
-      ::dealii::MemorySpace::Default>(
-      const Vector<double, ::dealii::MemorySpace::Default> &,
-      VectorOperation::values);
-
-    template void
-    Vector<float, ::dealii::MemorySpace::Default>::import<
-      ::dealii::MemorySpace::Host>(
-      const Vector<float, ::dealii::MemorySpace::Host> &,
-      VectorOperation::values);
-    template void
-    Vector<double, ::dealii::MemorySpace::Default>::import<
-      ::dealii::MemorySpace::Host>(
-      const Vector<double, ::dealii::MemorySpace::Host> &,
-      VectorOperation::values);
-
-    template void
-    Vector<float, ::dealii::MemorySpace::Default>::import<
-      ::dealii::MemorySpace::Default>(
-      const Vector<float, ::dealii::MemorySpace::Default> &,
-      VectorOperation::values);
-    template void
-    Vector<double, ::dealii::MemorySpace::Default>::import<
-      ::dealii::MemorySpace::Default>(
-      const Vector<double, ::dealii::MemorySpace::Default> &,
-      VectorOperation::values);
-
-    template void
-    Vector<float, ::dealii::MemorySpace::Default>::reinit<float>(
-      const Vector<float, ::dealii::MemorySpace::Default> &,
-      const bool);
-    template void
-    Vector<double, ::dealii::MemorySpace::Default>::reinit<double>(
-      const Vector<double, ::dealii::MemorySpace::Default> &,
-      const bool);
-  } // namespace distributed
-} // namespace LinearAlgebra
-
-#endif // DOXYGEN
-
-DEAL_II_NAMESPACE_CLOSE

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.