[gomp4] [nvptx] Move GOMP stuff from libgcc to libgomp (was: [WIP] OpenMP 4 NVPTX support)

2015-08-10 Thread Thomas Schwinge
Hi! On Wed, 22 Jul 2015 18:04:20 +0200, I wrote: > On Tue, 21 Apr 2015 17:58:39 +0200, Jakub Jelinek wrote: > > Attached is a minimal patch to get at least a trivial OpenMP 4.0 testcase > > offloading to NVPTX (the first patch). The second patch is WIP, just first > > few needed changes to make

Empty libgomp for nvptx (was: [WIP] OpenMP 4 NVPTX support)

2015-08-10 Thread Thomas Schwinge
Hi! On Wed, 22 Jul 2015 18:38:44 +0200, Jakub Jelinek wrote: > On Wed, Jul 22, 2015 at 06:04:20PM +0200, Thomas Schwinge wrote: > > On Tue, 21 Apr 2015 17:58:39 +0200, Jakub Jelinek wrote: > > > Attached is a minimal patch to get at least a trivial OpenMP 4.0 testcase > > > offloading to NVPTX (

Re: [WIP] OpenMP 4 NVPTX support

2015-07-22 Thread Jakub Jelinek
On Wed, Jul 22, 2015 at 06:04:20PM +0200, Thomas Schwinge wrote: > On Tue, 21 Apr 2015 17:58:39 +0200, Jakub Jelinek wrote: > > Attached is a minimal patch to get at least a trivial OpenMP 4.0 testcase > > offloading to NVPTX (the first patch). The second patch is WIP, just first > > few needed c

Re: [WIP] OpenMP 4 NVPTX support

2015-07-22 Thread Thomas Schwinge
Hi! On Tue, 21 Apr 2015 17:58:39 +0200, Jakub Jelinek wrote: > Attached is a minimal patch to get at least a trivial OpenMP 4.0 testcase > offloading to NVPTX (the first patch). The second patch is WIP, just first > few needed changes to make libgomp to build for NVPTX (several weeks of work > a

[gomp4] nvptx offloading linking (was: [WIP] OpenMP 4 NVPTX support)

2015-05-13 Thread Thomas Schwinge
Hi! On Wed, 22 Apr 2015 17:08:26 +0200, Bernd Schmidt wrote: > On 04/21/2015 05:58 PM, Jakub Jelinek wrote: > > > suggests that while it is nice that when building nvptx accel compiler > > we build libgcc.a, libc.a, libm.a, libgfortran.a (and in the future > > hopefully libgomp.a), > > nothing

Re: [WIP] OpenMP 4 NVPTX support

2015-04-23 Thread Jakub Jelinek
On Tue, Apr 21, 2015 at 05:58:39PM +0200, Jakub Jelinek wrote: > Attached is a minimal patch to get at least a trivial OpenMP 4.0 testcase > offloading to NVPTX (the first patch). The second patch is WIP, just first > few needed changes to make libgomp to build for NVPTX (several weeks of work > a

Re: [WIP] OpenMP 4 NVPTX support

2015-04-22 Thread Bernd Schmidt
On 04/21/2015 05:58 PM, Jakub Jelinek wrote: suggests that while it is nice that when building nvptx accel compiler we build libgcc.a, libc.a, libm.a, libgfortran.a (and in the future hopefully libgomp.a), nothing attempts to link those in :(. I have that fixed; I expect I'll get around to po

[WIP] OpenMP 4 NVPTX support

2015-04-21 Thread Jakub Jelinek
Hi! Attached is a minimal patch to get at least a trivial OpenMP 4.0 testcase offloading to NVPTX (the first patch). The second patch is WIP, just first few needed changes to make libgomp to build for NVPTX (several weeks of work at least). The following seems to work and the output suggests tha