From: Thomas Rast Date: Mon, 18 Feb 2013 19:48:34 GMT Subject: Re: Google Summer of Code 2013 (GSoC13) Message-ID: <87wqu5wgh9.fsf@pctrast.inf.ethz.ch> In-Reply-To: <87fw0ta4ai.fsf@an-dro.info.enstb.org> Ronan Keryell writes: >>>>>> On Mon, 18 Feb 2013 18:46:05 +0100, Thomas Rast said: > > Thomas> The actual programming must be done in C using pthreads > Thomas> for obvious reasons. > > Are there obvious reasons OpenMP would not be enough to do the job? > > It looks like a trade-off between the code readability & portability > versus the real expressiveness of what parallelism control details are > needed. Except for the added dependency you mean? I'm not sure exactly what the capabilities of OpenMP are that would help here, but most likely it would work. It wouldn't really change the amount of work needed, though, since the main work is in shuffling around the existing code paths to be amenable to parallel access in the first place. A "dumb" parallelization (i.e., just locking around all shared structures) POC yielded very little speedup because of lock contention. -- Thomas Rast trast@{inf,student}.ethz.ch