提交 8a5299d7 编写于 作者: 李寅

Merge branch 'fix_dsp' into 'master'

fix dsp

See merge request !461
......@@ -15,7 +15,7 @@
#ifndef 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
extern "C" {
......
......@@ -27,7 +27,7 @@ namespace mace {
typedef enum op_type_enum {
#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
#undef DEF_OP
......@@ -38,7 +38,7 @@ class OpMap {
void Init() {
#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
}
......
......@@ -41,7 +41,7 @@ def get_target_socs(configs):
else:
available_socs = sh_commands.adb_get_all_socs()
target_socs = available_socs
if hasattr(configs, "target_socs"):
if "target_socs" in configs:
target_socs = set(configs["target_socs"])
target_socs = target_socs & available_socs
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册