[PATCH] [gomp] Recycle non-nested team if possible
Jakub Jelinek
jakub@redhat.com
Tue Jul 14 14:23:00 GMT 2015
Hi!
On Tue, Jul 14, 2015 at 01:47:41PM +0200, Sebastian Huber wrote:
> With --disable-linux-futex (without asserts) I got several failures, but
> none of them is related to my patch, e.g. they are of the following type
>
> /tmp/ccw4RofR.o: In function `main':
> data-already-3.f:(.text+0x56): undefined reference to `acc_copyin_array_h_'
CCing Thomas on that, that is for the OpenACC folks to resolve.
> 2015-07-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
>
> * team.c (get_last_team): New.
> (gomp_new_team): Recycle last non-nested team if possible.
> (gomp_team_end): Move team work share list free lock destruction
> to...
> (free_team): ...here.
Ok for trunk (please put a space in between to and ... and ... and here).
> + if (team == NULL)
> + {
> + size_t extra = sizeof (team->ordered_release[0])
> + + sizeof (team->implicit_task[0]);
And make sure to use tab instead of 8 spaces on the above line.
Jakub
More information about the Gcc-patches
mailing list