This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]