[llvm-bugs] [Bug 44367] New: private clause not working in offload
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Dec 22 23:00:59 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44367
Bug ID: 44367
Summary: private clause not working in offload
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangbugs at nondot.org
Reporter: xw111luoye at gmail.com
CC: llvm-bugs at lists.llvm.org
The private clause in target seems all broken.
I got all identical addresses of the variable marked private.
https://github.com/ye-luo/openmp-target/blob/master/hands-on/tests/private/target_teams_distribute_private.c
https://github.com/ye-luo/openmp-target/blob/master/hands-on/tests/private/target_teams_distribute_parallel_for_private.c
I found this broken in all the clang derived offload compilers.
GCC works fine.
With private(a) on "teams distribute" and "parallel for", per-team and
per-thread copy of a should be created. So all the address should be different.
--
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/20191223/12db0c6c/attachment.html>
More information about the llvm-bugs
mailing list