Browse Source

Pre Merge pull request !650 from zhaoxinxin/development

pull/650/MERGE
zhaoxinxin Gitee 5 years ago
parent
commit
d8fa7170c0
2 changed files with 4 additions and 2 deletions
  1. +2
    -0
      ge/host_cpu_engine/common/constant/constant.h
  2. +2
    -2
      inc/framework/common/debug/log.h

+ 2
- 0
ge/host_cpu_engine/common/constant/constant.h View File

@@ -19,6 +19,8 @@

#include <string>



namespace ge {
namespace host_cpu {
// engine name


+ 2
- 2
inc/framework/common/debug/log.h View File

@@ -258,7 +258,7 @@
#define GE_ERRORLOG_AND_ERRORMSG(_status, errormsg) \
{ \
GELOGE(_status, "%s", errormsg); \
ErrorManager::GetInstance().ATCReportErrMessage("E10043", {"reason"}, {errormsg}); \
ErrorManager::GetInstance().ATCReportErrMessage("E19021", {"reason"}, {errormsg}); \
}

#define GE_CHK_LOG_AND_ERRORMSG(expr, _status, errormsg) \
@@ -266,7 +266,7 @@
bool b = (expr); \
if (!b) { \
GELOGE(_status, "%s", errormsg); \
ErrorManager::GetInstance().ATCReportErrMessage("E10043", {"reason"}, {errormsg}); \
ErrorManager::GetInstance().ATCReportErrMessage("E19021", {"reason"}, {errormsg}); \
return _status; \
} \
} while (0)


Loading…
Cancel
Save