Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CUDA/Thrust Image Processing

I was unable to find any information about if the Thrust library could support matrix operations. Therefore, I was wondering if it were possible to use the Thrust library in Image processing? I would also like to see any examples.

Thanks for any responses.

like image 642
Sharpie Avatar asked Jul 09 '26 11:07

Sharpie


2 Answers

For image processing, you may want the NPP library. Since you asked about matrix operations, you may want to take a look at CUBLAS and CUSPARSE, also available from nVidia, here.

As for actual Thrust integration of these libraries, many of us have been asking nVidia for that for ages. Roll your own wrapper is the way to go in this case.

That said, Thrust is fantastic for manipulating 1D signals.

like image 74
peakxu Avatar answered Jul 12 '26 02:07

peakxu


Thrust supports regualar algebra operations on matrices but if you are using mostly sparse matrices and need solver type operations take a look at cusp

like image 25
Martin Beckett Avatar answered Jul 12 '26 00:07

Martin Beckett



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!