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