Debian Codegraph @

libgomp/testsuite/libgomp.c/interop-hip-nvidia-no-headers.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_libcudart } */
5 /* { dg-require-effective-target openacc_libcuda } */
6 /* { dg-additional-options "-lcuda -lcudart" } */
7
8 #define __HIP_PLATFORM_NVIDIA__ 1
9
10 #define USE_HIP_FALLBACK_HEADER 1
11 #define USE_CUDA_FALLBACK_HEADER 1
12
13 #include "interop-hip.h"