diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2015-06-19 09:41:44 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2015-06-19 09:41:44 +0200 |
commit | bfcd036fbe7c327c8839957343edab5453faf0c8 (patch) | |
tree | 94a0e50647f81ff25953ca9106f26a25222da696 | |
parent | d7efbbf6af35d232cf1710b3f4ea2c8f4d0e91be (diff) | |
download | gcc-bfcd036fbe7c327c8839957343edab5453faf0c8.zip gcc-bfcd036fbe7c327c8839957343edab5453faf0c8.tar.gz gcc-bfcd036fbe7c327c8839957343edab5453faf0c8.tar.bz2 |
libgomp: libgomp.oacc-c-c++-common/lib-62.c is for acc_device_nvidia only
libgomp/
* testsuite/libgomp.oacc-c-c++-common/lib-62.c: Only consider for
acc_device_nvidia.
From-SVN: r224640
-rw-r--r-- | libgomp/ChangeLog | 3 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-c-c++-common/lib-62.c | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index d49b056..cf1a0b0 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,5 +1,8 @@ 2015-06-19 Thomas Schwinge <thomas@codesourcery.com> + * testsuite/libgomp.oacc-c-c++-common/lib-62.c: Only consider for + acc_device_nvidia. + PR libgomp/66518 * testsuite/libgomp.oacc-c-c++-common/lib-3.c: XFAIL. * testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise. diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-62.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-62.c index 47dc953..2988b5b 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-62.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-62.c @@ -1,4 +1,4 @@ -/* { dg-do run } */ +/* { dg-do run { target openacc_nvidia_accel_selected } } */ #include <string.h> #include <stdlib.h> @@ -12,8 +12,6 @@ main (int argc, char **argv) unsigned char *h; void *d; - acc_init (acc_device_nvidia); - h = (unsigned char *) malloc (N); for (i = 0; i < N; i++) @@ -41,8 +39,6 @@ main (int argc, char **argv) free (h); - acc_shutdown (acc_device_nvidia); - return 0; } |