You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a build error in Trilinos' PR testing now:
/scratch/trilinos/workspace/trilinos-folder/Trilinos_pullrequest_gcc_7.2.0/Trilinos/packages/kokkos-kernels/src/sparse/KokkosSparse_spmv.hpp:231:32: error: comparison between ‘enum Kokkos::ViewTraits<const Kokkos::complex<double>**, Kokkos::LayoutLeft, Kokkos::Device<Kokkos::Serial, Kokkos::HostSpace>, Kokkos::MemoryTraits<1> >::<unnamed>’ and ‘enum Kokkos::ViewTraits<Kokkos::complex<double>**, Kokkos::LayoutLeft, Kokkos::Device<Kokkos::Serial, Kokkos::HostSpace>, Kokkos::MemoryTraits<1> >::<unnamed>’ [-Werror=enum-compare]
static_assert (XVector::rank == YVector::rank,
~~~~~~~~~~~~~~^~~~~~~~~~
cc1plus: all warnings being treated as errors
It didn't show up in Trilinos before because nobody was calling KokkosSparse::spmv before with an input (multi)vector that's a View of const T. I need to patch Trilinos to fix this.
Looks easy to fix; just cast both sides to
int
.The text was updated successfully, but these errors were encountered: