re PR libgomp/80822 (libgomp incorrect affinity when OMP_PLACES=threads)
authorJakub Jelinek <jakub@redhat.com>
Tue, 30 May 2017 12:05:30 +0000 (14:05 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 30 May 2017 12:05:30 +0000 (14:05 +0200)
commit01275e1e5a8d45f35121f4ce7345dd62e55cf60e
tree6e6e460487e536f7cc1a6782355c11a9cc9266ce
parentba7629e2dd50baaa34acb9430c2087073685c0fa
re PR libgomp/80822 (libgomp incorrect affinity when OMP_PLACES=threads)

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.

From-SVN: r248683
libgomp/ChangeLog
libgomp/config/linux/affinity.c