libgomp/testsuite/libgomp.c/interop-hip-nvidia-full.c
raw| 1 | /* { dg-do run { target { offload_device_nvptx } } } */ |
| 2 | /* { dg-do link { target { ! offload_device_nvptx } } } */ |
| 3 | |
| 4 | /* { dg-require-effective-target openacc_cudart } */ |
| 5 | /* { dg-require-effective-target openacc_cuda } */ |
| 6 | /* { dg-require-effective-target gomp_hip_header_nvidia } */ |
| 7 | /* { dg-additional-options "-lcuda -lcudart -Wno-deprecated-declarations" } */ |
| 8 | |
| 9 | #define __HIP_PLATFORM_NVIDIA__ 1 |
| 10 | |
| 11 | #include "interop-hip.h" |