[Openmp-dev] Mapping Questions/Concern

Johannes Doerfert via Openmp-dev openmp-dev at lists.llvm.org
Thu Aug 19 09:56:51 PDT 2021


I was playing around with an example and I fail to understand the 
behavior, consequently I suspect a bug.

The test.cpp file attached shows 3 target regions. All execute 1 loop 
iteration and write a value into an array of size 1.
Only, the middle one uses a member of the previously mapped object. 
While that should not influence the array of size 1, IMHO,
it seems to do for some reason.

Any ideas? Is this expected or a bug?

~ Johannes

∽ Johannes (he/his)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cpp
Type: text/x-c++src
Size: 999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20210819/312210a5/attachment.cpp>

More information about the Openmp-dev mailing list