Replies: 1 comment
-
|
Unfortunately I would expect memory leaks from any BLAS function called by the LAPACK routine, if a thread is terminated abruptly. And there is nothing in the BLAS or LAPACK API that would permit sending an orderly stop command - killing individual threads could potentially cause a lockup in a multithreaded OpenBLAS. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We're running calculations with LAPACK from OpenBLAS that need be cancel-able at any time. I'm looking to find out if a thread can be aborted safely while running an OpenBLAS routine, or that OpenBLAS may have memory allocated that leaks when that happens.
Assume that any working arrays passed to LAPACK from our code can get freed in a clean-up routine. I'm asking whether OpenBLAS allocates and frees additional memory inside the routine that cannot be freed in a clean-up routine in our code.
Beta Was this translation helpful? Give feedback.
All reactions