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