]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove incorrect static_assert when using CUDA-aware MPI 14616/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 27 Dec 2022 19:09:31 +0000 (14:09 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Tue, 27 Dec 2022 19:09:31 +0000 (14:09 -0500)
include/deal.II/lac/la_parallel_vector.templates.h

index 21b101d18b6dbdb8390532ef5d5bb5e153d69a80..7f5b70ab3ce4c8100b2c035a8fb016fdc8548c2f 100644 (file)
@@ -1143,11 +1143,6 @@ namespace LinearAlgebra
           else
 #  endif
             {
-#  ifdef DEAL_II_MPI_WITH_CUDA_SUPPORT
-              static_assert(
-                std::is_same<MemorySpaceType, dealii::MemorySpace::Host>::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());

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.