diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-06-22 22:39:25 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-06-22 22:39:25 +0200 |
commit | fb79f500af1b4d9ee5685e8934726b5e2ea4edd5 (patch) | |
tree | c2cc34ab7a462c76b41fcd457b365ba285e84685 /gcc/params.c | |
parent | 4fb489e7968448aaa9321d863660530a81d06f4c (diff) | |
download | gcc-fb79f500af1b4d9ee5685e8934726b5e2ea4edd5.zip gcc-fb79f500af1b4d9ee5685e8934726b5e2ea4edd5.tar.gz gcc-fb79f500af1b4d9ee5685e8934726b5e2ea4edd5.tar.bz2 |
re PR libgomp/49490 (suboptimal load balancing in loops)
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.
From-SVN: r175315
Diffstat (limited to 'gcc/params.c')
0 files changed, 0 insertions, 0 deletions