diff options
Diffstat (limited to 'libgomp/testsuite/libgomp.c/interop-hip-amd-full.c')
-rw-r--r-- | libgomp/testsuite/libgomp.c/interop-hip-amd-full.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.c/interop-hip-amd-full.c b/libgomp/testsuite/libgomp.c/interop-hip-amd-full.c new file mode 100644 index 0000000..d7725fc --- /dev/null +++ b/libgomp/testsuite/libgomp.c/interop-hip-amd-full.c @@ -0,0 +1,7 @@ +/* { dg-require-effective-target gomp_hip_header_amd } */ +/* { dg-require-effective-target gomp_libamdhip64 } */ +/* { dg-additional-options "-lamdhip64" } */ + +#define __HIP_PLATFORM_AMD__ 1 + +#include "interop-hip.h" |