| @@ -35,6 +35,7 @@ | |||||
| #include "ir_build/atc_ir_common.h" | #include "ir_build/atc_ir_common.h" | ||||
| #include "model/ge_model.h" | #include "model/ge_model.h" | ||||
| #include "graph/shape_refiner.h" | #include "graph/shape_refiner.h" | ||||
| #include "common/util/error_manager/error_manager.h" | |||||
| using std::string; | using std::string; | ||||
| using namespace std; | using namespace std; | ||||
| @@ -129,6 +130,14 @@ graphStatus aclgrphBuildInitialize(std::map<std::string, std::string> global_opt | |||||
| } | } | ||||
| } | } | ||||
| GELOGW("gelib has been initialized!"); | GELOGW("gelib has been initialized!"); | ||||
| std::string path_base = ge::GELib::GetPath(); | |||||
| int ret = ErrorManager::GetInstance().Init(path_base); | |||||
| if (ret != 0) { | |||||
| DOMI_LOGE("ErrorManager init fail !"); | |||||
| return ret; | |||||
| } | |||||
| return GRAPH_SUCCESS; | return GRAPH_SUCCESS; | ||||
| } | } | ||||