Re: [hsa 2/12] Modifications to libgomp proper

2015-11-12 Thread Jakub Jelinek
On Thu, Nov 12, 2015 at 02:21:56PM +0100, Thomas Schwinge wrote: > > > --- a/libgomp/libgomp.h > > > +++ b/libgomp/libgomp.h > > > @@ -876,7 +876,8 @@ struct gomp_device_descr > > >void *(*dev2host_func) (int, void *, const void *, size_t); > > >void *(*host2dev_func) (int, void *, const vo

Re: [hsa 2/12] Modifications to libgomp proper

2015-11-12 Thread Nathan Sidwell
On 11/12/15 08:21, Thomas Schwinge wrote: Hi! so there is a way to deal with it, but you need to adjust all plugins. I'm confused -- didn't we agree that we don't need to maintain backwards compatibility in the libgomp <-> plugins interface? (Nathan?) Indeed, no need to deal with version

Re: [hsa 2/12] Modifications to libgomp proper

2015-11-12 Thread Thomas Schwinge
Hi! On Thu, 12 Nov 2015 11:11:33 +0100, Jakub Jelinek wrote: > On Thu, Nov 05, 2015 at 10:54:42PM +0100, Martin Jambor wrote: > > --- a/libgomp/libgomp.h > > +++ b/libgomp/libgomp.h > > @@ -876,7 +876,8 @@ struct gomp_device_descr > >void *(*dev2host_func) (int, void *, const void *, size_t);

Re: [hsa 2/12] Modifications to libgomp proper

2015-11-12 Thread Jakub Jelinek
On Thu, Nov 05, 2015 at 10:54:42PM +0100, Martin Jambor wrote: > The patch below contains all changes to libgomp files. First, it adds > a new constant identifying HSA devices and a structure that is shared > between libgomp and the compiler when kernels from kernels are invoked > via dynamic para

[hsa 2/12] Modifications to libgomp proper

2015-11-05 Thread Martin Jambor
Hi, The patch below contains all changes to libgomp files. First, it adds a new constant identifying HSA devices and a structure that is shared between libgomp and the compiler when kernels from kernels are invoked via dynamic parallelism. Second it modifies the GOMP_target_41 function so that i