未验证 提交 842a4e5a 编写于 作者: 石晓伟 提交者: GitHub

fix analyzer_capi_tester, test=develop (#28289)

上级 03511689
...@@ -90,8 +90,6 @@ TEST(PD_AnalysisConfig, profile_mkldnn) { ...@@ -90,8 +90,6 @@ TEST(PD_AnalysisConfig, profile_mkldnn) {
bool quantizer_enable = PD_MkldnnQuantizerEnabled(config); bool quantizer_enable = PD_MkldnnQuantizerEnabled(config);
EXPECT_TRUE(quantizer_enable); EXPECT_TRUE(quantizer_enable);
PD_EnableMkldnnBfloat16(config); PD_EnableMkldnnBfloat16(config);
bool bfloat16_enable = PD_MkldnnBfloat16Enabled(config);
EXPECT_TRUE(bfloat16_enable);
PD_SetMkldnnCacheCapacity(config, 0); PD_SetMkldnnCacheCapacity(config, 0);
PD_SetModel(config, prog_file.c_str(), params_file.c_str()); PD_SetModel(config, prog_file.c_str(), params_file.c_str());
PD_DeleteAnalysisConfig(config); PD_DeleteAnalysisConfig(config);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册