!662 Feature: change profiling open interface

From: @lixiwen1
Reviewed-by: @xchu42,@wqtshg
Signed-off-by: @wqtshg
pull/662/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 4579055a17

@ -39,7 +39,7 @@ size_t GetAlignedSize(size_t size) {
}
Status ProfilingTaskInfo(OpTask *op_task) {
if (!ProfilingManager::Instance().ProfilingModelExecuteOn()) {
if (!ProfilingManager::Instance().ProfilingModelLoadOn()) {
return SUCCESS;
}

Loading…
Cancel
Save