diff --git a/tf_adapter/kernels/geop_npu.cc b/tf_adapter/kernels/geop_npu.cc index a4ed173da2a14167611aa72c13fd532cdd68a6ff..6b39da8ce48e726c8c24a08d0825fd9306522f15 100644 --- a/tf_adapter/kernels/geop_npu.cc +++ b/tf_adapter/kernels/geop_npu.cc @@ -67,7 +67,7 @@ #include "framework/omg/parser/parser_inner_ctx.h" #include "parser/onnx_parser.h" #include "ge/ge_api.h" -#include "ge/ge_api_types.h" +#include "ge_common/ge_api_types.h" #include "graph/ascend_string.h" #include "graph/utils/graph_utils.h" diff --git a/tf_adapter/kernels/geop_npu.h b/tf_adapter/kernels/geop_npu.h index 1fda9b85702e64962d71e3b0b9dc7e56369a8de1..fc44c4022d27a9b879fd2a2c082cc52fdb0a8b0b 100644 --- a/tf_adapter/kernels/geop_npu.h +++ b/tf_adapter/kernels/geop_npu.h @@ -27,7 +27,7 @@ #include "tensorflow/core/util/env_var.h" #include "ge/ge_api.h" -#include "ge/ge_api_types.h" +#include "ge_common/ge_api_types.h" #include "graph/tensor.h" #include "graph/utils/graph_utils.h" #include "aoe_tuning_api.h" diff --git a/tf_adapter/kernels/npu_sys_ctl_ops.cc b/tf_adapter/kernels/npu_sys_ctl_ops.cc index de4ee424c68c66becbfec41ce5ee61b52d586407..480826d2473140709f519e07ac4a42fa87fc4b9d 100644 --- a/tf_adapter/kernels/npu_sys_ctl_ops.cc +++ b/tf_adapter/kernels/npu_sys_ctl_ops.cc @@ -24,7 +24,7 @@ #include "framework/common/ge_inner_error_codes.h" #include "framework/omg/parser/parser_api.h" #include "ge/ge_api.h" -#include "ge/ge_api_types.h" +#include "ge_common/ge_api_types.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/platform/mutex.h" #include "tf_adapter/common/adapter_logger.h" diff --git a/tf_adapter/tests/depends/ascendcl/src/ascendcl_stub.h b/tf_adapter/tests/depends/ascendcl/src/ascendcl_stub.h index 05264d3c92c959ff6add7d1ae88ac677054b1021..2971044a4e7be529c7769ffb809ba480a578fdfd 100644 --- a/tf_adapter/tests/depends/ascendcl/src/ascendcl_stub.h +++ b/tf_adapter/tests/depends/ascendcl/src/ascendcl_stub.h @@ -16,7 +16,7 @@ #include #include "ge/ge_api.h" -#include "ge/ge_api_types.h" +#include "ge_common/ge_api_types.h" #include "graph/tensor.h" #include "acl/acl_base.h" #include "acl/acl_tdt.h" diff --git a/tf_adapter/tests/depends/ge_runner/src/callback_executor.h b/tf_adapter/tests/depends/ge_runner/src/callback_executor.h index d312ccef69732cd13c984a351a6077883dd397e1..eeae4fa13828a7fd20a141abf81b10f558acae75 100644 --- a/tf_adapter/tests/depends/ge_runner/src/callback_executor.h +++ b/tf_adapter/tests/depends/ge_runner/src/callback_executor.h @@ -24,7 +24,7 @@ #include #include #include -#include "ge/ge_api_types.h" +#include "ge_common/ge_api_types.h" #include "graph/tensor.h" namespace tensorflow { @@ -51,4 +51,4 @@ class CallbackExecutor { int32_t run_num_ = 0; }; } -#endif // TESTS_DEPENDS_GE_RUNNER_SRC_HOST_THREAD_POOL_H_ \ No newline at end of file +#endif // TESTS_DEPENDS_GE_RUNNER_SRC_HOST_THREAD_POOL_H_ diff --git a/tf_adapter/tests/depends/ge_runner/src/ge_runner_stub.cc b/tf_adapter/tests/depends/ge_runner/src/ge_runner_stub.cc index 6bd6c1ae812c88b4a82c6df63b95b9fae247a9b1..e170f867fb30c0cc3b7562e2de78688b4388ecb9 100644 --- a/tf_adapter/tests/depends/ge_runner/src/ge_runner_stub.cc +++ b/tf_adapter/tests/depends/ge_runner/src/ge_runner_stub.cc @@ -25,7 +25,7 @@ #include "framework/omg/parser/parser_factory.h" #include "framework/omg/parser/parser_inner_ctx.h" #include "ge/ge_api.h" -#include "ge/ge_api_types.h" +#include "ge_common/ge_api_types.h" #include "graph/tensor.h" #include "graph/utils/graph_utils.h" #include "graph/utils/graph_utils_ex.h" diff --git a/tf_adapter/tests/depends/ge_runner/src/ge_stub.h b/tf_adapter/tests/depends/ge_runner/src/ge_stub.h index 9a0b2be1b75674f918033738e0eaae11d4789cdd..40da4177cfe601402c4715c5fa3fce7ff410790d 100644 --- a/tf_adapter/tests/depends/ge_runner/src/ge_stub.h +++ b/tf_adapter/tests/depends/ge_runner/src/ge_stub.h @@ -28,7 +28,7 @@ #include "framework/omg/parser/parser_factory.h" #include "framework/omg/parser/parser_inner_ctx.h" #include "ge/ge_api.h" -#include "ge/ge_api_types.h" +#include "ge_common/ge_api_types.h" #include "ge/ge_ir_build.h" #include "graph/tensor.h" #include "graph/utils/graph_utils.h" diff --git a/tf_adapter/util/npu_attrs.cc b/tf_adapter/util/npu_attrs.cc index eead6faf3f77752e369fdb742df832031bc0324c..1f7d52705e51a6e2535548d430b6f780557d4f8d 100644 --- a/tf_adapter/util/npu_attrs.cc +++ b/tf_adapter/util/npu_attrs.cc @@ -29,7 +29,7 @@ #include "mmpa/mmpa_api.h" #include "tf_adapter/util/ge_plugin.h" #include "ge/ge_api.h" -#include "ge/ge_api_types.h" +#include "ge_common/ge_api_types.h" #include "tf_adapter_2.x/npu_device/core/npu_micros.h" namespace tensorflow { namespace { diff --git a/tf_adapter/util/npu_attrs.h b/tf_adapter/util/npu_attrs.h index af79b632f52c072d5961358af8702473209123d6..e5f6a4bed9b9e49bf9fda28fbd362537fef0f69c 100644 --- a/tf_adapter/util/npu_attrs.h +++ b/tf_adapter/util/npu_attrs.h @@ -23,7 +23,7 @@ #include #include #include -#include "ge/ge_api_types.h" +#include "ge_common/ge_api_types.h" #include "graph/ascend_string.h" #include "tensorflow/core/common_runtime/optimization_registry.h" #include "tensorflow/core/framework/attr_value.pb.h" diff --git a/tf_adapter/util/npu_plugin.h b/tf_adapter/util/npu_plugin.h index a76ea92b9a94b7d096130388515d58915d710186..6d1f83eed0042f11f0cc859941404ecb4215e284 100644 --- a/tf_adapter/util/npu_plugin.h +++ b/tf_adapter/util/npu_plugin.h @@ -19,7 +19,7 @@ #include #include -#include "ge/ge_api_types.h" +#include "ge_common/ge_api_types.h" #include "ge_plugin.h" #include "framework/memory/memory_api.h"