Re: [gomp4] force global locks for nvptx targets

2015-09-09 Thread Chung-Lin Tang
On 2015/9/9 04:02 AM, Cesar Philippidis wrote: > This patch forces GOACC_LOCK to use locks in global memory regardless if > the lock us for a worker or a gang. We were using a shared memory for > worker locks, but we ran into an issue with that would sporadically > involve deadlocks in worker

[gomp4] force global locks for nvptx targets

2015-09-08 Thread Cesar Philippidis
This patch forces GOACC_LOCK to use locks in global memory regardless if the lock us for a worker or a gang. We were using a shared memory for worker locks, but we ran into an issue with that would sporadically involve deadlocks in worker reductions. We're still investigating that issue, but for