GPU implementation

1 Ansicht (letzte 30 Tage)
saima
saima am 31 Mär. 2012
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 Kommentar
Jakub Sikorowski
Jakub Sikorowski am 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(...)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by