<?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: mesuring cost of communication between threads in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/mesuring-cost-of-communication-between-threads/m-p/859534#M2231</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/331311"&gt;karimfath&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;hello&lt;/P&gt;
&lt;P&gt;i want to mesure the number of processor cycle used in communication between two threads in &lt;STRONG&gt;openmp&lt;/STRONG&gt; program .&lt;/P&gt;
&lt;P&gt;my program consist of thread 0 write a matrix 1000*1000 and thread 1 read the matrix&lt;/P&gt;
&lt;P&gt;-we used rdtsc() to count the number of cycle but i m not sure that thread 0 is runing on core 1 and thread 1 is runing on core 2 .&lt;/P&gt;
&lt;P&gt;i want a function that help me to place thread 0 in core 1 and thread 1 in core 2&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Intel OpenMP supports both (either) the KMP_AFFINITY or GOMP_CPU_AFFINITY environment variables.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Oct 2008 13:30:49 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2008-10-27T13:30:49Z</dc:date>
    <item>
      <title>mesuring cost of communication between threads</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/mesuring-cost-of-communication-between-threads/m-p/859532#M2229</link>
      <description>&lt;P&gt;hello&lt;/P&gt;
&lt;P&gt;i want to mesure the number of processor cycle used in communication between two threads in &lt;STRONG&gt;openmp&lt;/STRONG&gt; program .&lt;/P&gt;
&lt;P&gt;my program consist of thread 0 write a matrix 1000*1000 and thread 1 read the matrix&lt;/P&gt;
&lt;P&gt;-we used rdtsc() to count the number of cycle but i m not sure that thread 0 is runing on core 1 and thread 1 is runing on core 2 .&lt;/P&gt;
&lt;P&gt;i want a function that help me to place thread 0 in core 1 and thread 1 in core 2&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sun, 26 Oct 2008 21:21:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/mesuring-cost-of-communication-between-threads/m-p/859532#M2229</guid>
      <dc:creator>karimfath</dc:creator>
      <dc:date>2008-10-26T21:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: mesuring cost of communication between threads</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/mesuring-cost-of-communication-between-threads/m-p/859533#M2230</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/331311"&gt;karimfath&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;hello&lt;/P&gt;
&lt;P&gt;i want to mesure the number of processor cycle used in communication between two threads in &lt;STRONG&gt;openmp&lt;/STRONG&gt; program .&lt;/P&gt;
&lt;P&gt;my program consist of thread 0 write a matrix 1000*1000 and thread 1 read the matrix&lt;/P&gt;
&lt;P&gt;-we used rdtsc() to count the number of cycle but i m not sure that thread 0 is runing on core 1 and thread 1 is runing on core 2 .&lt;/P&gt;
&lt;P&gt;i want a function that help me to place thread 0 in core 1 and thread 1 in core 2&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;Karimfath,&lt;/P&gt;
&lt;P&gt;You can lock each thread to run on a specific processor or group of processors. The technique may vary depending on your operating system and tools. Using Microsoft Visual Studio Use SetThreadAffinityMask to specify a bit mask of processors on which the thread is restricted to running on. See documentation for how to make the call.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2008 13:11:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/mesuring-cost-of-communication-between-threads/m-p/859533#M2230</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2008-10-27T13:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: mesuring cost of communication between threads</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/mesuring-cost-of-communication-between-threads/m-p/859534#M2231</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/331311"&gt;karimfath&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;hello&lt;/P&gt;
&lt;P&gt;i want to mesure the number of processor cycle used in communication between two threads in &lt;STRONG&gt;openmp&lt;/STRONG&gt; program .&lt;/P&gt;
&lt;P&gt;my program consist of thread 0 write a matrix 1000*1000 and thread 1 read the matrix&lt;/P&gt;
&lt;P&gt;-we used rdtsc() to count the number of cycle but i m not sure that thread 0 is runing on core 1 and thread 1 is runing on core 2 .&lt;/P&gt;
&lt;P&gt;i want a function that help me to place thread 0 in core 1 and thread 1 in core 2&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Intel OpenMP supports both (either) the KMP_AFFINITY or GOMP_CPU_AFFINITY environment variables.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2008 13:30:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/mesuring-cost-of-communication-between-threads/m-p/859534#M2231</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-10-27T13:30:49Z</dc:date>
    </item>
  </channel>
</rss>

