I've built the library using CMake with the corresponding script and tried to run test/gspgemm.cu example. I have modified it a bit for it to read the matrix of mine. I had one run with PlusMultipliesSemiring and got the correct output. Then I ran the same example with MinimumPlusSemiring and got the same result as the PlusMultipliesSemiring one (which is incorrect in the case of minplus semiring).
The minimal reproducible example (Note: another issue is that uncommenting the lines at the bottom leads to segfault):
I've built the library using CMake with the corresponding script and tried to run
test/gspgemm.cu
example. I have modified it a bit for it to read the matrix of mine. I had one run withPlusMultipliesSemiring
and got the correct output. Then I ran the same example withMinimumPlusSemiring
and got the same result as thePlusMultipliesSemiring
one (which is incorrect in the case of minplus semiring).The minimal reproducible example (Note: another issue is that uncommenting the lines at the bottom leads to segfault):
example matrix:
gspgemm with
PlusMultipliesSemiring
yields:which is correct, while
MinimumPlusSemiring
yields the same result as above when the correct one is: