[3/3] OpenACC reductions

Nathan Sidwell nathan@acm.org
Mon Nov 2 16:38:00 GMT 2015


This patch are the initial set of tests.  The libgomp tests use an idiom of 
summing thread identifiers and then checking the expected set of threads 
participated.  They are all derived from the loop tests I recently added for the 
execution model itself.

The fortran test was duplicated in both the gfortran testsuite and the libgomp 
testsuite.   I deleted it from the former.  It was slightly bogus as it asked 
for a vector-length of 40, and appeared to be working by accident by not 
actually partitioning the loop.  I fixed that up and reworked it to avoid 
needing a reduction on a reference variable.  Reference handling will be a later 
patch.

nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03-trunk-reductions-tests-1102.patch
Type: text/x-patch
Size: 11411 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151102/158adc5b/attachment.bin>


More information about the Gcc-patches mailing list