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

Enable MKL parallelism for FFT/iFFT

vlsergey
Beginner
408 Views
Hi,

I'm tryingusing MKL 10.1 to perforf FFT / iFFT transform. But, so far, according to process explorer and timing, only one processor core is used. SettingMKL_DYNAMIC=false, MKL_NUM_THREADS=4 has no effect.

Intel Core i7 920 @ 2.67 Ghz, Memory (RAM): 6 Gb
Windows Vista 64-but Enterprise
Intel MKL 10.1, mkl_java_stubs compiled by MS Visual Studio 2008 (with /openmp, using em64t libraries and internal compiler)
Initialization of DFTI descriptor is:
		desc_handle = DFTI.CreateDescriptor(DFTI.DOUBLE, DFTI.REAL,
				1, length);
		DFTI.SetValue(desc_handle, DFTI.PLACEMENT, DFTI.INPLACE);
		DFTI.CommitDescriptor(desc_handle);
Tried both in-place and out-place transformations. Data length are always power of two.

Thanks for any ideas, how to enable internal MKL parallelism.
0 Kudos
1 Reply
Dmitry_B_Intel
Employee
408 Views

Hello, vlsergey

One-dimensional real-to-complex FFTs are not threaded currently. However, should you compute several transforms in a row, MKL will do it in parallel if you set DFTI_NUMBER_OF_TRANSFORMS > 1.

Dima
0 Kudos
Reply