daphne-eu / daphne

DAPHNE: An Open and Extensible System Infrastructure for Integrated Data Analysis Pipelines
Apache License 2.0
67 stars 62 forks source link

Implementation of CSR/CSR Matrix Multiplication (`@`) #799

Closed GuilloteauQ closed 3 months ago

GuilloteauQ commented 3 months ago

This PR implements a kernel for the matrix multiplication between two CSR matrices.

Related Issue: #793

Fixes also #783

Questions

corepointer commented 3 months ago

Sparsity estimation is being worked on in #790. Maybe the link you provided here can be of help there? @Garic152

corepointer commented 3 months ago

Some test cases would be awesome. Maybe something similar to the dense mat mult test?

Garic152 commented 3 months ago

Sparsity estimation is being worked on in #790. Maybe the link you provided here can be of help there?

Thanks, I'll definetly take a look at it!

corepointer commented 3 months ago

Thx for submitting this PR @GuilloteauQ. I merged with some cleanup and test cases and added a commit that circumvents the missing transposition functionality. Since you implemented this already as mentioned in #793 I'd kindly ask you to provide this implementation as well. Ideally you can also modify the compiler logic to use the method with or w/o the transposition depending on the situation.