On 06/22/2011 11:13 AM, Jakub Jelinek wrote:
> Richard, do you agree with this?
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux.
> 
> 2011-06-22  Jakub Jelinek  <ja...@redhat.com>
> 
>       PR libgomp/49490
>       * omp-low.c (expand_omp_for_static_nochunk): Only
>       use n ceil/ nthreads size for the first
>       n % nthreads threads in the team instead of
>       all threads except for the last few ones which
>       get less work or none at all.
> 
>       * iter.c (gomp_iter_static_next): For chunk size 0
>       only use n ceil/ nthreads size for the first
>       n % nthreads threads in the team instead of
>       all threads except for the last few ones which
>       get less work or none at all.
>       * iter_ull.c (gomp_iter_ull_static_next): Likewise.
>       * env.c (parse_schedule): If OMP_SCHEDULE doesn't have
>       chunk argument, set run_sched_modifier to 0 for static
>       resp. 1 for other kinds.  If chunk argument is 0
>       and not static, set value to 1.

Looks good.


r~

Reply via email to