Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Erich_Zwyssig
Beginner
68 Views

newbi - how to use DftiComputeForward

Hija all

status = DftiComputeForward( desc_handle, x_in, y_out );

Can anybody tell me how I can find out what x_in and y_out are?


Thanks for your help

Erich
0 Kudos
4 Replies
Gennady_F_Intel
Moderator
68 Views

Hi Erich,
first of all, please look at the examples MKL DFTI examples. you can find them in \examples\dftc\source\ directory.
--Gennady
barragan_villanueva_
Valued Contributor I
68 Views

Hi Erich,

For out-of-place transforms x_in is for input data and y_out for output.
But for in-place transforms the only data pointer is for input and output.
Also, in case of split-complex data there should be used two separated pointers: for real and imagimary parts. Please take a look at MKL User Guide for more details.
barragan_villanueva_
Valued Contributor I
68 Views

Sorry, here is fragment from MKL Reference Manual (not User Guide as I mentioned before):

ComputeForward

Computes the forward FFT.

Syntax

Fortran:

status = DftiComputeForward( desc_handle, x_inout )

status = DftiComputeForward( desc_handle, x_in, y_out )

status = DftiComputeForward( desc_handle, xre_inout, xim_inout )

status = DftiComputeForward( desc_handle, xre_in, xim_in, yre_out, yim_out )

C:

status = DftiComputeForward( desc_handle, x_inout );

status = DftiComputeForward( desc_handle, x_in, y_out );

status = DftiComputeForward( desc_handle, xre_inout, xim_inout );

status = DftiComputeForward( desc_handle, xre_in, xim_in, yre_out, yim_out );

Erich_Zwyssig
Beginner
68 Views

Hi Gennady, (all)

Thanks for your great help and pointing me to the examples directory. I should be able to sort it out now.


Erich
Reply