, the Memory Allocator uses per-thread memory pools where buffers may be collected for fast reuse. The
function frees unused memory allocated by the Memory Allocator in the current thread only.
You should call
after the last call to
Intel® oneAPI Math Kernel Library
functions in the current thread. In large applications, if you suspect that the memory may get insufficient, you may call this function earlier, but anticipate a drop in performance that may occur due to reallocation of buffers for subsequent calls to