mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
fix: use new dfr api
This commit is contained in:
@@ -48,18 +48,9 @@ buildLambda(const char *module, const char *funcName,
|
||||
return std::move(*lambdaOrErr);
|
||||
}
|
||||
|
||||
void initParallelization() {
|
||||
#ifdef CONCRETELANG_PARALLEL_EXECUTION_ENABLED
|
||||
_dfr_pre_main();
|
||||
#else
|
||||
throw std::runtime_error(
|
||||
"This package was built without parallelization support");
|
||||
#endif
|
||||
}
|
||||
|
||||
void terminateParallelization() {
|
||||
#ifdef CONCRETELANG_PARALLEL_EXECUTION_ENABLED
|
||||
_dfr_post_main();
|
||||
_dfr_terminate();
|
||||
#else
|
||||
throw std::runtime_error(
|
||||
"This package was built without parallelization support");
|
||||
|
||||
Reference in New Issue
Block a user