Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anyone knows a good library which implements basic sparse matrix operations such as transpose, SpMV eigenvalues etc. in GPU (cuda/opencl) .


share|improve this question
Well, there's Cusp, and for SpMV, there's this technical report by NVIDIA, but I'm skeptical of doing sparse linear algebra on GPUs (see On the limits of GPU acceleration by Vuduc, et al, whose work is reputable). You're probably better off trying to do the sparse linear algebra on CPUs. – Geoff Oxberry Nov 30 '12 at 6:33
Hi zimbra, welcome to scicomp! Can you give a few more details about your application domain, expected problem sizes, and whether you would like to take advantages of multiple GPUs on distributed nodes (like a GPU-based cluster or supercomputer)? – Aron Ahmadia Nov 30 '12 at 22:31

Check ViennaCL. I use that library in many projects to improve performance of sparse operations and I am very pleased with the results. Remember that using GPU makes sense only for relatively large size of the jobs. Otherwise, it is not cost-effective.

share|improve this answer
Thanks for suggestion. I was already looking into it. – zimbra314 Dec 3 '12 at 20:49

The cuSPARSE library is the official library developed by Nvidia and comes with the CUDA SDK, it implements a lot of sparse matrix operations.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.