NVTX label change (#5562)

* label change

* more info on label

Co-authored-by: Ethan Tao <ettao@OrtTrainingDev4.af05slrtruoetgaxwwjv5nsq5e.px.internal.cloudapp.net>
This commit is contained in:
ytaous 2020-10-22 10:34:20 -07:00 committed by GitHub
parent 20bc83400b
commit 7da5949279
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -302,7 +302,7 @@ Status SequentialExecutor::Execute(const SessionState& session_state, const std:
#endif
#ifdef ENABLE_NVTX_PROFILE
profile::NvtxRangeCreator node_compute_range(
MakeString(node.OpType(), ".", node.Index()), profile::Color::Blue);
MakeString(node.OpType(), ".", node.Index(), "(", node.Name(), ")"), profile::Color::Blue);
node_compute_range.Begin();
#endif
ORT_TRY {