This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/57298] GOMP_CPU_AFFINITY will not work when system has >1024 cores
- From: "sp at numascale dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 May 2013 17:49:24 +0000
- Subject: [Bug libgomp/57298] GOMP_CPU_AFFINITY will not work when system has >1024 cores
- Auto-submitted: auto-generated
- References: <bug-57298-4 at http dot gcc dot gnu dot org/bugzilla/>
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.