GPU implementation
1 view (last 30 days)
Show older comments
Hi everyone,
I am trying to implement an imaging problem on GPU. i tried PCT. I have a lot of functions that are not supported by the PCT(like xcorr). I tried GPUmat and Jacket as well. they also suffer from similar problem.
I am not a good programmer of CUDA C/C++. So i really need to use MATLAB for this purpose. Can anyone suggest any idea?
-Saima
1 Comment
Jakub Sikorowski
on 1 Apr 2020
Hi Saima,
xcorr is available for gpuArray, is that what you're asking for?
See for example:
>> xcorr(gpuArray([1 2 3]), [4 5 6 7])
ans =
7 20 38 32 23 12 0
>> help gpuArray/xcorr
xcorr Cross-correlation function estimates.
C = xcorr(A,B)
C = xcorr(A)
C = xcorr(...,MAXLAG)
C = xcorr(...,SCALEOPT)
[C,LAGS] = xcorr(...)
Answers (0)
See Also
Categories
Find more on GPU Computing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!