<div dir="ltr">Hi,<div>How do I enable debug messages at run time?</div><div>I've attached a small reproducer for you to take a look at it.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 29, 2019 at 3:42 AM Doerfert, Johannes <<a href="mailto:jdoerfert@anl.gov">jdoerfert@anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This can have various reasons, including a compiler bug.<br>
Try to enable debug messages by the runtime and see if that helps to determine why offloading failed.<br>
You can also provide a small reproducer so we can take a look.<br>
<br>
________________________________________<br>
From: Openmp-dev <<a href="mailto:openmp-dev-bounces@lists.llvm.org" target="_blank">openmp-dev-bounces@lists.llvm.org</a>> on behalf of Itaru Kitayama via Openmp-dev <<a href="mailto:openmp-dev@lists.llvm.org" target="_blank">openmp-dev@lists.llvm.org</a>><br>
Sent: Monday, October 21, 2019 22:20<br>
To: openmp-dev<br>
Subject: [Openmp-dev] Mapped without a warning, but device code fails at run time<br>
<br>
Hi,<br>
By checking the compiler message, a type is mapped without triggering<br>
a Non-trivial type ... warning, but the device code fails at the run time leaving:<br>
<br>
Libomptarget fatal error 1: failure of target construct while offloading is mandatory<br>
<br>
(in the code accessing an element in a user-defined "vector")<br>
in this case, should I worry about a possible compiler bug?<br>
</blockquote></div>