<?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 Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Offloading-and-Threadprivate-variables/m-p/936009#M15890</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;!dir$ attributes offload:mic :: var_save is equivalent to !$OMP DECLARE TARGET (var_save), which is not permitted by the OMP 4.0 Spec, Section 2.9.4:&lt;/P&gt;

&lt;P&gt;Fortran&lt;/P&gt;

&lt;P&gt;&amp;nbsp; Restrictions&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;A threadprivate variable cannot appear in a declare target directive.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;</description>
    <pubDate>Tue, 04 Mar 2014 19:03:03 GMT</pubDate>
    <dc:creator>pbkenned1</dc:creator>
    <dc:date>2014-03-04T19:03:03Z</dc:date>
    <item>
      <title>Offloading and Threadprivate variables</title>
      <link>https://community.intel.com/t5/Software-Archive/Offloading-and-Threadprivate-variables/m-p/936008#M15889</link>
      <description>&lt;P&gt;Is it not possible to offload threadprivate globals?&lt;/P&gt;

&lt;P&gt;Compiling the following:&lt;/P&gt;

&lt;P&gt;module mymodule&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; integer var_save&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; !dir$ attributes offload:mic :: var_save&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; !$omp threadprivate(var_save)&lt;BR /&gt;
	end module mymodule&lt;/P&gt;

&lt;P&gt;Yields this error:&lt;/P&gt;

&lt;P&gt;error #8690: *MIC* A threadprivate variable cannot appear in a DECLARE TARGET directive.&amp;nbsp;&amp;nbsp; [VAR_SAVE]&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 18:17:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offloading-and-Threadprivate-variables/m-p/936008#M15889</guid>
      <dc:creator>Dean_B_</dc:creator>
      <dc:date>2014-03-04T18:17:43Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Software-Archive/Offloading-and-Threadprivate-variables/m-p/936009#M15890</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;!dir$ attributes offload:mic :: var_save is equivalent to !$OMP DECLARE TARGET (var_save), which is not permitted by the OMP 4.0 Spec, Section 2.9.4:&lt;/P&gt;

&lt;P&gt;Fortran&lt;/P&gt;

&lt;P&gt;&amp;nbsp; Restrictions&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;A threadprivate variable cannot appear in a declare target directive.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 19:03:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Offloading-and-Threadprivate-variables/m-p/936009#M15890</guid>
      <dc:creator>pbkenned1</dc:creator>
      <dc:date>2014-03-04T19:03:03Z</dc:date>
    </item>
  </channel>
</rss>

