From bd269f27e603715446dfc6b37d421567d3f3bb2b Mon Sep 17 00:00:00 2001 From: caifubi Date: Thu, 14 May 2020 15:09:07 +0800 Subject: [PATCH] fix enable_loop_sink bug --- mindspore/ccsrc/utils/context/ms_context.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/mindspore/ccsrc/utils/context/ms_context.cc b/mindspore/ccsrc/utils/context/ms_context.cc index 6da1de9cdb..42a78e0990 100644 --- a/mindspore/ccsrc/utils/context/ms_context.cc +++ b/mindspore/ccsrc/utils/context/ms_context.cc @@ -133,7 +133,6 @@ bool MsContext::set_device_target(const std::string &target) { } else { device_target_ = target; } - enable_loop_sink_ = device_target_ == kAscendDevice; MS_LOG(INFO) << "ms set context device target:" << target; return true; }