blob: 7cff2cb80af0919ddaae7385b3cde2fc05a946ba [file] [log] [blame]
/* { dg-do run { target { offload_device_nvptx } } } */
/* { dg-do link { target { ! offload_device_nvptx } } } */
/* { dg-require-effective-target openacc_libcudart } */
/* { dg-require-effective-target openacc_libcuda } */
/* { dg-additional-options "-lcuda -lcudart" } */
#define __HIP_PLATFORM_NVIDIA__ 1
#define USE_HIP_FALLBACK_HEADER 1
#define USE_CUDA_FALLBACK_HEADER 1
#include "interop-hip.h"