提交 68baaf56 编写于 作者: W wuchenghui

fix dsp

上级 2821ff2e
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef MACE_CORE_RUNTIME_HEXAGON_HEXAGON_CONTROLLER_H_ #ifndef MACE_CORE_RUNTIME_HEXAGON_HEXAGON_CONTROLLER_H_
#define MACE_CORE_RUNTIME_HEXAGON_HEXAGON_CONTROLLER_H_ #define MACE_CORE_RUNTIME_HEXAGON_HEXAGON_CONTROLLER_H_
#include "mace/core/runtime/hexagon/hexagon_nn.h" #include "mace/third_party/nnlib/hexagon_nn.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -27,7 +27,7 @@ namespace mace { ...@@ -27,7 +27,7 @@ namespace mace {
typedef enum op_type_enum { typedef enum op_type_enum {
#define DEF_OP(NAME, ...) OP_##NAME, #define DEF_OP(NAME, ...) OP_##NAME,
#include "mace/core/runtime/hexagon/ops.h" // NOLINT(build/include) #include "mace/third_party/nnlib/ops.h" // NOLINT(build/include)
NN_OPS_MAX NN_OPS_MAX
#undef DEF_OP #undef DEF_OP
...@@ -38,7 +38,7 @@ class OpMap { ...@@ -38,7 +38,7 @@ class OpMap {
void Init() { void Init() {
#define DEF_OP(NAME) op_map_[#NAME] = OP_##NAME; #define DEF_OP(NAME) op_map_[#NAME] = OP_##NAME;
#include "mace/core/runtime/hexagon/ops.h" // NOLINT(build/include) #include "mace/third_party/nnlib/ops.h" // NOLINT(build/include)
#undef DEF_OP #undef DEF_OP
} }
......
...@@ -41,7 +41,7 @@ def get_target_socs(configs): ...@@ -41,7 +41,7 @@ def get_target_socs(configs):
else: else:
available_socs = sh_commands.adb_get_all_socs() available_socs = sh_commands.adb_get_all_socs()
target_socs = available_socs target_socs = available_socs
if hasattr(configs, "target_socs"): if "target_socs" in configs:
target_socs = set(configs["target_socs"]) target_socs = set(configs["target_socs"])
target_socs = target_socs & available_socs target_socs = target_socs & available_socs
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册