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

MKL_Complex16 Data Types

tadhgm
Einsteiger
1.750Aufrufe
Hi,

Is it possible to use the MKL_Complex16 data type instead of the _Complex data type when using the Intel DFT?

Thanks,
Tadhg
0 Kudos
2 Antworten
Dmitry_B_Intel
Mitarbeiter
1.750Aufrufe

Tadhg,

Yes, C99's "double _Complex" andMKL's "MKL_Complex16" have the samememory layout, so they arefully interchangeable behind the scene. You only have to care about proper casting, to please the compiler (or to fool it).

Regards,
Dima

tadhgm
Einsteiger
1.750Aufrufe
Thanks Dima, I have been to trying to find an answer to that for a while

Tadhg
Antworten