<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hello, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Interrupt-a-thread-with-a-MKL-function/m-p/935552#M14079</link>
    <description>Hello,

Just check that boost document, it seems that the boost threading can interrupt at some interruption points. 
Which functions are you using the now? A few of MKL LAPACK functions support the progress callback functions:
&lt;A href="http://software.intel.com/sites/products/documentation/hpc/mkl/mklman/GUID-E982C8B0-E96D-414B-B263-BABF455963F7.htm#GUID-E982C8B0-E96D-414B-B263-BABF455963F7" target="_blank"&gt;http://software.intel.com/sites/products/documentation/hpc/mkl/mklman/GUID-E982C8B0-E96D-414B-B263-BABF455963F7.htm#GUID-E982C8B0-E96D-414B-B263-BABF455963F7&lt;/A&gt;
For these functions, you may define your callback function, and some interruption points there. so it could be interrupted. But gerneranly for other MKL functions, it may not work. 

Thanks,
Chao</description>
    <pubDate>Tue, 17 Dec 2013 10:09:10 GMT</pubDate>
    <dc:creator>Chao_Y_Intel</dc:creator>
    <dc:date>2013-12-17T10:09:10Z</dc:date>
    <item>
      <title>Interrupt a thread with a MKL function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Interrupt-a-thread-with-a-MKL-function/m-p/935551#M14078</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;How can I interrupt a thread that is performing a MKL subroutine? My threads are created with&amp;nbsp;boost::thread, and normally I use interruptions to stop my threads (n&lt;A href="http://www.boost.org/doc/libs/1_41_0/doc/html/thread/thread_management.html#thread.thread_management.interruption"&gt;http://www.boost.org/doc/libs/1_41_0/doc/html/thread/thread_management.html#thread.thread_management.interruption&lt;/A&gt;), but how can I do to stop a thread executing MKL code? Any ideas?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 12:48:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Interrupt-a-thread-with-a-MKL-function/m-p/935551#M14078</guid>
      <dc:creator>aurora</dc:creator>
      <dc:date>2013-12-11T12:48:22Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Interrupt-a-thread-with-a-MKL-function/m-p/935552#M14079</link>
      <description>Hello,

Just check that boost document, it seems that the boost threading can interrupt at some interruption points. 
Which functions are you using the now? A few of MKL LAPACK functions support the progress callback functions:
&lt;A href="http://software.intel.com/sites/products/documentation/hpc/mkl/mklman/GUID-E982C8B0-E96D-414B-B263-BABF455963F7.htm#GUID-E982C8B0-E96D-414B-B263-BABF455963F7" target="_blank"&gt;http://software.intel.com/sites/products/documentation/hpc/mkl/mklman/GUID-E982C8B0-E96D-414B-B263-BABF455963F7.htm#GUID-E982C8B0-E96D-414B-B263-BABF455963F7&lt;/A&gt;
For these functions, you may define your callback function, and some interruption points there. so it could be interrupted. But gerneranly for other MKL functions, it may not work. 

Thanks,
Chao</description>
      <pubDate>Tue, 17 Dec 2013 10:09:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Interrupt-a-thread-with-a-MKL-function/m-p/935552#M14079</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2013-12-17T10:09:10Z</dc:date>
    </item>
    <item>
      <title>Which are these functions? I</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Interrupt-a-thread-with-a-MKL-function/m-p/935553#M14080</link>
      <description>&lt;P&gt;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...&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 11:26:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Interrupt-a-thread-with-a-MKL-function/m-p/935553#M14080</guid>
      <dc:creator>aurora</dc:creator>
      <dc:date>2013-12-17T11:26:46Z</dc:date>
    </item>
  </channel>
</rss>

