From: Bruno Turcksin Date: Sun, 13 Jan 2019 03:02:13 +0000 (-0500) Subject: Add missing instantiations for ditributed CUDA vectors X-Git-Tag: v9.1.0-rc1~441^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff3ccb97e1836cb2f70788ae92b88a795837a35c;p=dealii.git Add missing instantiations for ditributed CUDA vectors --- diff --git a/source/lac/vector_memory.cc b/source/lac/vector_memory.cc index 0b5e84c3ae..f15f32800e 100644 --- a/source/lac/vector_memory.cc +++ b/source/lac/vector_memory.cc @@ -35,6 +35,16 @@ template class VectorMemory>; template class VectorMemory>; template class GrowingVectorMemory>; template class GrowingVectorMemory>; +# ifdef DEAL_II_WITH_MPI +template class VectorMemory< + LinearAlgebra::distributed::Vector>; +template class VectorMemory< + LinearAlgebra::distributed::Vector>; +template class GrowingVectorMemory< + LinearAlgebra::distributed::Vector>; +template class GrowingVectorMemory< + LinearAlgebra::distributed::Vector>; +# endif #endif namespace internal @@ -51,6 +61,14 @@ namespace internal float>>::release_unused_memory(); dealii::GrowingVectorMemory>::release_unused_memory(); +# ifdef DEAL_II_WITH_MPI + dealii::GrowingVectorMemory< + dealii::LinearAlgebra::distributed::Vector>:: + release_unused_memory(); + dealii::GrowingVectorMemory< + dealii::LinearAlgebra::distributed::Vector>:: + release_unused_memory(); +# endif #endif } } // namespace GrowingVectorMemoryImplementation