def cli_bench(problem, **kwargs): """ Complete benchmark with multiple simulation and performance parameters. """ mode_benchmark() kwargs['autotune'] = configuration['autotuning'].level bench(problem, **kwargs)
def benchmark(): """ Benchmarking script for seismic forward operators. \b There are three main 'execution modes': run: a single run with given DSE/DLE levels bench: complete benchmark with multiple DSE/DLE levels test: tests numerical correctness with different parameters Further, this script can generate a roofline plot from a benchmark """ mode_benchmark()
def cli_run(problem, **kwargs): """ A single run with a specific set of performance parameters. """ mode_benchmark() run(problem, **kwargs)