'libgomp.c/interop-hsa.c': GCN offloading only (was: [PATCH] OpenMP, GCN: Add interop-hsa testcase)

2025-05-05 Thread Thomas Schwinge
Hi! On 2025-04-25T10:33:39+, Andrew Stubbs wrote: > --- /dev/null > +++ b/libgomp/testsuite/libgomp.c/interop-hsa.c > @@ -0,0 +1,203 @@ > +/* { dg-additional-options "-ldl" } */ > +/* { dg-require-effective-target offload_device_gcn } */ This means that a GCN offloading device must be availa

Re: [PATCH] OpenMP, GCN: Add interop-hsa testcase

2025-04-25 Thread Tobias Burnus
Andrew Stubbs wrote: This testcase ensures that the interop HSA support is sufficient to run a kernel manually on the same device. It reuses an OpenMP kernel in order to avoid all the complication of compiling a custom kernel in Dejagnu (although, this does mean matching the OpenMP runtime envir

[PATCH] OpenMP, GCN: Add interop-hsa testcase

2025-04-25 Thread Andrew Stubbs
This testcase ensures that the interop HSA support is sufficient to run a kernel manually on the same device. It reuses an OpenMP kernel in order to avoid all the complication of compiling a custom kernel in Dejagnu (although, this does mean matching the OpenMP runtime environment, which might be