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
See kokkos/kokkos#3974 for more info of underlying cause in Kokkos (>64 bit atomics just haven't been implemented yet for HIP).
update: I just re-ran the reproducer for that issue and atomic_add(complex<double>*, ...) is still giving incorrect results. So I'm pretty sure that's still the reason for gemv/spmv failing here, since those both use atomics. I'm no expert in supernodal sptrsv but it uses atomic-trait views in the solve, so I think it's the same issue there.
@ndellingwood With the merge of kokkos/kokkos#4159, all of these are now fixed (just tested develop, caraway MI50, rocm 4.2). I guess we could now add complex to the nightly HIP build.
This is a summary of unit tests are failing with the Hip backend with complex_double scalar types enabled:
Kokkos SHA: kokkos/kokkos@27adabb
KokkosKernels SHA: 2ada47e
BLAS:
SPARSE:
Sample outputs:
hip.gemv_complex_double
hip.gemm_complex_double
hip.sparse_spmv_kokkos_complex_double_int_int_TestExecSpace
Similarly,
hip.sparse_spmv_kokkos_complex_double_int_size_t_TestExecSpace
hip.sparse_spmv_mv_kokkos_complex_double_int_int_LayoutLeft_TestExecSpace
hip.sparse_spmv_mv_kokkos_complex_double_int_size_t_LayoutLeft_TestExecSpace
hip.sparse_sptrsv_kokkos_complex_double_int_int_TestExecSpace
Similarly
hip.sparse_sptrsv_kokkos_complex_double_int_size_t_TestExecSpace
Reproducer instructions (Caraway testbed, MI50 nodes):
The text was updated successfully, but these errors were encountered: