From 48649f6c77b4c8cac8edf5cadebdb9ceccc8cbc7 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Tue, 27 Dec 2022 14:09:31 -0500 Subject: [PATCH] Remove incorrect static_assert when using CUDA-aware MPI --- include/deal.II/lac/la_parallel_vector.templates.h | 5 ----- 1 file changed, 5 deletions(-) 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()); -- 2.39.5