From: Daniel Arndt Date: Wed, 28 Dec 2022 21:43:53 +0000 (+0100) Subject: Remove la_parallel_vector_cuda.cc X-Git-Tag: v9.5.0-rc1~697^2~11 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e88e018e44704e01e15825ed27f35f9fc636b4d;p=dealii.git Remove la_parallel_vector_cuda.cc --- diff --git a/source/lac/CMakeLists.txt b/source/lac/CMakeLists.txt index 24f1ad0fff..67c87fda8b 100644 --- a/source/lac/CMakeLists.txt +++ b/source/lac/CMakeLists.txt @@ -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 diff --git a/source/lac/la_parallel_vector.cc b/source/lac/la_parallel_vector.cc index 9c4928ac1a..d738104be4 100644 --- a/source/lac/la_parallel_vector.cc +++ b/source/lac/la_parallel_vector.cc @@ -42,6 +42,51 @@ namespace LinearAlgebra #endif #undef TEMPL_COPY_CONSTRUCTOR + + template class Vector; + template class Vector; + + template void + Vector::import< + ::dealii::MemorySpace::Default>( + const Vector &, + VectorOperation::values); + template void + Vector::import< + ::dealii::MemorySpace::Default>( + const Vector &, + VectorOperation::values); + + template void + Vector::import< + ::dealii::MemorySpace::Host>( + const Vector &, + VectorOperation::values); + template void + Vector::import< + ::dealii::MemorySpace::Host>( + const Vector &, + VectorOperation::values); + + template void + Vector::import< + ::dealii::MemorySpace::Default>( + const Vector &, + VectorOperation::values); + template void + Vector::import< + ::dealii::MemorySpace::Default>( + const Vector &, + VectorOperation::values); + + template void + Vector::reinit( + const Vector &, + const bool); + template void + Vector::reinit( + const Vector &, + 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 index 91fc69a625..0000000000 --- a/source/lac/la_parallel_vector_cuda.cc +++ /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 -#include - -DEAL_II_NAMESPACE_OPEN - -#ifndef DOXYGEN - -namespace LinearAlgebra -{ - namespace distributed - { - template class Vector; - template class Vector; - - template void - Vector::import< - ::dealii::MemorySpace::Default>( - const Vector &, - VectorOperation::values); - template void - Vector::import< - ::dealii::MemorySpace::Default>( - const Vector &, - VectorOperation::values); - - template void - Vector::import< - ::dealii::MemorySpace::Host>( - const Vector &, - VectorOperation::values); - template void - Vector::import< - ::dealii::MemorySpace::Host>( - const Vector &, - VectorOperation::values); - - template void - Vector::import< - ::dealii::MemorySpace::Default>( - const Vector &, - VectorOperation::values); - template void - Vector::import< - ::dealii::MemorySpace::Default>( - const Vector &, - VectorOperation::values); - - template void - Vector::reinit( - const Vector &, - const bool); - template void - Vector::reinit( - const Vector &, - const bool); - } // namespace distributed -} // namespace LinearAlgebra - -#endif // DOXYGEN - -DEAL_II_NAMESPACE_CLOSE