I work on converting a large Matlab code to C++ and CUDA. I have problems converting some sparse matrix operations like:
1. full_Matrix * sparse_Matrix
2. sparse_Matrix * full_Matrix
3. sparse_Matrix * sparse_Matrix (SOLVED WITH CUSP)
4. full_Matrix .* sparse_Matrix (elementwise multiplication)
5. sparse_Matrix * full_Matrix (elementwise multiplication)
6. sparse_Matrix .* sparse_Matrix (elementwise multiplication)
I was able to solve 2 using CUSPARSE and 3 using CUSP, however I wasn't able to use CUSP (or CUSPARSE) for elementwise matrix multiplication or for problem 1.
I'm interested if there is a CUDA library that implements all the above operations (preferably an open source one).