GPU implementation
조회 수: 1 (최근 30일)
이전 댓글 표시
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
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!