blob: d29a689de8959f802e5673204160bdf633ed2bc5 [file]
! { dg-do run { target { offload_device_nvptx } } }
! { dg-do link { target { ! offload_device_nvptx } } }
! { dg-require-effective-target gomp_hipfort_module }
! { dg-require-effective-target openacc_cudart }
! { dg-require-effective-target openacc_cuda }
! { dg-additional-options "-lcuda -lcudart" }
#define HAVE_HIPFORT 1
#define USE_CUDA_NAMES 1
#include "interop-hip.h"