[gomp4] use static_nonchunk loop scheduling for non-static acc gang loops

Cesar Philippidis cesar@codesourcery.com
Thu Jun 18 07:04:00 GMT 2015


Tom suggested that it would be more efficient to use static_nochunk for
loop scheduling for acc gang loops when the static argument isn't
present. We also decided that gang(static:*) should be scheduled using
static_nochunk too. A chunk_size of 1 is probably too conservative for
gangs running on gpus.

I also updated the nvptx-specific gang loop test case. My first attempt
wasn't scanning all of the values in the array. This corrects that, and
it also teaches that test what to expect for gang(static:*).

This patch has been committed to gomp-4_0-branch.

Cesar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gang-static-nochunk.diff
Type: text/x-patch
Size: 2838 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150618/309ecda0/attachment.bin>


More information about the Gcc-patches mailing list