This is the mail archive of the gcc-patches@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]

Re: [gomp] RFC: GOMP_CPU_AFFINITY



On May 19, 2006, at 8:37 AM, Jakub Jelinek wrote:


Hi!

http://www.openmp.org/pipermail/omp/2006/000444.html
The patch as is immediately binds the initial thread to the first CPU from
the list if the env var is set, an alternative perhaps could be to only do
that when the initial thread enters a parallel region and reset it to the
old affinity mask when it leaves it, what do you think?

Too late for 4.2.0. Other than that I think it is not that useful really
since you should let the OS handle the threads on the CPUs instead since
it might interfere with my and other work to get GOMP working for across
SPUs and the Cell.


-- Pinski


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