예제 #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)
예제 #2
0
파일: benchmark.py 프로젝트: opesci/devito
def cli_bench(problem, **kwargs):
    """
    Complete benchmark with multiple simulation and performance parameters.
    """
    mode_benchmark()
    kwargs['autotune'] = configuration['autotuning'].level
    bench(problem, **kwargs)
예제 #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()
예제 #4
0
def cli_run(problem, **kwargs):
    """
    A single run with a specific set of performance parameters.
    """
    mode_benchmark()
    run(problem, **kwargs)
예제 #5
0
파일: benchmark.py 프로젝트: opesci/devito
def cli_run(problem, **kwargs):
    """
    A single run with a specific set of performance parameters.
    """
    mode_benchmark()
    run(problem, **kwargs)