Example #1
0
def cli_bench(problem, **kwargs):
    """
    Complete benchmark with multiple simulation and performance parameters.
    """
    mode_benchmark()
    kwargs['autotune'] = configuration['autotuning'].level
    bench(problem, **kwargs)
Example #2
0
def cli_bench(problem, **kwargs):
    """
    Complete benchmark with multiple simulation and performance parameters.
    """
    mode_benchmark()
    kwargs['autotune'] = configuration['autotuning'].level
    bench(problem, **kwargs)
Example #3
0
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()
Example #4
0
def cli_run(problem, **kwargs):
    """
    A single run with a specific set of performance parameters.
    """
    mode_benchmark()
    run(problem, **kwargs)
Example #5
0
def cli_run(problem, **kwargs):
    """
    A single run with a specific set of performance parameters.
    """
    mode_benchmark()
    run(problem, **kwargs)