필터 지우기
필터 지우기

Calling CUDA library functions from Matlab

조회 수: 1 (최근 30일)
John R
John R 2011년 11월 17일
Hi Everybody,
I am trying to reduce the time it takes to do some sparse matrix vector multiplications by using my GPU. I found this documentation on doing exactly that: http://www.nvidia.com/docs/IO/66889/nvr-2008-004.pdf
on the NVIDIA website. However, I am confused about how I to call the CUDA code from Matlab. I think what I need to do is to compile it into a .mex file, but I'm having trouble with accomplishing this. Plus, I'm not sure in what format MATLAB stores sparse matrices. Can anyone give me some guidance on this, or point me to a good example which would outline it for me?

채택된 답변

Abhishek
Abhishek 2012년 5월 20일
Hi,
This link might be able to help.
Cheers.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by