aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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;
}