[Bug libgomp/57298] GOMP_CPU_AFFINITY will not work when system has >1024 cores

sp at numascale dot com gcc-bugzilla@gcc.gnu.org
Wed May 15 17:49:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57298

--- Comment #1 from Steffen Persvold <sp at numascale dot com> ---
Created attachment 30128
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30128&action=edit
Proposed patch to fix >1024 processor system support

This patch modifies

libgomp/config/linux/affinity.c
libgomp/config/linux/proc.c
libgomp/config/linux/proc.h

to use dynamically allocated (and freed) cpu sets to support affinity on
systems with >1024 processors.



More information about the Gcc-bugs mailing list