KokkosKernels: Sparse matrix-matrix multiply test build error
Created by: mhoemmen
@trilinos/tpetra @trilinos/ifpack2 KokkosKernels' sparse matrix-matrix multiply test has a build error:
.../Trilinos/packages/tpetra/kernels/src/stage/graph/utils/KokkosKernels_SimpleUtils.hpp:50:41: error: no match for ‘operator>’ (operand types are ‘Kokkos::ViewTraits<Kokkos::complex<double>*, Kokkos::LayoutRight, Kokkos::Device<Kokkos::OpenMP, Kokkos::HostSpace>, Kokkos::MemoryTraits<0u> >::value_type {aka Kokkos::complex<double>}’ and ‘int’)
#define KOKKOSKERNELS_MACRO_ABS(x) ((x) > (0) ? (x): (-x))
^
.../Trilinos/packages/tpetra/kernels/src/stage/graph/utils/KokkosKernels_SimpleUtils.hpp:133:9: note: in expansion of macro ‘KOKKOSKERNELS_MACRO_ABS’
if (KOKKOSKERNELS_MACRO_ABS (val_diff) > eps) {
...
This may just be an issue with the test not accounting for complex numbers.