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

MKL_Complex16 Data Types

tadhgm
Beginner
486 Views
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 Replies
Dmitry_B_Intel
Employee
486 Views

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

0 Kudos
tadhgm
Beginner
486 Views
Thanks Dima, I have been to trying to find an answer to that for a while

Tadhg
0 Kudos
Reply