mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-10 04:35:03 -05:00
test: add gpu benchs
This commit is contained in:
@@ -135,6 +135,11 @@ static int registerEndToEndTestFromFile(std::string prefix, std::string path,
|
||||
mlir::concretelang::CompilationOptions loop;
|
||||
loop.loopParallelize = true;
|
||||
registe("loop", loop);
|
||||
#ifdef CONCRETELANG_CUDA_SUPPORT
|
||||
mlir::concretelang::CompilationOptions gpu;
|
||||
gpu.useGPU = true;
|
||||
registe("gpu", gpu);
|
||||
#endif
|
||||
// mlir::concretelang::CompilationOptions dataflow;
|
||||
// dataflow.dataflowParallelize = true;
|
||||
// registe("dataflow", dataflow);
|
||||
|
||||
@@ -136,6 +136,11 @@ static int registerEndToEndTestFromFile(std::string prefix, std::string path,
|
||||
mlir::concretelang::CompilationOptions loop;
|
||||
loop.loopParallelize = true;
|
||||
registe("loop", loop);
|
||||
#ifdef CONCRETELANG_CUDA_SUPPORT
|
||||
mlir::concretelang::CompilationOptions gpu;
|
||||
gpu.useGPU = true;
|
||||
registe("gpu", gpu);
|
||||
#endif
|
||||
#ifdef CONCRETELANG_DATAFLOW_EXECUTION_ENABLED
|
||||
mlir::concretelang::CompilationOptions dataflow;
|
||||
dataflow.dataflowParallelize = true;
|
||||
|
||||
Reference in New Issue
Block a user