Debian Codegraph @

libgomp/testsuite/libgomp.c/interop-hip-amd-full.c

raw
1 /* { dg-do run { target { offload_device_gcn } } } */
2 /* { dg-do link { target { ! offload_device_gcn } } } */
3
4 /* { dg-require-effective-target gomp_hip_header_amd } */
5 /* { dg-require-effective-target gomp_libamdhip64 } */
6 /* { dg-additional-options "-lamdhip64" } */
7
8 #define __HIP_PLATFORM_AMD__ 1
9
10 #include "interop-hip.h"