Browse Source

!418 ge_api_error_codes.h delete ascend_string.h

From: @zhengyuanhua
Reviewed-by: @wqtshg,@ji_chen
Signed-off-by: @ji_chen
tags/v1.1.0
mindspore-ci-bot Gitee 4 years ago
parent
commit
fbed6e2a6d
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      inc/external/ge/ge_api_error_codes.h

+ 0
- 8
inc/external/ge/ge_api_error_codes.h View File

@@ -20,7 +20,6 @@
#include <map>
#include <string>
#include "ge_error_codes.h"
#include "graph/ascend_string.h"

namespace ge {
#ifdef __GNUC__
@@ -63,13 +62,6 @@ class StatusFactory {
return iter_find->second;
}

void GetErrDesc(uint32_t err, AscendString &err_desc) {
auto iter_find = err_desc_.find(err);
if (iter_find != err_desc_.end()) {
err_desc = AscendString((iter_find->second).c_str());
}
}

protected:
StatusFactory() {}
~StatusFactory() {}


Loading…
Cancel
Save