Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6951 Discussions

Why does the mkl fft routine return unreasonably large number?

hadesmajesty
Beginner
185 Views

The code is like this

Status = DftiCreateDescriptor(FFT_Handle32, DFTI_DOUBLE, DFTI_REAL, 1, k32+1)

Status = DftiCommitDescriptor(FFT_Handle32)

Do

Status = DftiComputeBackward(FFT_Handle32, temptv32)

End do

I have initialized the FFT_Handle32, and run the loop for many times for different arrays temptv32. One of the arrays has exactly zero, but the backward FFT routine returns numbers like 6.187317420301585E+195. Why is that?

Thank you in advance.

0 Kudos
2 Replies
barragan_villanueva_
Valued Contributor I
185 Views
Hi,

Please send us small testcase to analyze your problem together with information: MKL-version, architecture, OS, etc.
0 Kudos
Gennady_F_Intel
Moderator
185 Views
Hellohadesmajesty,
how about the test case for reproducing the problem? The existing cases don't show the problem on our side.
--Gennady
0 Kudos
Reply