Lines Matching refs:benchmark_definition
144 def __init__(self, benchmark_definition, fruit_benchmark_sources_dir): argument
145 …self.benchmark_definition = add_synthetic_benchmark_parameters(benchmark_definition, path_to_code_…
149 cxx_std = self.benchmark_definition['cxx_std']
150 num_classes = self.benchmark_definition['num_classes']
151 compiler_executable_name = self.benchmark_definition['compiler']
165 loop_factor = self.benchmark_definition['loop_factor']
170 return self.benchmark_definition
174 …def __init__(self, benchmark_definition, fruit_sources_dir, fruit_build_dir, fruit_benchmark_sourc… argument
175 …self.benchmark_definition = add_synthetic_benchmark_parameters(benchmark_definition, path_to_code_…
179 num_bindings = self.benchmark_definition['num_bindings']
187 cxx_std = self.benchmark_definition['cxx_std']
188 num_bindings = self.benchmark_definition['num_bindings']
189 compiler_executable_name = self.benchmark_definition['compiler']
207 return self.benchmark_definition
221 benchmark_definition, argument
225 …self.benchmark_definition = add_synthetic_benchmark_parameters(benchmark_definition, path_to_code_…
230 num_classes = self.benchmark_definition['num_classes']
231 cxx_std = self.benchmark_definition['cxx_std']
232 compiler_executable_name = self.benchmark_definition['compiler']
233 …benchmark_generation_flags = {flag_name: True for flag_name in self.benchmark_definition['benchmar…
293 num_classes = self.benchmark_definition['num_classes']
294 loop_factor = self.benchmark_definition['loop_factor']
318 return self.benchmark_definition
630 def expand_benchmark_definition(benchmark_definition): argument
642 dict_keys = sorted(benchmark_definition.keys())
644 benchmark_definition = {dict_key: value if isinstance(value, list)
646 for dict_key, value in benchmark_definition.items()}
648 …value_combinations = itertools.product(*(benchmark_definition[dict_key] for dict_key in dict_keys))
655 …n list(itertools.chain(*[expand_benchmark_definition(benchmark_definition) for benchmark_definitio…
693 with open(args.benchmark_definition, 'r') as f:
702 lambda benchmark_definition:
703 … (benchmark_definition['compiler'], tuple(benchmark_definition['additional_cmake_args']))):
725 for benchmark_definition in benchmark_definitions_with_current_config:
727 print('%s/%s: %s' % (benchmark_index, len(benchmark_definitions), benchmark_definition))
728 benchmark_name = benchmark_definition['name']
736 benchmark_definition,
740 benchmark_definition,
755 benchmark_definition=benchmark_definition,
768 benchmark_definition=benchmark_definition,
792 benchmark_definition=benchmark_definition)