Don't require 'openacc_nvidia_accel_selected' in additional 'libgomp.oacc-*/declare-*'
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 4 Jun 2021 13:25:32 +0000 (15:25 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 8 Jun 2021 09:21:47 +0000 (11:21 +0200)
Like r253779 (commit 92d5d01ac65e395ceaecc5d930f6017952aa4934)
"Enable libgomp.oacc-*/declare-*.{c,f90} for non-nvidia devices".

libgomp/
* testsuite/libgomp.oacc-c++/declare-1.C: Don't require
'openacc_nvidia_accel_selected'.
* testsuite/libgomp.oacc-c-c++-common/declare-3.c: Likewise.

libgomp/testsuite/libgomp.oacc-c++/declare-1.C
libgomp/testsuite/libgomp.oacc-c-c++-common/declare-3.c

index 0286955..461b778 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-do run { target openacc_nvidia_accel_selected } } */
-
 #include <stdlib.h>
 
 template<class T>
index c3a2187..dc6c7f3 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-do run { target openacc_nvidia_accel_selected } } */
-
 #include <stdlib.h>
 #include <openacc.h>