summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-19 07:41:44 +0000
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-19 07:41:44 +0000
commit3625ad60ab1ad783f4afead68f44b19011e4780d (patch)
tree94a0e50647f81ff25953ca9106f26a25222da696 /libgomp
parentc130d11c707853c1065f765698bb6dd93706bb83 (diff)
downloadlinaro-gcc-3625ad60ab1ad783f4afead68f44b19011e4780d.tar.gz
linaro-gcc-3625ad60ab1ad783f4afead68f44b19011e4780d.tar.bz2
linaro-gcc-3625ad60ab1ad783f4afead68f44b19011e4780d.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224640 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog3
-rw-r--r--libgomp/testsuite/libgomp.oacc-c-c++-common/lib-62.c6
2 files changed, 4 insertions, 5 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index d49b0564a3f..cf1a0b0d5a4 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 47dc953c69c..2988b5bcd0a 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;
}