Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/acc-on-device.c
2023-03-06 14:48:14 +01: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" } } */