CUDA fft with prime number lengths

조회 수: 4 (최근 30일)
Rodrigo
Rodrigo 2015년 11월 7일
답변: Edric Ellis 2015년 11월 9일
Hi, I just ran into a curious problem with R2015a'a GPU fftn function. For some reason fftn and ifftn refuse to transform 512x512x277 gpuArrays. Both a=fftn(b) and a=ifftn(b), where b is 512x512x277, return a=b as answers. The CPU version of the routine does what it's supposed to.
In hindsight, 277 is a rather large prime number, so it's not unreasonable for cuFFT to choke, but why doesn't it produce an error message or non-sense output?
Thanks, Rodrigo

답변 (1개)

Edric Ellis
Edric Ellis 2015년 11월 9일
Thankyou for reporting this problem. In R2015b, this transform actually fails with an error, so I suspect that in R2015a the transform fails in a similar manner but without reporting an error, and so we end up returning the transform input.

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by