<div><div dir="auto">I map a dynamically allocated user-defined class pointer array, and in the error case I</div></div><div dir="auto">Try to get the address of the first array element. If I don’t the DtH transfer is not initiated.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 30, 2020 at 5:59 Itaru Kitayama <<a href="mailto:itaru.kitayama@gmail.com">itaru.kitayama@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">I asked that question myself. No never done it explicitly from my end. That happens if I try to get </div></div><div dir="auto">the target address in printf in the target region.</div><div dir="auto">And I’m using trunk Clang.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 30, 2020 at 5:44 Alexey.Bataev <<a href="mailto:a.bataev@outlook.com" target="_blank">a.bataev@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <p>Are some data mapped as tofrom? In this case the data will be
      copied from the device to the host. BTW, try to update the clang
      to the latest version.<br>
    </p>
    <pre cols="72">-------------
Best regards,
Alexey Bataev</pre>
    <div>28.06.2020 11:02 PM, Itaru Kitayama via
      Openmp-dev пишет:<br>
    </div></div><div>
    <blockquote type="cite">
      <pre>I'm seeing the same error on an X86 with K20 GPU, for the record.

On Sun, Jun 28, 2020 at 7:54 PM Itaru Kitayama <a href="mailto:itaru.kitayama@gmail.com" target="_blank"><itaru.kitayama@gmail.com></a> wrote:
</pre>
      <blockquote type="cite">
        <pre>Alexey,
The log collected on the ThunderX2 compute node is attached.

On Sun, Jun 28, 2020 at 7:42 PM Alexey Bataev <a href="mailto:a.bataev@hotmail.com" target="_blank"><a.bataev@hotmail.com></a> wrote:
</pre>
        <blockquote type="cite">
          <pre>Hi Itaru, there might be the problem with copying to device, with kernel execution, etc. Sire, send the log to understand what is the real cause of the problem.

Best regards,
Alexey Bataev

</pre>
          <blockquote type="cite">
            <pre>28 июня 2020 г., в 03:53, Itaru Kitayama via Openmp-dev <a href="mailto:openmp-dev@lists.llvm.org" target="_blank"><openmp-dev@lists.llvm.org></a> написал(а):

I'm seeing this although I don't add a single program requiring copying
data back from target. I'm developing my app on AArch64 with V100.
I am happy to provide the log upon request.
_______________________________________________
Openmp-dev mailing list
<a href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a>
</pre>
          </blockquote>
        </blockquote>
      </blockquote>
      <pre>_______________________________________________
Openmp-dev mailing list
<a href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a>
</pre>
    </blockquote>
  </div>

</blockquote></div></div>
</blockquote></div></div>