<?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 OpenMP 4.0 Copying partial arrays to the device  - weird behavior in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/OpenMP-4-0-Copying-partial-arrays-to-the-device-weird-behavior/m-p/1083524#M62548</link>
    <description>&lt;P&gt;Hello all. &amp;nbsp;I am trying to reduce my offload costs by only copying the data that I need.&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;!original copy
!$omp target update from(my_array)

!this works
!$omp target update from(1:1000,1)
!$omp target update from(1:1000,2)
!$omp target update from(1:1000,3)



!this doesn't
!$omp target update from(my_array(var1:var2, 1))
!$omp target update from(my_array(var1:var2, 2))
!$omp target update from(my_array(var1:var2, 3))
!starts coping gigabytes(????) of data or just seg faults
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any idea?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2016 17:50:35 GMT</pubDate>
    <dc:creator>Paulius_V_1</dc:creator>
    <dc:date>2016-01-12T17:50:35Z</dc:date>
    <item>
      <title>OpenMP 4.0 Copying partial arrays to the device  - weird behavior</title>
      <link>https://community.intel.com/t5/Software-Archive/OpenMP-4-0-Copying-partial-arrays-to-the-device-weird-behavior/m-p/1083524#M62548</link>
      <description>&lt;P&gt;Hello all. &amp;nbsp;I am trying to reduce my offload costs by only copying the data that I need.&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;!original copy
!$omp target update from(my_array)

!this works
!$omp target update from(1:1000,1)
!$omp target update from(1:1000,2)
!$omp target update from(1:1000,3)



!this doesn't
!$omp target update from(my_array(var1:var2, 1))
!$omp target update from(my_array(var1:var2, 2))
!$omp target update from(my_array(var1:var2, 3))
!starts coping gigabytes(????) of data or just seg faults
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 17:50:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/OpenMP-4-0-Copying-partial-arrays-to-the-device-weird-behavior/m-p/1083524#M62548</guid>
      <dc:creator>Paulius_V_1</dc:creator>
      <dc:date>2016-01-12T17:50:35Z</dc:date>
    </item>
    <item>
      <title>This could be an error in the</title>
      <link>https://community.intel.com/t5/Software-Archive/OpenMP-4-0-Copying-partial-arrays-to-the-device-weird-behavior/m-p/1083525#M62549</link>
      <description>&lt;P&gt;This could be an error in the source code or a compiler defect.&lt;/P&gt;

&lt;P&gt;It is hard to say unless you post a complete executable example.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:37:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/OpenMP-4-0-Copying-partial-arrays-to-the-device-weird-behavior/m-p/1083525#M62549</guid>
      <dc:creator>Rajiv_D_Intel</dc:creator>
      <dc:date>2016-02-03T19:37:05Z</dc:date>
    </item>
  </channel>
</rss>

