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
This commit is contained in:
parent
d7efbbf6af
commit
bfcd036fbe
2 changed files with 4 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue