GPU implementation

1 次查看(过去 30 天)
saima
saima 2012-3-31
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 个评论
Jakub Sikorowski
Jakub Sikorowski 2020-4-1
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(...)

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by