diff --git a/include/ddc/kokkos_allocator.hpp b/include/ddc/kokkos_allocator.hpp index cd6701c9a..3cd4d0d68 100644 --- a/include/ddc/kokkos_allocator.hpp +++ b/include/ddc/kokkos_allocator.hpp @@ -15,7 +15,7 @@ namespace ddc { template class KokkosAllocator { - // Kokkos natively supports alignment for any scalar type that can be represented by the type `std::max_align_t` + // Kokkos natively supports alignment for any scalar type and `Kokkos::complex` static_assert( alignof(T) <= std::max(alignof(std::max_align_t), alignof(Kokkos::complex)),