From 66d1198e8007cfe6ccb510813a6b5f43728b92eb Mon Sep 17 00:00:00 2001 From: likun104 Date: Thu, 28 Nov 2024 14:54:47 +0800 Subject: [PATCH] update ge_api_types.h --- tf_adapter/kernels/geop_npu.cc | 2 +- tf_adapter/kernels/geop_npu.h | 2 +- tf_adapter/kernels/npu_sys_ctl_ops.cc | 2 +- tf_adapter/tests/depends/ascendcl/src/ascendcl_stub.h | 2 +- tf_adapter/tests/depends/ge_runner/src/callback_executor.h | 4 ++-- tf_adapter/tests/depends/ge_runner/src/ge_runner_stub.cc | 2 +- tf_adapter/tests/depends/ge_runner/src/ge_stub.h | 2 +- tf_adapter/util/npu_attrs.cc | 2 +- tf_adapter/util/npu_attrs.h | 2 +- tf_adapter/util/npu_plugin.h | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tf_adapter/kernels/geop_npu.cc b/tf_adapter/kernels/geop_npu.cc index a4ed173da..6b39da8ce 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 1fda9b857..fc44c4022 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 de4ee424c..480826d24 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 05264d3c9..2971044a4 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 d312ccef6..eeae4fa13 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 6bd6c1ae8..e170f867f 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 9a0b2be1b..40da4177c 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 eead6faf3..1f7d52705 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 af79b632f..e5f6a4bed 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 a76ea92b9..6d1f83eed 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" -- Gitee