libgomp: libgomp.oacc-c-c++-common/lib-62.c is for acc_device_nvidia only (was: OpenACC: initialization with unsupported acc_device_t)

2015-06-19 Thread Thomas Schwinge
Hi! On Tue, 5 May 2015 16:09:18 +0200, I wrote: > I don't know why libgomp.oacc-c-c++-common/lib-62.c contains this > explicit acc_init call with acc_device_nvidia -- generally, the test > cases should not contain such unconditional statements. So, let's then > please remove this. See > libgomp/

Re: OpenACC: initialization with unsupported acc_device_t

2015-05-21 Thread Jakub Jelinek
On Thu, May 21, 2015 at 08:55:59AM +0200, Thomas Schwinge wrote: > Thanks, looks good to me -- Jakub? Ok for trunk. > > libgomp/ > > * oacc-init.c (resolve_device): Add FAIL_IS_ERROR argument. Update > > function comment. Only call gomp_fatal if new argument is true. > > (acc_dev_

Re: OpenACC: initialization with unsupported acc_device_t

2015-05-20 Thread Thomas Schwinge
Hi Julian! On Thu, 7 May 2015 16:56:11 +0100, Julian Brown wrote: > On Tue, 5 May 2015 16:09:18 +0200 > Thomas Schwinge wrote: > > On Tue, 5 May 2015 08:43:48 -0400, John David Anglin > > wrote: > > > On 2015-05-05 5:43 AM, Thomas Schwinge wrote: > > > >> FAIL: libgomp.oacc-c/../libgomp.oacc-c-

Re: OpenACC: initialization with unsupported acc_device_t (was: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests)

2015-05-07 Thread Julian Brown
On Tue, 5 May 2015 16:09:18 +0200 Thomas Schwinge wrote: > Hi! > > On Tue, 5 May 2015 08:43:48 -0400, John David Anglin > wrote: > > On 2015-05-05 5:43 AM, Thomas Schwinge wrote: > > >> FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/lib-62.c > > >> >-DACC_DEVICE_TYPE_hos > > >> >t=1 -DACC_ME

OpenACC: initialization with unsupported acc_device_t (was: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests)

2015-05-05 Thread Thomas Schwinge
Hi! On Tue, 5 May 2015 08:43:48 -0400, John David Anglin wrote: > On 2015-05-05 5:43 AM, Thomas Schwinge wrote: > >> FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/lib-62.c > >> >-DACC_DEVICE_TYPE_hos > >> >t=1 -DACC_MEM_SHARED=1 output pattern test, is , should match invalid size > > With th