[Bug libgomp/80822] libgomp incorrect affinity when OMP_PLACES=threads
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 30 13:25:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80822
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 12:05:30 2017
New Revision: 248683
URL: https://gcc.gnu.org/viewcvs?rev=248683&root=gcc&view=rev
Log:
PR libgomp/80822
* config/linux/affinity.c (gomp_affinity_init_level_1): New function.
(gomp_affinity_init_level): Use it. Always analyze the core and thread
sibling lists, depending on level just pick up what CPUs to put
together into a place vs. whether add multiple ordered places.
Modified:
trunk/libgomp/ChangeLog
trunk/libgomp/config/linux/affinity.c
More information about the Gcc-bugs
mailing list