[llvm-bugs] [Bug 51088] New: Target mapping error for target_struct_map.4.c Case 1
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jul 14 07:47:01 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51088
Bug ID: 51088
Summary: Target mapping error for target_struct_map.4.c Case 1
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangbugs at nondot.org
Reporter: protze at itc.rwth-aachen.de
CC: llvm-bugs at lists.llvm.org
Created attachment 25022
--> https://bugs.llvm.org/attachment.cgi?id=25022&action=edit
Reduced code from the Examples document
The first case in the code example target_struct_map.4.c provided in the
upcoming OpenMP Examples document leads to a runtime error.
CUDA error: an illegal memory access was encountered
Libomptarget error: Call to targetDataEnd failed, abort target.
The code runs fine, when removing mapping of S1.p.
Removing S1.p from the mapping would actually be an error, because there should
be no pointer attachment without mapping S1.p.
--
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/20210714/bbce6265/attachment.html>
More information about the llvm-bugs
mailing list