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

Reuse DFT descriptors?

lhartzman
Beginner
292 Views

I see that the DFT routines require a 'descriptor' to be created dynamically (and later freed).

Can the descriptor be reused by another function, or does each call for the DFT routines require a 'create'/'free' pair?

I'm worried about constant heap requests. Since I'm on MKL 7.2 currently I cannot provide my own 'malloc' function which could use a pre-allocated buffer.

0 Kudos
1 Reply
lhartzman
Beginner
292 Views

I've discovered that you can reuse the descriptor. One less item to think about.

Les

0 Kudos
Reply