libgomp/testsuite/libgomp.c/interop-hip-nvidia-no-hip-header.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-additional-options "-lcuda -lcudart" } */ |
| 7 | |
| 8 | #define __HIP_PLATFORM_NVIDIA__ 1 |
| 9 | |
| 10 | #define USE_HIP_FALLBACK_HEADER 1 |
| 11 | |
| 12 | #include "interop-hip.h" |