GPU implementation

2 vues (au cours des 30 derniers jours)
saima
saima le 31 Mar 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 commentaire
Jakub Sikorowski
Jakub Sikorowski le 1 Avr 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(...)

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur GPU Computing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by