chore(bench): Rename default options to cpu

This commit is contained in:
Quentin Bourgerie
2022-11-04 10:56:04 +01:00
parent 46ec919abf
commit ec0f49431b

View File

@@ -130,15 +130,10 @@ static int registerEndToEndTestFromFile(std::string prefix, std::string path,
});
};
setCurrentStackLimit(stackSizeRequirement);
mlir::concretelang::CompilationOptions defaul;
defaul.loopParallelize = true;
mlir::concretelang::CompilationOptions cpu;
cpu.loopParallelize = true;
registe("cpu", cpu);
registe("default", defaul);
// Run only parallelized benchmarks to take advantage of hardware with lots of
// CPU cores.
// mlir::concretelang::CompilationOptions loop;
// loop.loopParallelize = true;
// registe("loop", loop);
#ifdef CONCRETELANG_CUDA_SUPPORT
mlir::concretelang::CompilationOptions gpu;
gpu.emitGPUOps = true;