[Openmp-dev] Mapped without a warning, but device code fails at run time

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Mon Oct 28 15:40:43 PDT 2019


Hi,
How do I enable debug messages at run time?
I've attached a small reproducer for you to take a look at it.

On Tue, Oct 29, 2019 at 3:42 AM Doerfert, Johannes <jdoerfert at anl.gov>
wrote:

> This can have various reasons, including a compiler bug.
> Try to enable debug messages by the runtime and see if that helps to
> determine why offloading failed.
> You can also provide a small reproducer so we can take a look.
>
> ________________________________________
> From: Openmp-dev <openmp-dev-bounces at lists.llvm.org> on behalf of Itaru
> Kitayama via Openmp-dev <openmp-dev at lists.llvm.org>
> Sent: Monday, October 21, 2019 22:20
> To: openmp-dev
> Subject: [Openmp-dev] Mapped without a warning, but device code fails at
> run time
>
> Hi,
> By checking the compiler message, a type is mapped without triggering
> a Non-trivial type ... warning, but the device code fails at the run time
> leaving:
>
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> (in the code accessing an element in a user-defined "vector")
> in this case, should I worry about a possible compiler bug?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191029/9b9af6e7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my1.cpp
Type: application/octet-stream
Size: 1591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191029/9b9af6e7/attachment.obj>


More information about the Openmp-dev mailing list