Skip to content

Commit

Permalink
Merge pull request #14616 from Rombur/fix_kokkos_memory_space
Browse files Browse the repository at this point in the history
Remove incorrect static_assert when using CUDA-aware MPI
  • Loading branch information
drwells committed Dec 28, 2022
2 parents f7186bd + 48649f6 commit 4842cdf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/deal.II/lac/la_parallel_vector.templates.h
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 4842cdf

Please sign in to comment.