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

Bound on DFTI DESCRIPTORS?

paul_gross
Beginner
1,045 Views
I get a DFTI_MEMORY_ERROR from CreateDescriptor or CommitDescriptor when I try to create more than 10 DFTI_DESCRIPTORs. The behavior is independent of the parameters used to create the descriptor.
Is there an upper bound on the number of descriptors which may be instantiated at one time? If so, is there documentation on this?
Thanks,
Paul
0 Kudos
2 Replies
Todd_R_Intel
Employee
1,045 Views
The memory management software in MKLlimits the number of memory allocations that can be performed.See the MKL Technical User Notes, for information on how to turn it off. Note that this may decrease performance on functions where allocating and deallocating memory occurs with each function call.
-Todd
0 Kudos
paul_gross
Beginner
1,045 Views
Thanks for your reply, Todd.
Indeed, disabling memory mangement makes the problem go away.
My only comment is that one would expect a memory manager to have some sort of dynamic behavior, especially considering that the bit of memory that it allocates for MKL purposes does not appear to be very large.
Thanks again,
Paul
0 Kudos
Reply