[CPU] Fix core dump issue for ENABLE_DEBUG_CAPS (#16229)

This commit is contained in:
Fang Xu
2023-03-14 12:02:57 +05:30
committed by GitHub
parent dcc8a36d88
commit ae37ca671c

View File

@@ -256,6 +256,9 @@ void serializeToCout(const Graph &graph) {
}
void summary_perf(const Graph &graph) {
if (!graph.getGraphContext()) {
return;
}
const std::string& summaryPerf = graph.getConfig().debugCaps.summaryPerf;
if (summaryPerf.empty())