[llvm-bugs] [Bug 49608] New: [libomptarget] omp_target_associate_ptr
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 16 12:33:46 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=49608
Bug ID: 49608
Summary: [libomptarget] omp_target_associate_ptr
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Runtime Library
Assignee: unassignedbugs at nondot.org
Reporter: protze at itc.rwth-aachen.de
CC: llvm-bugs at lists.llvm.org
Created attachment 24651
--> https://bugs.llvm.org/attachment.cgi?id=24651&action=edit
reproducer
According to OpenMP Examples discussion, attached code should work, but results
in runtime error:
Libomptarget message: explicit extension not allowed: host address specified is
0x00007ffdec715438 (400 bytes), but device allocation maps to host at
0x00007ffdec715438 (200 bytes)
Libomptarget error: Call to getOrAllocTgtPtr returned null pointer (device
failure or illegal mapping).
Libomptarget error: Call to targetDataBegin failed, abort target.
Libomptarget error: Failed to process data before launching the kernel.
Libomptarget error: Run with LIBOMPTARGET_DEBUG=4 to dump host-target pointer
mappings.
Libomptarget error: Source location information not present. Compile with -g or
-gline-tables-only.
Libomptarget fatal error 1: failure of target construct while offloading is
mandatory
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210316/c904bfd8/attachment.html>
More information about the llvm-bugs
mailing list