From 46ec919abfcdc948693b3a3d076d3da3f4df3bf4 Mon Sep 17 00:00:00 2001 From: Quentin Bourgerie Date: Fri, 4 Nov 2022 10:55:13 +0100 Subject: [PATCH] fix(bench): Compiler options was badly set --- compiler/tests/end_to_end_benchmarks/end_to_end_benchmark.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/tests/end_to_end_benchmarks/end_to_end_benchmark.cpp b/compiler/tests/end_to_end_benchmarks/end_to_end_benchmark.cpp index d2f5609ea..98e09b344 100644 --- a/compiler/tests/end_to_end_benchmarks/end_to_end_benchmark.cpp +++ b/compiler/tests/end_to_end_benchmarks/end_to_end_benchmark.cpp @@ -131,10 +131,11 @@ static int registerEndToEndTestFromFile(std::string prefix, std::string path, }; setCurrentStackLimit(stackSizeRequirement); mlir::concretelang::CompilationOptions defaul; + defaul.loopParallelize = true; + registe("default", defaul); // Run only parallelized benchmarks to take advantage of hardware with lots of // CPU cores. - defaul.loopParallelize = true; // mlir::concretelang::CompilationOptions loop; // loop.loopParallelize = true; // registe("loop", loop);