kokkos-kernels icon indicating copy to clipboard operation
kokkos-kernels copied to clipboard

Integer division by zero error in sparse trsv

Open MalachiTimothyPhillips opened this issue 1 year ago • 0 comments

I have a use-case where a matrix has no entries on a given processor. This ends up doing a division by zero (the local row count) here: https://github.com/kokkos/kokkos-kernels/blob/develop/sparse/impl/KokkosSparse_trsv_impl.hpp#L212.

On some platform/compiler combinations, this ends up becoming a Floating point exception: integer divide by zero.

MalachiTimothyPhillips avatar Apr 17 '24 19:04 MalachiTimothyPhillips