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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to