Skip to content

Commit abecb56

Browse files
souptcCheng Tang
and
Cheng Tang
authored
fix buid break (microsoft#11492)
Co-authored-by: Cheng Tang <[email protected]@orttrainingdev9.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>
1 parent 436c4f9 commit abecb56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -1007,14 +1007,14 @@ Status MIGraphXExecutionProvider::Compile(const std::vector<FusedNodeAndGraph>&
10071007
model_proto->SerializeToString(onnx_string_buffer);
10081008

10091009
if (dump_model_ops_) {
1010-
std::string onnx_name = fused_node->Name() + ".onnx";
1010+
std::string onnx_name = fused_node.Name() + ".onnx";
10111011
std::ofstream ofs(onnx_name);
10121012
ofs.write(onnx_string_buffer.data(), onnx_string_buffer.size());
10131013
ofs.close();
10141014
}
10151015

10161016
std::vector<std::string> input_names, output_names;
1017-
no_input_shape = no_input_shape or get_input_output_names(*graph_body_viewer, input_names, output_names);
1017+
no_input_shape = no_input_shape or get_input_output_names(graph_body_viewer, input_names, output_names);
10181018

10191019
// by parsing the model_proto, create a program corresponding to
10201020
// the input fused_node
@@ -1208,4 +1208,4 @@ Status MIGraphXExecutionProvider::Compile(const std::vector<FusedNodeAndGraph>&
12081208
return Status::OK();
12091209
}
12101210

1211-
} // namespace onnxruntime
1211+
} // namespace onnxruntime

0 commit comments

Comments
 (0)