Community
cancel
Showing results for 
Search instead for 
Did you mean: 
erling_andersen
Beginner
56 Views

Usage of mkl_free_buffers

Jump to solution
Suppose I have an application that links MKL static and nonthreaded. Also assume I call MKL functions from several threads.
That should be fine. However, now I speculate how
mkl_free_buffers
works in this setting.
Can I call at any time and it will not crash? What if I call the function and buffer is in use?
Should I use another function to free all the buffers.
Erling
0 Kudos
1 Solution
barragan_villanueva_
Valued Contributor I
56 Views
Hi,

mkl_free_buffers function just releases memory for that buffers which are not in use and marked internally as free.
So, such buffers are conditionally taken to be used fast if such buffer will be required.

View solution in original post

1 Reply
barragan_villanueva_
Valued Contributor I
57 Views
Hi,

mkl_free_buffers function just releases memory for that buffers which are not in use and marked internally as free.
So, such buffers are conditionally taken to be used fast if such buffer will be required.

View solution in original post

Reply