]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 0286955d0c75d16500afc74ed12a1893c4ecd39f..461b77820ef2ea7a09854b0f4c0ea954af80dbf4 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-do run { target openacc_nvidia_accel_selected } } */
-
 #include <stdlib.h>
 
 template<class T>
index c3a2187631232c980e58075487cf632f02aefb8e..dc6c7f35275813b574cff5f2b85ff99ee5b918da 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-do run { target openacc_nvidia_accel_selected } } */
-
 #include <stdlib.h>
 #include <openacc.h>