mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-23 22:13:38 +00:00
Fix CONCURRENCY_VISUALIZER build break (#8664)
This commit is contained in:
parent
1a2b41dbbc
commit
f0073308d0
2 changed files with 4 additions and 4 deletions
|
|
@ -165,8 +165,8 @@ Status PartialExecutor::Execute(const SessionState& session_state, const std::ve
|
|||
#ifdef CONCURRENCY_VISUALIZER
|
||||
// need unique name for the series. number of nodes should be good enough for a subgraph
|
||||
char series_name[MaxSeriesNameLengthInChars] = "MainGraph";
|
||||
if (graph_viewer->IsSubgraph()) {
|
||||
auto s = graph_viewer->ParentNode()->Name().substr(0, MaxSeriesNameLengthInChars - 1);
|
||||
if (graph_viewer.IsSubgraph()) {
|
||||
auto s = graph_viewer.ParentNode()->Name().substr(0, MaxSeriesNameLengthInChars - 1);
|
||||
std::copy(s.cbegin(), s.cend(), series_name);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -169,8 +169,8 @@ Status SequentialExecutor::Execute(const SessionState& session_state, const std:
|
|||
#ifdef CONCURRENCY_VISUALIZER
|
||||
// need unique name for the series. number of nodes should be good enough for a subgraph
|
||||
char series_name[MaxSeriesNameLengthInChars] = "MainGraph";
|
||||
if (graph_viewer->IsSubgraph()) {
|
||||
auto s = graph_viewer->ParentNode()->Name().substr(0, MaxSeriesNameLengthInChars - 1);
|
||||
if (graph_viewer.IsSubgraph()) {
|
||||
auto s = graph_viewer.ParentNode()->Name().substr(0, MaxSeriesNameLengthInChars - 1);
|
||||
std::copy(s.cbegin(), s.cend(), series_name);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue