Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

newbi - how to use DftiComputeForward

Erich_Zwyssig
初学者
679 次查看
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 项奖励
4 回复数
Gennady_F_Intel
主持人
679 次查看
Hi Erich,
first of all, please look at the examples MKL DFTI examples. you can find them in \examples\dftc\source\ directory.
--Gennady
0 项奖励
barragan_villanueva_
重要分销商 I
679 次查看
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.
0 项奖励
barragan_villanueva_
重要分销商 I
679 次查看

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 );

0 项奖励
Erich_Zwyssig
初学者
679 次查看
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
0 项奖励
回复