Community
cancel
Showing results for 
Search instead for 
Did you mean: 
OP1
New Contributor I
71 Views

Avoiding array temporaries in a call to MKL DFT subroutines

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
71 Views

Hi Olivier,

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

Thanks,
Dima.
Reply