https://bugs.llvm.org/show_bug.cgi?id=51089
Bug ID: 51089
Summary: Target mapping error for target_struct_map.4.c Case 2
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangb...@nondot.org
Reporter: pro...@itc.rwth-aachen.de
CC: llvm-bugs@lists.llvm.org
Created attachment 25023
--> https://bugs.llvm.org/attachment.cgi?id=25023&action=edit
Reduced code from the Examples document
The second case in the code example target_struct_map.4.c provided in the
upcoming OpenMP Examples document leads to a runtime error.
Libomptarget message: explicit extension not allowed: host address specified is
0x00007ffd5c65cf38 (24 bytes), but device allocation maps to host at
0x00007ffd5c65cf48 (8 bytes)
The mapping of S2.p[:n] at the target data construct should only map the array,
but not the pointer S2.p.
The map clause at the target construct should create the struct with elements
a,b,p and perform the pointer attachment for S2.p
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs