Closed jjellio closed 8 months ago
@trilinos/kokkos-kernels
@jjellio could you still give us the part of your configuration associated with Kokkos and Kokkos Kernels? That would make it easier for us to reproduce this.
Seems like you just need to enable -DTPL_ENABLE_ROCSPARSE=ON
...
But I've cut down the configure to effectively be just that:
Worth pointing out: In this configure script if you don't explicitly enable Kokkos, it enables Kokkos, but does not respect the Kokkos_ENABLE_HIP option (some bug in the Tribits/Cmake mojo). Just a note from when I cut my config down as much as possible (thinking I could get away with Kokkos_ENABLE_HIP=ON
and -DTrilinos_ENABLE_KokkosKernels=ON
(plus the other stuff)
Thanks, I'll go have a look and try to reproduce, I'll let you know if I run into some difficulties. Hopefully this should not be too bad to fix!
@cwpearson looking at the error above, the code in Trilinos and the code in Kokkos Kernels, it seems that this error is due to a bug in the TPL layer for rocsparse that was fixed in Kokkos Kernels but not in Trilinos.
Basically going from typename AMatrix::block_layout
to typename AMatrix::block_layout_type
in KokkosSparse_spmv_bsrmatrix_tpl_spec_decl.hpp:917
should get things to compile right?
@jjellio I think we fixed this in https://github.com/trilinos/Trilinos/pull/12330, could you try again and report back? Thanks
Will do
ping?
Bug Report
I've tried setting
TPL_ENABLE_ROCSPARSE=ON
with Trilinos/develop, and this is causing a compiler error from KK. This is an MI250x build (HIP execution space, etc..) This is also aCOMPLEX_DOUBLE
enabled buildMy configure script isn't going to be too helpful, unless you can acces the system I am on. This should be a matter of just trying to configure Trilinos on an AMD system with
-DTPL_ENABLE_ROCSPARSE=ON