<?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 Re: OpenMP thread priority on OSX in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/OpenMP-thread-priority-on-OSX/m-p/860198#M2274</link>
    <description>&lt;P&gt;Hi Stephane,&lt;/P&gt;
&lt;P&gt;I don't think we'll be able to help here, since this forum is focused on cluster applications, but I'm moving your question to the threading forum. Perhaps they'll be able to help you with your query.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;~Gergana&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2009 23:00:41 GMT</pubDate>
    <dc:creator>Gergana_S_Intel</dc:creator>
    <dc:date>2009-09-28T23:00:41Z</dc:date>
    <item>
      <title>OpenMP thread priority on OSX</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/OpenMP-thread-priority-on-OSX/m-p/860197#M2273</link>
      <description>Hi,
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;We are experimenting in using OpenMP in "real-time" Audio code on OSX. We would expect worker threads started by OpenMP for a parallel region to get the priority of the master thread (in our case a "time-constraint" thread) but this is not the case.
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;SPAN style="border-collapse: collapse; font-size: 13px; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;It this a known problem?&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Stephane Letz&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Sep 2009 16:52:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/OpenMP-thread-priority-on-OSX/m-p/860197#M2273</guid>
      <dc:creator>letz</dc:creator>
      <dc:date>2009-09-28T16:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: OpenMP thread priority on OSX</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/OpenMP-thread-priority-on-OSX/m-p/860198#M2274</link>
      <description>&lt;P&gt;Hi Stephane,&lt;/P&gt;
&lt;P&gt;I don't think we'll be able to help here, since this forum is focused on cluster applications, but I'm moving your question to the threading forum. Perhaps they'll be able to help you with your query.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;~Gergana&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2009 23:00:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/OpenMP-thread-priority-on-OSX/m-p/860198#M2274</guid>
      <dc:creator>Gergana_S_Intel</dc:creator>
      <dc:date>2009-09-28T23:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: OpenMP thread priority on OSX</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/OpenMP-thread-priority-on-OSX/m-p/860199#M2275</link>
      <description>AFAIK OpenMP lacks any priority-controlling tools. OMP is desinged as a relatively high-level API for multi-processing, particularly parallel computations; not for general-purpose threads. I'm afraid such details are implementation-dependent.&lt;BR /&gt;If you need priorities you should use a lower-level library, like Pthreads or native threads of your OS.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Oct 2009 16:45:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/OpenMP-thread-priority-on-OSX/m-p/860199#M2275</guid>
      <dc:creator>Bartlomiej</dc:creator>
      <dc:date>2009-10-05T16:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: OpenMP thread priority on OSX</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/OpenMP-thread-priority-on-OSX/m-p/860200#M2276</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Without full knowledge of the situation, I would expect the OpenMP threads to get the priority of the process from which OpenMP is first invoked. If a thread were opened directly outside OpenMP, e.g. by pthreads, I suppose OpenMP would not be aware of its priority nor would it count it when determining how many threads to open or which affinities to set. If you started OpenMP threads from within a thread, if OpenMP were aware of the parent thread, it would not even use multiple threads unless OMP_NESTED were set.&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Oct 2009 17:14:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/OpenMP-thread-priority-on-OSX/m-p/860200#M2276</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-10-05T17:14:38Z</dc:date>
    </item>
  </channel>
</rss>

