My current idea for improving libgomp
Sho Nakatani
dev.laysakura@gmail.com
Mon May 2 00:29:00 GMT 2011
Hi,
I'm trying to make better libgomp implementation of task construct in
a GSoC project.
After reading several paper around OpenMP task feature, several
questions occurred to me.
I appreciate all of your answers. Even a few comments will do.
* Tell me good reference of OpenMP standards. What is referenced when
libgomp was implemented.
I'm reading OpenMP Tutorial (
http://www.llnl.gov/computing/tutorials/openMP ).
* How should user-level and kernel-level threads be implemented?
In my opinion, user-level threads should be a small data structure
with call-stack
and kernel-level threads should be pthreads which are tied to CPUs
by sched_setaffinity() system call.
(manpage says sched_setaffinity() is provided only in Linux, though..)
* Which interface (ABI) should be left in libgomp when I rewrite task feature?
I guess I should be very careful since task construct is related to other ones
like taskwait, barrier, and parallel.
Thanks,
--
Sho Nakatani
More information about the Gcc
mailing list