repo stringlengths 2 99 | file stringlengths 13 225 | code stringlengths 0 18.3M | file_length int64 0 18.3M | avg_line_length float64 0 1.36M | max_line_length int64 0 4.26M | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
ImgX-DiffSeg | ImgX-DiffSeg-main/tests/unit/test_exp_eval.py | """Test functions in imgx.exp.eval."""
import chex
import jax
import numpy as np
from chex._src import fake
from imgx.exp.eval import (
get_jit_segmentation_metrics,
get_non_jit_segmentation_metrics,
)
# Set `FLAGS.chex_n_cpu_devices` CPU devices for all tests.
def setUpModule() -> None: # pylint: disable... | 1,741 | 29.561404 | 75 | py |
ImgX-DiffSeg | ImgX-DiffSeg-main/tests/unit/test_model_unet_3d.py | """Test Unet related classes and functions."""
from typing import Tuple
import chex
import haiku as hk
import jax
import jax.numpy as jnp
from absl.testing import parameterized
from chex._src import fake
from imgx.model import Unet3d, Unet3dSlice
# Set `FLAGS.chex_n_cpu_devices` CPU devices for all tests.
def setUp... | 5,355 | 25.646766 | 79 | py |
ImgX-DiffSeg | ImgX-DiffSeg-main/tests/data/test_dataset_iterator.py | """Test image data iterators."""
from typing import Tuple
import chex
import haiku as hk
import jax
import numpy as np
import SimpleITK as sitk # noqa: N813
from absl.testing import parameterized
from chex._src import fake
from omegaconf import DictConfig
from imgx import IMAGE, LABEL, UID
from imgx.datasets import ... | 7,123 | 29.444444 | 78 | py |
PIRA | PIRA-master/pira.py | """
File: pira.py
License: Part of the PIRA project. Licensed under BSD 3 clause license.
See LICENSE.txt file at https://github.com/tudasc/pira
Description: This is PIRA.
"""
__version__ = '0.5.0'
import argparse
import lib.Logging as log
import lib.Pira as pira
import lib.Utility as U
"""
Pira Main
This file c... | 4,543 | 35.645161 | 104 | py |
PIRA | PIRA-master/test/unit/ConfigLoaderNewTest.py | """
File: ConfigLoaderNewTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the ConfigurationLoader module.
"""
import lib.Logging as L
from lib.BatchSystemBackends import BatchSystemBackendType, SlurmInterfaces,... | 17,598 | 34.553535 | 126 | py |
PIRA | PIRA-master/test/unit/MeasurementTest.py | """
File: MeasurementTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the argument mapping
"""
import shutil
import os
import unittest
import lib.Measurement as M
import lib.ConfigurationLoader as C
import lib.D... | 5,591 | 35.311688 | 126 | py |
PIRA | PIRA-master/test/unit/ProfileSinkTest.py | """
File: ProfileSinkTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the argument mapping
"""
import lib.ProfileSink as P
import lib.Configuration as C
from lib.DefaultFlags import BackendDefaults
import unitt... | 1,535 | 33.133333 | 126 | py |
PIRA | PIRA-master/test/unit/BatchSystemBackendsTest.py | """
File: BatchSystemBackendsTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the BatchSystemBackends modules.
"""
import unittest
from lib.BatchSystemBackends import *
class BatchSystemInterfaceTests(unittes... | 9,766 | 34.007168 | 126 | py |
PIRA | PIRA-master/test/unit/BatchSystemTimerTest.py | """
File: BatchSystemTimerTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the batch system timer module.
"""
import json
import os
import subprocess
import unittest
import lib.Utility as U
class BatchSystemTi... | 1,941 | 29.825397 | 126 | py |
PIRA | PIRA-master/test/unit/RunnerFactoryTest.py | """
File: RunnerFactoryTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Module to create different Runner objects, depending on the configuration.
"""
from lib.RunnerFactory import PiraRunnerFactory
from lib.Configuratio... | 5,687 | 35.696774 | 141 | py |
PIRA | PIRA-master/test/unit/TimeTrackTest.py | """
File: TimeTrackTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the argument mapping
"""
import unittest
import lib.TimeTracking as T
class Dummy:
def __init__(self, arg):
self.val = arg
def func... | 1,275 | 21.785714 | 126 | py |
PIRA | PIRA-master/test/unit/ExporterTest.py | """
File: ExporterTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Unit test for Exporter module.
"""
import unittest
import lib.Exporter as E
import lib.Measurement as M
import os
class TestCSVExporter(unittest.TestCa... | 3,259 | 31.6 | 141 | py |
PIRA | PIRA-master/test/unit/CheckerTest.py | """
File: CheckerTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the Checker-module
"""
import unittest
import lib.Utility as U
import lib.Logging as L
import lib.Checker as C
import lib.ConfigurationLoader as... | 5,953 | 38.171053 | 133 | py |
PIRA | PIRA-master/test/unit/ArgumentMappingTest.py | """
File: ArgumentMappingTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the argument mapping
"""
import lib.ArgumentMapping as A
import unittest
class TestPiraArgument(unittest.TestCase):
def setUp(self... | 5,713 | 34.7125 | 126 | py |
PIRA | PIRA-master/test/unit/FunctorManagerTest.py | """
File: FunctorManagementTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the argument mapping
"""
import lib.ConfigurationLoader as C
from lib.Configuration import InvocationConfig
import lib.FunctorManageme... | 8,195 | 38.786408 | 126 | py |
PIRA | PIRA-master/test/unit/BatchSystemGeneratorTest.py | """
File: BatchSystemGeneratorTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the batch system generator module.
"""
import unittest
from lib.BatchSystemGenerator import *
from lib.BatchSystemGenerator import... | 33,153 | 40.236318 | 126 | py |
PIRA | PIRA-master/test/unit/BuilderTest.py | """
File: BuilderTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Unit test for the Builder class.
"""
import unittest
import lib.Builder as B
import lib.Configuration as C
import lib.ConfigurationLoader as CO
class Bu... | 3,815 | 39.595745 | 133 | py |
PIRA | PIRA-master/test/unit/DatabaseTest.py | """
File: DatabaseTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the argument mapping
"""
import lib.Database as D
import lib.tables as T
import unittest
import os
class TestDatabaseBasic(unittest.TestCase... | 1,863 | 25.253521 | 126 | py |
PIRA | PIRA-master/test/unit/AnalyzerTest.py | """
File: AnalyzerTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the Analyzer module.
"""
import lib.Analyzer as A
import lib.FunctorManagement as F
import lib.ConfigurationLoader as C
import lib.Utility as U
... | 5,037 | 34.230769 | 133 | py |
PIRA | PIRA-master/test/unit/UtilityTest.py | """
File: UtilityTest.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description: Tests for the utility module
"""
import os.path
import unittest
import lib.Utility as U
import lib.Logging as L
class TestUtility(unittest.TestCase):
... | 4,811 | 28.341463 | 126 | py |
PIRA | PIRA-master/test/integration/check.py | #!/usr/bin/env python3
"""
File: check.py
License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/tudasc/pira
Description:
This script is used to check the output of the integration tests against expectations defined in a file.
Call this script from th... | 6,314 | 36.366864 | 169 | py |
PIRA | PIRA-master/test/integration/AMG2013_Slurm/functors/clean_amg_ct_mpi.py |
def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 163 | 12.666667 | 43 | py |
PIRA | PIRA-master/test/integration/AMG2013_Slurm/functors/no_instr_amg_ct_mpi.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CC="OMPI_CC=clang mpicc" -j'
def active(benchmark, **kwargs):
pass
| 184 | 15.818182 | 43 | py |
PIRA | PIRA-master/test/integration/AMG2013_Slurm/functors/amg_ct_mpi.py |
def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CC="OMPI_CC=clang scorep --instrument-filter=' + kwargs['filter-file'] + ' mpicc" -j'
def active(benchmark, **kwargs):
pass
| 241 | 21 | 100 | py |
PIRA | PIRA-master/test/integration/AMG2013_Slurm/functors/runner_amg_ct_mpi.py |
def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'cd test && ' + kwargs['LD_PRELOAD'] + ' mpirun --allow-run-as-root -oversubscribe -np 8 ./amg2013 -pooldist 1 -r ' + str(kwargs['args'][1]) + ' ' + str(kwargs['args'][1]) + ' ' + str(kwargs['args'][1]) + ' -P 1 ... | 380 | 30.75 | 238 | py |
PIRA | PIRA-master/test/integration/AMG2013_Slurm/functors/analyze_amg_ct_mpi.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'pgis_pira'
def active(benchmark, **kwargs):
pass
| 161 | 13.727273 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLifePiraVersion1/functors/analyze_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 218 | 10.526316 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLifePiraVersion1/functors/clean_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 162 | 13.818182 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLifePiraVersion1/functors/gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX="scorep --instrument-filter=' + kwargs['filter-file'] + ' clang++" make gol'
def active(benchmark, **kwargs):
pass
| 231 | 20.090909 | 90 | py |
PIRA | PIRA-master/test/integration/GameOfLifePiraVersion1/functors/runner_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return './gol ' + kwargs['args'][1]
def active(benchmark, **kwargs):
pass
| 178 | 15.272727 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLifePiraVersion1/functors/no_instr_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX=clang++ make gol'
def active(benchmark, **kwargs):
pass
| 172 | 14.727273 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_heuristic/functors/analyze_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira --metacg-format 2 --heuristic-selection fp_and_mem_ops --cuttoff-selection unique_median'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 307 | 15.210526 | 109 | py |
PIRA | PIRA-master/test/integration/GameOfLife_heuristic/functors/clean_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 162 | 13.818182 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_heuristic/functors/gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX="scorep --instrument-filter=' + kwargs['filter-file'] + ' clang++" make gol'
def active(benchmark, **kwargs):
pass
| 231 | 20.090909 | 90 | py |
PIRA | PIRA-master/test/integration/GameOfLife_heuristic/functors/runner_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return './gol ' + kwargs['args'][1]
def active(benchmark, **kwargs):
pass
| 178 | 15.272727 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_heuristic/functors/no_instr_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX=clang++ make gol'
def active(benchmark, **kwargs):
pass
| 172 | 14.727273 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLifePiraVersion1_Slurm/functors/analyze_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 218 | 10.526316 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLifePiraVersion1_Slurm/functors/clean_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 162 | 13.818182 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLifePiraVersion1_Slurm/functors/gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX="scorep --instrument-filter=' + kwargs['filter-file'] + ' clang++" make gol'
def active(benchmark, **kwargs):
pass
| 231 | 20.090909 | 90 | py |
PIRA | PIRA-master/test/integration/GameOfLifePiraVersion1_Slurm/functors/runner_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return './gol ' + kwargs['args'][1]
def active(benchmark, **kwargs):
pass
| 178 | 15.272727 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLifePiraVersion1_Slurm/functors/no_instr_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX=clang++ make gol'
def active(benchmark, **kwargs):
pass
| 172 | 14.727273 | 43 | py |
PIRA | PIRA-master/test/integration/AMG2013/functors/clean_amg_ct_mpi.py |
def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 163 | 12.666667 | 43 | py |
PIRA | PIRA-master/test/integration/AMG2013/functors/no_instr_amg_ct_mpi.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CC="OMPI_CC=clang mpicc" -j'
def active(benchmark, **kwargs):
pass
| 184 | 15.818182 | 43 | py |
PIRA | PIRA-master/test/integration/AMG2013/functors/amg_ct_mpi.py |
def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CC="OMPI_CC=clang scorep --instrument-filter=' + kwargs['filter-file'] + ' mpicc" -j'
def active(benchmark, **kwargs):
pass
| 241 | 21 | 100 | py |
PIRA | PIRA-master/test/integration/AMG2013/functors/runner_amg_ct_mpi.py |
def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'cd test && ' + kwargs['LD_PRELOAD'] + ' mpirun --allow-run-as-root -oversubscribe -np 8 ./amg2013 -pooldist 1 -r ' + str(kwargs['args'][1]) + ' ' + str(kwargs['args'][1]) + ' ' + str(kwargs['args'][1]) + ' -P 1 ... | 380 | 30.75 | 238 | py |
PIRA | PIRA-master/test/integration/AMG2013/functors/analyze_amg_ct_mpi.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'pgis_pira'
def active(benchmark, **kwargs):
pass
| 161 | 13.727273 | 43 | py |
PIRA | PIRA-master/test/integration/Kripke/functors/runner_kripke_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return kwargs['LD_PRELOAD'] + ' mpirun -c 8 ./bin/kripke.exe --procs 2,2,2 --groups ' + kwargs['args'][1]
def active(benchmark, **kwargs):
pass
| 254 | 22.181818 | 109 | py |
PIRA | PIRA-master/test/integration/Kripke/functors/no_instr_kripke_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CXX_WRAP="mpicxx" -j'
def active(benchmark, **kwargs):
pass
| 183 | 15.727273 | 45 | py |
PIRA | PIRA-master/test/integration/Kripke/functors/analyze_kripke_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 228 | 11.052632 | 45 | py |
PIRA | PIRA-master/test/integration/Kripke/functors/clean_kripke_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 168 | 14.363636 | 45 | py |
PIRA | PIRA-master/test/integration/Kripke/functors/kripke_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make OMPI_CXX=clang++ CXX_WRAP="scorep --instrument-filter=' + kwargs['filter-file'] + ' mpicxx" -j'
def active(benchmark, **kwargs):
pass
| 256 | 24.7 | 112 | py |
PIRA | PIRA-master/test/integration/LoadImbalance_Slurm/functors/imbalance_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CC="OMPI_CC=clang scorep --instrument-filter=' + kwargs['filter-file'] + ' mpicc"'
def active(benchmark, **kwargs):
pass
| 238 | 20.727273 | 97 | py |
PIRA | PIRA-master/test/integration/LoadImbalance_Slurm/functors/analyze_imbalance_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 218 | 10.526316 | 43 | py |
PIRA | PIRA-master/test/integration/LoadImbalance_Slurm/functors/runner_imbalance_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return kwargs['LD_PRELOAD'] + ' mpirun -np 8 imbalance-static.out'
# return kwargs['LD_PRELOAD'] + ' mpirun -np 8 imbalance-dynamic.out'
def active(benchmark, **kwargs):
pass
| 280 | 24.545455 | 71 | py |
PIRA | PIRA-master/test/integration/LoadImbalance_Slurm/functors/clean_imbalance_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 162 | 13.818182 | 43 | py |
PIRA | PIRA-master/test/integration/LoadImbalance_Slurm/functors/no_instr_imbalance_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CC="OMPI_CC=clang mpicc"'
def active(benchmark, **kwargs):
pass
| 181 | 15.545455 | 43 | py |
PIRA | PIRA-master/test/integration/Kripke_Slurm/functors/runner_kripke_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return kwargs['LD_PRELOAD'] + ' mpirun -c 8 ./bin/kripke.exe --procs 2,2,2 --groups ' + kwargs['args'][1]
def active(benchmark, **kwargs):
pass
| 254 | 22.181818 | 109 | py |
PIRA | PIRA-master/test/integration/Kripke_Slurm/functors/no_instr_kripke_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CXX_WRAP="mpicxx" -j'
def active(benchmark, **kwargs):
pass
| 183 | 15.727273 | 45 | py |
PIRA | PIRA-master/test/integration/Kripke_Slurm/functors/analyze_kripke_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 228 | 11.052632 | 45 | py |
PIRA | PIRA-master/test/integration/Kripke_Slurm/functors/clean_kripke_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 168 | 14.363636 | 45 | py |
PIRA | PIRA-master/test/integration/Kripke_Slurm/functors/kripke_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make OMPI_CXX=clang++ CXX_WRAP="scorep --instrument-filter=' + kwargs['filter-file'] + ' mpicxx" -j'
def active(benchmark, **kwargs):
pass
| 256 | 24.7 | 112 | py |
PIRA | PIRA-master/test/integration/GameOfLife_hybrid_filter/functors/analyze_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 218 | 10.526316 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_hybrid_filter/functors/clean_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 162 | 13.818182 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_hybrid_filter/functors/gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX="scorep --instrument-filter=' + kwargs['filter-file'] + ' clang++" make gol'
def active(benchmark, **kwargs):
pass
| 231 | 20.090909 | 90 | py |
PIRA | PIRA-master/test/integration/GameOfLife_hybrid_filter/functors/runner_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return './gol ' + kwargs['args'][1]
def active(benchmark, **kwargs):
pass
| 178 | 15.272727 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_hybrid_filter/functors/no_instr_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX=clang++ make gol'
def active(benchmark, **kwargs):
pass
| 172 | 14.727273 | 43 | py |
PIRA | PIRA-master/test/integration/LULESH/functors/analyze_lulesh_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 228 | 11.052632 | 45 | py |
PIRA | PIRA-master/test/integration/LULESH/functors/clean_lulesh_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 168 | 14.363636 | 45 | py |
PIRA | PIRA-master/test/integration/LULESH/functors/lulesh_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CXXFLAGS="$LULESH_CXXFLAGS" CXX="OMPI_CXX=clang++ scorep --instrument-filter=' + kwargs['filter-file'] + ' mpicxx" -j'
def active(benchmark, **kwargs):
pass
| 279 | 27 | 135 | py |
PIRA | PIRA-master/test/integration/LULESH/functors/runner_lulesh_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return kwargs['LD_PRELOAD'] + ' mpirun -c 8 ./lulesh2.0 -b 1'
def active(benchmark, **kwargs):
pass
| 210 | 18.181818 | 65 | py |
PIRA | PIRA-master/test/integration/LULESH/functors/no_instr_lulesh_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CXXFLAGS="$LULESH_CXXFLAGS" CXX="mpicxx" -j'
def active(benchmark, **kwargs):
pass
| 206 | 17.818182 | 61 | py |
PIRA | PIRA-master/test/integration/LULESH_Slurm/functors/analyze_lulesh_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 228 | 11.052632 | 45 | py |
PIRA | PIRA-master/test/integration/LULESH_Slurm/functors/clean_lulesh_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 168 | 14.363636 | 45 | py |
PIRA | PIRA-master/test/integration/LULESH_Slurm/functors/lulesh_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CXXFLAGS="$LULESH_CXXFLAGS" CXX="OMPI_CXX=clang++ scorep --instrument-filter=' + kwargs['filter-file'] + ' mpicxx" -j'
def active(benchmark, **kwargs):
pass
| 279 | 27 | 135 | py |
PIRA | PIRA-master/test/integration/LULESH_Slurm/functors/runner_lulesh_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return kwargs['LD_PRELOAD'] + ' mpirun -c 8 ./lulesh2.0 -b 1'
def active(benchmark, **kwargs):
pass
| 210 | 18.181818 | 65 | py |
PIRA | PIRA-master/test/integration/LULESH_Slurm/functors/no_instr_lulesh_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CXXFLAGS="$LULESH_CXXFLAGS" CXX="mpicxx" -j'
def active(benchmark, **kwargs):
pass
| 206 | 17.818182 | 61 | py |
PIRA | PIRA-master/test/integration/GameOfLife_hybrid_filter_Slurm/functors/analyze_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 218 | 10.526316 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_hybrid_filter_Slurm/functors/clean_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 162 | 13.818182 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_hybrid_filter_Slurm/functors/gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX="scorep --instrument-filter=' + kwargs['filter-file'] + ' clang++" make gol'
def active(benchmark, **kwargs):
pass
| 231 | 20.090909 | 90 | py |
PIRA | PIRA-master/test/integration/GameOfLife_hybrid_filter_Slurm/functors/runner_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return './gol ' + kwargs['args'][1]
def active(benchmark, **kwargs):
pass
| 178 | 15.272727 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_hybrid_filter_Slurm/functors/no_instr_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX=clang++ make gol'
def active(benchmark, **kwargs):
pass
| 172 | 14.727273 | 43 | py |
PIRA | PIRA-master/test/integration/LoadImbalance/functors/imbalance_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CC="OMPI_CC=clang scorep --instrument-filter=' + kwargs['filter-file'] + ' mpicc"'
def active(benchmark, **kwargs):
pass
| 238 | 20.727273 | 97 | py |
PIRA | PIRA-master/test/integration/LoadImbalance/functors/analyze_imbalance_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 218 | 10.526316 | 43 | py |
PIRA | PIRA-master/test/integration/LoadImbalance/functors/runner_imbalance_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return kwargs['LD_PRELOAD'] + ' mpirun -np 8 imbalance-static.out'
# return kwargs['LD_PRELOAD'] + ' mpirun -np 8 imbalance-dynamic.out'
def active(benchmark, **kwargs):
pass
| 280 | 24.545455 | 71 | py |
PIRA | PIRA-master/test/integration/LoadImbalance/functors/clean_imbalance_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 162 | 13.818182 | 43 | py |
PIRA | PIRA-master/test/integration/LoadImbalance/functors/no_instr_imbalance_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make CC="OMPI_CC=clang mpicc"'
def active(benchmark, **kwargs):
pass
| 181 | 15.545455 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_Slurm/functors/analyze_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 218 | 10.526316 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_Slurm/functors/clean_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 162 | 13.818182 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_Slurm/functors/gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX="scorep --instrument-filter=' + kwargs['filter-file'] + ' clang++" make gol'
def active(benchmark, **kwargs):
pass
| 231 | 20.090909 | 90 | py |
PIRA | PIRA-master/test/integration/GameOfLife_Slurm/functors/runner_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return './gol ' + kwargs['args'][1]
def active(benchmark, **kwargs):
pass
| 178 | 15.272727 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_Slurm/functors/no_instr_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX=clang++ make gol'
def active(benchmark, **kwargs):
pass
| 172 | 14.727273 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_heuristic_Slurm/functors/analyze_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira --heuristic-selection fp_and_mem_ops --cuttoff-selection unique_median'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 289 | 14.263158 | 91 | py |
PIRA | PIRA-master/test/integration/GameOfLife_heuristic_Slurm/functors/clean_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 162 | 13.818182 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_heuristic_Slurm/functors/gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX="scorep --instrument-filter=' + kwargs['filter-file'] + ' clang++" make gol'
def active(benchmark, **kwargs):
pass
| 231 | 20.090909 | 90 | py |
PIRA | PIRA-master/test/integration/GameOfLife_heuristic_Slurm/functors/runner_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return './gol ' + kwargs['args'][1]
def active(benchmark, **kwargs):
pass
| 178 | 15.272727 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife_heuristic_Slurm/functors/no_instr_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX=clang++ make gol'
def active(benchmark, **kwargs):
pass
| 172 | 14.727273 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife/functors/analyze_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def pre(**kwargs):
pass
def passive(benchmark, **kwargs):
return 'pgis_pira'
def post(**kwargs):
pass
def active(benchmark, **kwargs):
pass
| 218 | 10.526316 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife/functors/clean_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'make clean'
def active(benchmark, **kwargs):
pass
| 162 | 13.818182 | 43 | py |
PIRA | PIRA-master/test/integration/GameOfLife/functors/gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return 'CXX="scorep --instrument-filter=' + kwargs['filter-file'] + ' clang++" make gol'
def active(benchmark, **kwargs):
pass
| 231 | 20.090909 | 90 | py |
PIRA | PIRA-master/test/integration/GameOfLife/functors/runner_gol_ct.py | def get_method():
return {'passive': True, 'active': False}
def passive(benchmark, **kwargs):
return './gol ' + kwargs['args'][1]
def active(benchmark, **kwargs):
pass
| 178 | 15.272727 | 43 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.