benchbuild.projects.polybench.polybench module

class benchbuild.projects.polybench.polybench.Adi(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'adi'
class benchbuild.projects.polybench.polybench.Atax(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'atax'
class benchbuild.projects.polybench.polybench.BicG(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'bicg'
class benchbuild.projects.polybench.polybench.Cholesky(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'cholesky'
class benchbuild.projects.polybench.polybench.Correlation(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'correlation'
class benchbuild.projects.polybench.polybench.Covariance(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'covariance'
class benchbuild.projects.polybench.polybench.Deriche(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'deriche'
class benchbuild.projects.polybench.polybench.Doitgen(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'doitgen'
class benchbuild.projects.polybench.polybench.Durbin(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'durbin'
class benchbuild.projects.polybench.polybench.FDTD2D(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'fdtd-2d'
class benchbuild.projects.polybench.polybench.FloydWarshall(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'floyd-warshall'
class benchbuild.projects.polybench.polybench.Gemm(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'gemm'
class benchbuild.projects.polybench.polybench.Gemver(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'gemver'
class benchbuild.projects.polybench.polybench.Gesummv(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'gesummv'
class benchbuild.projects.polybench.polybench.Gramschmidt(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'gramschmidt'
class benchbuild.projects.polybench.polybench.Heat3D(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'heat-3d'
class benchbuild.projects.polybench.polybench.Jacobi1D(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'jacobi-1d'
class benchbuild.projects.polybench.polybench.Jacobi2Dimper(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'jacobi-2d'
class benchbuild.projects.polybench.polybench.Lu(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'lu'
class benchbuild.projects.polybench.polybench.LuDCMP(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'ludcmp'
class benchbuild.projects.polybench.polybench.Mvt(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'mvt'
class benchbuild.projects.polybench.polybench.Nussinov(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'nussinov'
class benchbuild.projects.polybench.polybench.PolyBenchGroup(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.project.Project

DOMAIN = 'polybench'
GROUP = 'polybench'
SRC_FILE = 'polybench.tar.gz'
VERSION = '4.2'
compile()[source]

Compile the project.

compile_verify(compiler_args, polybench_opts)[source]
download()

Download the selected version from the url_dict value.

path_dict = {'2mm': 'linear-algebra/kernels', '3mm': 'linear-algebra/kernels', 'adi': 'stencils', 'atax': 'linear-algebra/kernels', 'bicg': 'linear-algebra/kernels', 'cholesky': 'linear-algebra/solvers', 'correlation': 'datamining', 'covariance': 'datamining', 'deriche': 'medley', 'doitgen': 'linear-algebra/kernels', 'durbin': 'linear-algebra/solvers', 'fdtd-2d': 'stencils', 'floyd-warshall': 'medley', 'gemm': 'linear-algebra/blas', 'gemver': 'linear-algebra/blas', 'gesummv': 'linear-algebra/blas', 'gramschmidt': 'linear-algebra/solvers', 'heat-3d': 'stencils', 'jacobi-1d': 'stencils', 'jacobi-2d': 'stencils', 'lu': 'linear-algebra/solvers', 'ludcmp': 'linear-algebra/solvers', 'mvt': 'linear-algebra/kernels', 'nussinov': 'medley', 'seidel-2d': 'stencils', 'symm': 'linear-algebra/blas', 'syr2k': 'linear-algebra/blas', 'syrk': 'linear-algebra/blas', 'trisolv': 'linear-algebra/solvers', 'trmm': 'linear-algebra/blas'}
run_tests(runner)[source]

Run the tests of this project.

Clients override this method to provide customized run-time tests.

Parameters:
  • experiment – The experiment we run this project under
  • run – A function that takes the run command.
static versions()

Return a list of versions from the url_dict keys.

class benchbuild.projects.polybench.polybench.Seidel2D(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'seidel-2d'
class benchbuild.projects.polybench.polybench.Symm(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'symm'
class benchbuild.projects.polybench.polybench.Syr2k(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'syr2k'
class benchbuild.projects.polybench.polybench.Syrk(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'syrk'
class benchbuild.projects.polybench.polybench.ThreeMM(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = '3mm'
class benchbuild.projects.polybench.polybench.Trisolv(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'trisolv'
class benchbuild.projects.polybench.polybench.Trmm(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = 'trmm'
class benchbuild.projects.polybench.polybench.TwoMM(experiment, name=NOTHING, domain=NOTHING, group=NOTHING, src_file=NOTHING, container=NOTHING, version=NOTHING, builddir=NOTHING, testdir=NOTHING, cflags=NOTHING, ldflags=NOTHING, run_f=NOTHING, run_uuid=NOTHING, compiler_extension=NOTHING, runtime_extension=None)[source]

Bases: benchbuild.projects.polybench.polybench.PolyBenchGroup

NAME = '2mm'
benchbuild.projects.polybench.polybench.get_dump_arrays_output(data)[source]