Open maartenarnst opened 1 week ago
@lucbv
Looks like it will be solved :)
Yes, it was good timing you reminded me about this, I was able to "jump on it" effectively during the meeting. Since we are the biggest user of this container I think it is reasonable to move it : )
@brian-kelley @romintomasetti
In the following PR:
the default size types of
KokkosSparse::CrsMatrix
and several other matrix types were changed todefault_size_type
. This is typicallyint
orsize_t
depending on the configuration of Kokkos-kernels.However, in
Kokkos::StaticCrsGraph
, the default size type is taken from aViewTraits
instance. Typically, that size type is in turn a size type of a space, and it need not beint
orsize_t
.The issue is thus that these default size types are not necessarily the same. And because
KokkosSparse::CrsMatrix
andKokkos::StaticCrsGraph
are so interrelated, this discrepancy can lead to problems when using eg. theKokkosSparse::CrsMatrix
constructor that takes aKokkos::StaticCrsGraph
among its arguments.This issue is thus a suggestion to consider whether further consistency across the size types may be worth pursuing.