mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
feat(compiler/gpu): Integrate gpu crypto optimization
This commit is contained in:
committed by
Ayoub Benaissa
parent
a5047586f4
commit
d934553950
@@ -198,6 +198,10 @@ llvm::Error CompilerEngine::determineFHEParameters(CompilationResult &res) {
|
||||
return llvm::Error::success();
|
||||
}
|
||||
CompilationFeedback feedback;
|
||||
// Make sure to use the gpu constraint of the optimizer if we use gpu
|
||||
// backend.
|
||||
compilerOptions.optimizerConfig.use_gpu_constraints =
|
||||
compilerOptions.emitGPUOps;
|
||||
auto v0Params = getParameter(descr.get().value(), feedback,
|
||||
compilerOptions.optimizerConfig);
|
||||
if (auto err = v0Params.takeError()) {
|
||||
|
||||
Reference in New Issue
Block a user