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

Avoiding array temporaries in a call to MKL DFT subroutines

OP1
New Contributor I
122 Views

I want to perform a series of 1D FFT operations on the columns of an array A. These 1D FFT operations need not be performed at the same time. In other words, at some point in the execution of my code, a 1D FFT is done on, say, A(:,12), then later on, another one on A(:,40) etc.
How can I prevent the creation of an array temporary in these FFT calls? A is an allocatable array, and therefore A(:,1) elements are contiguous. Passing A(1,12) (address of first element) does not work either.

Thanks,

Olivier

0 Kudos
1 Reply
Dmitry_B_Intel
Employee
122 Views
Hi Olivier,

passing A(:,12) should work for 12th column, without creating a temporary.

Thanks,
Dima.
Reply