コード例 #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)