How can I interrupt a thread that is performing a MKL subroutine? My threads are created with boost::thread, and normally I use interruptions to stop my threads (nhttp://www.boost.org/doc/libs/1_41_0/doc/html/thread/thread_management.html#thread.thread_management...), but how can I do to stop a thread executing MKL code? Any ideas?
Thanks in advance!
Which are these functions? I cant find a using example of mkl_progress with LAPACK. Anyway I would need this for BLAS subroutines also like dgemm...
Another question is: Can be a mkl function in a thread forced to terminate without messing the internal state of the mkl? I mean leaks or critical zones with semaphores that could block another mkl thread.