[gomp4] parallel reduction nested inside data regions

Cesar Philippidis cesar_philippidis@mentor.com
Fri Sep 11 20:03:00 GMT 2015


This patch corrects the way that build_outer_var_ref deals with data
mappings in acc parallel and kernels when they are nested in some other
construct (i.e. acc data). This issue can be reproduced with acc
parallel reduction nested nested inside a acc data region.

I've applied this fix to gomp-4_0-branch.

Cesar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: data-parallel-reduction.diff
Type: text/x-patch
Size: 2400 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150911/7850255c/attachment.bin>


More information about the Gcc-patches mailing list