Re: [gomp4.1] Doacross library implementation

2015-10-08 Thread Aldy Hernandez
On 10/08/2015 05:48 AM, Torvald Riegel wrote: On Thu, 2015-09-24 at 20:32 +0200, Jakub Jelinek wrote: Torvald, can you please have a look at it, if I got all the atomics / memory models right? More detailed comments below, but in general, I'd really suggest to add more code comments for the sy

Re: [gomp4.1] Doacross library implementation

2015-10-08 Thread Torvald Riegel
On Thu, 2015-09-24 at 20:32 +0200, Jakub Jelinek wrote: > Torvald, can you please have a look at it, if I got all the atomics / memory > models right? More detailed comments below, but in general, I'd really suggest to add more code comments for the synchronization parts. In the end, the level of

[gomp4.1] Doacross library implementation

2015-09-24 Thread Jakub Jelinek
Hi! This patch implements DOACROSS in the library, so far only as busy waiting and even without exponential (or some guess based on distance) backoff. Torvald, can you please have a look at it, if I got all the atomics / memory models right? The testcase obviously is not a good benchmark, we'll n