We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7af528 commit cb9cd38Copy full SHA for cb9cd38
lib/Dialect/Openfhe/Transforms/ConfigureCryptoContext.cpp
@@ -302,6 +302,8 @@ struct ConfigureCryptoContext
302
}
303
304
// get evalAddCount/KeySwitchCount from func attribute, if present
305
+ config.evalAddCount = 0;
306
+ config.keySwitchCount = 0;
307
if (auto openfheParamsAttr = op->getAttrOfType<mgmt::OpenfheParamsAttr>(
308
mgmt::MgmtDialect::kArgOpenfheParamsAttrName)) {
309
config.evalAddCount = openfheParamsAttr.getEvalAddCount();
0 commit comments