From: Bruno Turcksin Date: Tue, 27 Dec 2022 19:09:31 +0000 (-0500) Subject: Remove incorrect static_assert when using CUDA-aware MPI X-Git-Tag: v9.5.0-rc1~704^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48649f6c77b4c8cac8edf5cadebdb9ceccc8cbc7;p=dealii.git Remove incorrect static_assert when using CUDA-aware MPI --- diff --git a/include/deal.II/lac/la_parallel_vector.templates.h b/include/deal.II/lac/la_parallel_vector.templates.h index 21b101d18b..7f5b70ab3c 100644 --- a/include/deal.II/lac/la_parallel_vector.templates.h +++ b/include/deal.II/lac/la_parallel_vector.templates.h @@ -1143,11 +1143,6 @@ namespace LinearAlgebra else # endif { -# ifdef DEAL_II_MPI_WITH_CUDA_SUPPORT - static_assert( - std::is_same::value, - "This code path should only be compiled for CUDA-aware-MPI for MemorySpace::Host!"); -# endif if (import_data.values.size() == 0) Kokkos::resize(import_data.values, partitioner->n_import_indices());