Re: Stabilize flaky GCN target/offloading testing

2024-03-06 Thread Richard Biener
Probably 'alarm'/'SIGALRM' is a > >>> no-go in libgomp -- instead, use a helper thread to similarly implement a > >>> watchdog? ('libgomp/plugin/plugin-gcn.c' already is using pthreads for > >>> other purposes.) Any other clever ide

Re: Stabilize flaky GCN target/offloading testing

2024-03-06 Thread Andrew Stubbs
alarm'/'SIGALRM'. ) That, plus routing *all* potential GPU usage (in particular: including execution tests for effective-targets, see above) through a serial lock ('flock', implemented in DejaGnu board file, outside of the the "DejaGnu timeout domain", similar to &#

Stabilize flaky GCN target/offloading testing

2024-03-06 Thread Thomas Schwinge
ady is using pthreads for >> other purposes.) Any other clever ideas? What's a suitable value for >> "a few seconds"? I'm attaching my current "GCN: Watchdog for device image load", covering both 'gcc/config/gcn/gcn-run.cc' and 'libgomp