Retro68/gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/acc-on-device.c
2017-04-10 13:32:00 +02:00

13 lines
275 B
C

/* { dg-do compile } */
/* We don't expect this to work with optimizations disabled.
{ dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
#include <openacc.h>
int Foo (acc_device_t x)
{
return acc_on_device (x);
}
/* { dg-final { scan-assembler-not "acc_on_device" } } */