Spin 'dg-do run' part of 'libgomp.c/declare-variant-3-sm30.c' off into new 'libgomp.c/declare-variant-3.c' (was: [PATCH][libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c)

2023-11-30 Thread Thomas Schwinge
Hi! On 2022-02-24T11:32:53+0100, Tom de Vries via Gcc-patches wrote: > the sm_30 test which is still dg-do run (although I've > added the compile time test) which should pass on all boards (since we > don't support below sm_30). Pushed to master branch commit 95e6e32a85566a5510d21938d439e90e504

In 'libgomp.c/declare-variant-{3,4}-*.c', restrict 'scan-offload-tree-dump's to 'only_for_offload_target [...]' (was: [PATCH][libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c)

2023-11-30 Thread Thomas Schwinge
Hi! On 2022-02-24T11:32:53+0100, Tom de Vries via Gcc-patches wrote: > --- /dev/null > +++ b/libgomp/testsuite/libgomp.c/declare-variant-3-sm30.c > @@ -0,0 +1,7 @@ > +/* { dg-do run { target { offload_target_nvptx } } } */ This means, the test case is active if nvptx offloading compilation is e

Fix 'libgomp.c/declare-variant-3-*.c' compilation for configurations where GCN offloading is enabled in addition to nvptx (was: [PATCH][libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c

2023-11-30 Thread Thomas Schwinge
Hi! On 2022-02-24T11:32:53+0100, Tom de Vries via Gcc-patches wrote: > [libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c \o/ Yay for test cases! > --- /dev/null > +++ b/libgomp/testsuite/libgomp.c/declare-variant-3-sm30.c > @@ -0,0 +1,7 @@ > +/* { dg-do run { target { offload_t

Re: [PATCH][libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c

2022-02-24 Thread Jakub Jelinek via Gcc-patches
On Thu, Feb 24, 2022 at 11:32:53AM +0100, Tom de Vries wrote: > libgomp/ChangeLog: > > 2022-02-24 Tom de Vries > > * testsuite/libgomp.c/declare-variant-3-sm30.c: New test. > * testsuite/libgomp.c/declare-variant-3-sm35.c: New test. > * testsuite/libgomp.c/declare-variant-3-s

Re: [PATCH][libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c

2022-02-24 Thread Tom de Vries via Gcc-patches
On 2/24/22 11:09, Jakub Jelinek wrote: On Thu, Feb 24, 2022 at 11:01:22AM +0100, Tom de Vries wrote: [ was: Re: [Patch] nvptx: Add -mptx=6.0 + -misa=sm_70 ] On 2/24/22 09:29, Tom de Vries wrote: I'll try to submit a patch with one or more test-cases. Hi, These test-cases exercise the omp de

Re: [PATCH][libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c

2022-02-24 Thread Jakub Jelinek via Gcc-patches
On Thu, Feb 24, 2022 at 11:01:22AM +0100, Tom de Vries wrote: > [ was: Re: [Patch] nvptx: Add -mptx=6.0 + -misa=sm_70 ] > > On 2/24/22 09:29, Tom de Vries wrote: > > I'll try to submit a patch with one or more test-cases. > > Hi, > > These test-cases exercise the omp declare variant construct us

[PATCH][libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c

2022-02-24 Thread Tom de Vries via Gcc-patches
[ was: Re: [Patch] nvptx: Add -mptx=6.0 + -misa=sm_70 ] On 2/24/22 09:29, Tom de Vries wrote: I'll try to submit a patch with one or more test-cases. Hi, These test-cases exercise the omp declare variant construct using the available nvptx isas. OK for trunk? Thanks, - Tom[libgomp, testsu