sycl-bench icon indicating copy to clipboard operation
sycl-bench copied to clipboard

Run individual benchmarks in separate sub-processes

Open psalz opened this issue 5 years ago • 1 comments

To increase resilience against hard-crashing benchmarks, this change causes the framework to no longer directly execute the individual benchmarks. Instead, for each call to BenchmarkApp::run(), a subprocess is spawned, which, based on an environment variable, decides what benchmark to execute.

psalz avatar Feb 18 '20 17:02 psalz

Okay so this definitely needs a signal handler or something to kill the parent process :D

psalz avatar Feb 18 '20 17:02 psalz