Browse Source

!1822 Normalize include files ...

From: @zhangxiaokun9
Reviewed-by: @xchu42,@xchu42,@wqtshg
Signed-off-by: @wqtshg
tags/v1.5.1
mindspore-ci-bot Gitee 3 years ago
parent
commit
d89817a06d
100 changed files with 197 additions and 257 deletions
  1. +4
    -26
      ge/CMakeLists.txt
  2. +1
    -1
      ge/analyzer/analyzer.cc
  3. +2
    -2
      ge/client/ge_api.cc
  4. +0
    -14
      ge/common/CMakeLists.txt
  5. +2
    -2
      ge/common/base64.h
  6. +1
    -1
      ge/common/dump/dump_manager.h
  7. +1
    -1
      ge/common/dump/dump_op.h
  8. +1
    -1
      ge/common/dump/dump_properties.cc
  9. +1
    -1
      ge/common/dump/opdebug_register.cc
  10. +2
    -2
      ge/common/dump/opdebug_register.h
  11. +1
    -1
      ge/common/formats/format_transfers/format_transfer_fractal_z.cc
  12. +1
    -1
      ge/common/formats/format_transfers/format_transfer_nchw_fz_c04.cc
  13. +1
    -1
      ge/common/ge/datatype_util.h
  14. +2
    -2
      ge/common/ge/plugin_manager.h
  15. +1
    -1
      ge/common/ge_format_util.cc
  16. +1
    -1
      ge/common/helper/model_cache_helper.h
  17. +1
    -1
      ge/common/math/fp16_math.cc
  18. +1
    -1
      ge/common/model_parser/model_parser.cc
  19. +1
    -1
      ge/common/op/attr_value_util.cc
  20. +1
    -1
      ge/common/profiling/ge_profiling.cc
  21. +1
    -1
      ge/common/profiling/ge_runner_profiling.cc
  22. +1
    -1
      ge/common/profiling/profiling_manager.cc
  23. +1
    -1
      ge/common/properties_manager.cc
  24. +1
    -1
      ge/common/properties_manager.h
  25. +1
    -1
      ge/common/thread_pool.cc
  26. +1
    -1
      ge/common/thread_pool.h
  27. +1
    -1
      ge/common/types.cc
  28. +1
    -1
      ge/engine_manager/dnnengine_manager.cc
  29. +2
    -2
      ge/engine_manager/dnnengine_manager.h
  30. +0
    -6
      ge/executor/CMakeLists.txt
  31. +3
    -3
      ge/executor/ge_executor.cc
  32. +0
    -10
      ge/ge_local_engine/CMakeLists.txt
  33. +3
    -3
      ge/ge_local_engine/engine/ge_local_engine.cc
  34. +1
    -1
      ge/ge_local_engine/engine/host_cpu_engine.cc
  35. +1
    -1
      ge/ge_local_engine/engine/host_cpu_engine.h
  36. +2
    -2
      ge/ge_local_engine/ops_kernel_store/ge_local_ops_kernel_builder.cc
  37. +3
    -3
      ge/ge_local_engine/ops_kernel_store/ge_local_ops_kernel_info.cc
  38. +1
    -1
      ge/ge_local_engine/ops_kernel_store/op/ge_deleted_op.cc
  39. +1
    -1
      ge/ge_local_engine/ops_kernel_store/op/no_op.cc
  40. +1
    -1
      ge/ge_local_engine/ops_kernel_store/op/op.cc
  41. +1
    -1
      ge/ge_local_engine/ops_kernel_store/op/op.h
  42. +1
    -1
      ge/ge_local_engine/ops_kernel_store/op/op_factory.cc
  43. +0
    -8
      ge/ge_runtime/CMakeLists.txt
  44. +4
    -4
      ge/ge_runtime/model_runner.cc
  45. +2
    -2
      ge/ge_runtime/output.cc
  46. +2
    -2
      ge/ge_runtime/output.h
  47. +7
    -7
      ge/ge_runtime/runtime_model.cc
  48. +2
    -2
      ge/ge_runtime/runtime_model.h
  49. +1
    -1
      ge/ge_runtime/task/task.h
  50. +2
    -2
      ge/ge_runtime/task/task_factory.h
  51. +5
    -5
      ge/generator/ge_generator.cc
  52. +3
    -3
      ge/generator/generator_api.cc
  53. +1
    -1
      ge/graph/build/graph_builder.cc
  54. +5
    -5
      ge/graph/build/graph_builder.h
  55. +3
    -3
      ge/graph/build/label_allocator.cc
  56. +2
    -2
      ge/graph/build/memory/block_mem_assigner.cc
  57. +3
    -3
      ge/graph/build/memory/block_mem_assigner.h
  58. +2
    -2
      ge/graph/build/memory/hybrid_mem_assigner.h
  59. +2
    -2
      ge/graph/build/memory/mem_assigner.h
  60. +1
    -1
      ge/graph/build/memory/memory_assigner.cc
  61. +3
    -3
      ge/graph/build/memory/var_mem_assign_util.cc
  62. +2
    -2
      ge/graph/build/memory/var_mem_assign_util.h
  63. +5
    -5
      ge/graph/build/model_builder.cc
  64. +4
    -4
      ge/graph/build/model_builder.h
  65. +1
    -1
      ge/graph/build/run_context.cc
  66. +1
    -1
      ge/graph/build/run_context.h
  67. +1
    -1
      ge/graph/build/stream_allocator.cc
  68. +2
    -2
      ge/graph/build/stream_graph_optimizer.cc
  69. +1
    -1
      ge/graph/build/stream_graph_optimizer.h
  70. +3
    -3
      ge/graph/build/task_generator.cc
  71. +1
    -1
      ge/graph/build/task_generator.h
  72. +1
    -1
      ge/graph/common/bcast.cc
  73. +3
    -3
      ge/graph/common/bcast.h
  74. +3
    -3
      ge/graph/common/local_context.cc
  75. +1
    -1
      ge/graph/common/local_context.h
  76. +2
    -2
      ge/graph/common/omg_util.h
  77. +1
    -1
      ge/graph/common/transop_util.cc
  78. +6
    -6
      ge/graph/execute/graph_execute.h
  79. +3
    -3
      ge/graph/label/case_label_maker.cc
  80. +3
    -3
      ge/graph/label/if_label_maker.cc
  81. +2
    -2
      ge/graph/label/label_maker.cc
  82. +3
    -3
      ge/graph/label/partitioned_call_label_maker.cc
  83. +3
    -3
      ge/graph/label/while_label_maker.cc
  84. +1
    -1
      ge/graph/load/graph_loader.cc
  85. +3
    -3
      ge/graph/load/graph_loader.h
  86. +2
    -2
      ge/graph/load/model_manager/aipp_utils.cc
  87. +2
    -2
      ge/graph/load/model_manager/aipp_utils.h
  88. +2
    -2
      ge/graph/load/model_manager/cpu_queue_schedule.cc
  89. +1
    -1
      ge/graph/load/model_manager/cpu_queue_schedule.h
  90. +1
    -1
      ge/graph/load/model_manager/data_dumper.cc
  91. +1
    -1
      ge/graph/load/model_manager/data_dumper.h
  92. +3
    -3
      ge/graph/load/model_manager/data_inputer.cc
  93. +2
    -2
      ge/graph/load/model_manager/data_inputer.h
  94. +4
    -4
      ge/graph/load/model_manager/davinci_model.cc
  95. +6
    -6
      ge/graph/load/model_manager/davinci_model.h
  96. +1
    -1
      ge/graph/load/model_manager/model_manager.cc
  97. +6
    -6
      ge/graph/load/model_manager/model_manager.h
  98. +3
    -3
      ge/graph/load/model_manager/model_utils.cc
  99. +2
    -2
      ge/graph/load/model_manager/model_utils.h
  100. +1
    -1
      ge/graph/load/model_manager/task_info/kernel_ex_task_info.cc

+ 4
- 26
ge/CMakeLists.txt View File

@@ -754,22 +754,15 @@ target_compile_options(ge_runner PRIVATE


target_include_directories(ge_runner SYSTEM PRIVATE target_include_directories(ge_runner SYSTEM PRIVATE
${GE_CODE_DIR}/ge ${GE_CODE_DIR}/ge
${GE_CODE_DIR}/ge/analyzer
${GE_CODE_DIR}/inc ${GE_CODE_DIR}/inc
${GE_CODE_DIR}/inc/external ${GE_CODE_DIR}/inc/external
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${GE_CODE_DIR}/inc/framework/common
${METADEF_DIR}
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
#### yellow zone #### #### yellow zone ####
${GE_CODE_DIR}/../inc ${GE_CODE_DIR}/../inc
${GE_CODE_DIR}/../inc/external
${GE_CODE_DIR}/../inc/cce
${GE_CODE_DIR}/../toolchain/ide/ide-daemon/external ${GE_CODE_DIR}/../toolchain/ide/ide-daemon/external
${GE_CODE_DIR}/../abl/adump/external ${GE_CODE_DIR}/../abl/adump/external
#### blue zone #### blue zone
@@ -835,22 +828,15 @@ target_compile_options(ge_compiler PRIVATE


target_include_directories(ge_compiler SYSTEM PRIVATE target_include_directories(ge_compiler SYSTEM PRIVATE
${GE_CODE_DIR}/ge ${GE_CODE_DIR}/ge
${GE_CODE_DIR}/ge/analyzer
${GE_CODE_DIR}/inc ${GE_CODE_DIR}/inc
${GE_CODE_DIR}/inc/external ${GE_CODE_DIR}/inc/external
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${GE_CODE_DIR}/inc/framework/common
${METADEF_DIR}
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
#### yellow zone #### #### yellow zone ####
${GE_CODE_DIR}/../inc ${GE_CODE_DIR}/../inc
${GE_CODE_DIR}/../inc/external
${GE_CODE_DIR}/../inc/cce
${GE_CODE_DIR}/../toolchain/ide/ide-daemon/external ${GE_CODE_DIR}/../toolchain/ide/ide-daemon/external
${GE_CODE_DIR}/../abl/adump/external ${GE_CODE_DIR}/../abl/adump/external
#### blue zone #### #### blue zone ####
@@ -1000,18 +986,14 @@ set_target_properties(atc_stub_ge_compiler PROPERTIES
) )


target_include_directories(atc_stub_ge_compiler PRIVATE target_include_directories(atc_stub_ge_compiler PRIVATE
${GE_CODE_DIR}
${GE_CODE_DIR}/ge ${GE_CODE_DIR}/ge
${GE_CODE_DIR}/ge/analyzer
${GE_CODE_DIR}/inc ${GE_CODE_DIR}/inc
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${GE_CODE_DIR}/inc/framework/common
${GE_CODE_DIR}/inc/external ${GE_CODE_DIR}/inc/external
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${METADEF_DIR}/inc
#### yellow zone #### #### yellow zone ####
${GE_CODE_DIR}/../inc/cce
${GE_CODE_DIR}/../inc
${GE_CODE_DIR}/../toolchain/ide/ide-daemon/external ${GE_CODE_DIR}/../toolchain/ide/ide-daemon/external
${GE_CODE_DIR}/../abl/adump/external ${GE_CODE_DIR}/../abl/adump/external
#### blue zone #### #### blue zone ####
@@ -1041,18 +1023,14 @@ set_target_properties(fwk_stub_ge_runner PROPERTIES
) )


target_include_directories(fwk_stub_ge_runner PRIVATE target_include_directories(fwk_stub_ge_runner PRIVATE
${GE_CODE_DIR}
${GE_CODE_DIR}/ge ${GE_CODE_DIR}/ge
${GE_CODE_DIR}/ge/analyzer
${GE_CODE_DIR}/inc ${GE_CODE_DIR}/inc
${GE_CODE_DIR}/inc/external ${GE_CODE_DIR}/inc/external
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${GE_CODE_DIR}/inc/framework/common
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${METADEF_DIR}/inc
#### yellow zone #### #### yellow zone ####
${GE_CODE_DIR}/../inc/cce
${GE_CODE_DIR}/../inc
${GE_CODE_DIR}/../toolchain/ide/ide-daemon/external ${GE_CODE_DIR}/../toolchain/ide/ide-daemon/external
${GE_CODE_DIR}/../abl/adump/external ${GE_CODE_DIR}/../abl/adump/external
#### blue zone #### #### blue zone ####


+ 1
- 1
ge/analyzer/analyzer.cc View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */


#include "analyzer.h"
#include "analyzer/analyzer.h"


#include <cstdlib> #include <cstdlib>
#include <cstdio> #include <cstdio>


+ 2
- 2
ge/client/ge_api.cc View File

@@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */


#include "ge/ge_api.h"
#include "external/ge/ge_api.h"
#include <iostream> #include <iostream>
#include <malloc.h> #include <malloc.h>
#include "common/debug/log.h"
#include "framework/common/debug/log.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "common/ge/datatype_util.h" #include "common/ge/datatype_util.h"
#include "proto/ge_api.pb.h" #include "proto/ge_api.pb.h"


+ 0
- 14
ge/common/CMakeLists.txt View File

@@ -72,20 +72,15 @@ target_compile_options(ge_common PRIVATE


target_include_directories(ge_common PRIVATE target_include_directories(ge_common PRIVATE
${GE_CODE_DIR}/ge ${GE_CODE_DIR}/ge
${GE_CODE_DIR}/ge/common
${GE_CODE_DIR}/ge/common/op
${GE_CODE_DIR}/inc/external ${GE_CODE_DIR}/inc/external
${GE_CODE_DIR}/inc ${GE_CODE_DIR}/inc
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
#### yellow zone #### #### yellow zone ####
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc> $<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc>
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc/cce>
#### blue zone #### #### blue zone ####
$<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc> $<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc>
$<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain> $<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain>
@@ -141,20 +136,15 @@ target_compile_options(ge_common_static PRIVATE


target_include_directories(ge_common_static PRIVATE target_include_directories(ge_common_static PRIVATE
${GE_CODE_DIR}/ge ${GE_CODE_DIR}/ge
${GE_CODE_DIR}/ge/common
${GE_CODE_DIR}/ge/common/op
${GE_CODE_DIR}/inc ${GE_CODE_DIR}/inc
${GE_CODE_DIR}/inc/external ${GE_CODE_DIR}/inc/external
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
#### yellow zone #### #### yellow zone ####
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc> $<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc>
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc/cce>
#### blue zone #### #### blue zone ####
$<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc> $<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc>
$<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain> $<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain>
@@ -200,15 +190,11 @@ target_compile_options(ge_common PRIVATE


target_include_directories(ge_common PRIVATE target_include_directories(ge_common PRIVATE
${GE_CODE_DIR}/ge ${GE_CODE_DIR}/ge
${GE_CODE_DIR}/ge/common
${GE_CODE_DIR}/ge/common/op
${GE_CODE_DIR}/inc/external ${GE_CODE_DIR}/inc/external
${GE_CODE_DIR}/inc ${GE_CODE_DIR}/inc
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
${GE_CODE_DIR}/third_party/fwkacllib/inc ${GE_CODE_DIR}/third_party/fwkacllib/inc


+ 2
- 2
ge/common/base64.h View File

@@ -20,8 +20,8 @@
#include <algorithm> #include <algorithm>
#include <string> #include <string>


#include "debug/ge_log.h"
#include "ge_error_codes.h"
#include "framework/common/debug/ge_log.h"
#include "external/ge/ge_error_codes.h"


namespace ge { namespace ge {
namespace { namespace {


+ 1
- 1
ge/common/dump/dump_manager.h View File

@@ -20,7 +20,7 @@
#include <mutex> #include <mutex>


#include "common/dump/dump_properties.h" #include "common/dump/dump_properties.h"
#include "common/ge_types.h"
#include "framework/common/ge_types.h"


namespace ge { namespace ge {
class DumpManager { class DumpManager {


+ 1
- 1
ge/common/dump/dump_op.h View File

@@ -19,7 +19,7 @@


#include <string> #include <string>


#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "common/properties_manager.h" #include "common/properties_manager.h"
#include "proto/op_mapping.pb.h" #include "proto/op_mapping.pb.h"
#include "runtime/stream.h" #include "runtime/stream.h"


+ 1
- 1
ge/common/dump/dump_properties.cc View File

@@ -20,7 +20,7 @@
#include <string> #include <string>


#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"
#include "common/util.h"
#include "framework/common/util.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "framework/common/debug/log.h" #include "framework/common/debug/log.h"
#include "framework/common/ge_types.h" #include "framework/common/ge_types.h"


+ 1
- 1
ge/common/dump/opdebug_register.cc View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */


#include "opdebug_register.h"
#include "common/dump/opdebug_register.h"


namespace { namespace {
const size_t kOpDebugMemorySize = 2048UL; const size_t kOpDebugMemorySize = 2048UL;


+ 2
- 2
ge/common/dump/opdebug_register.h View File

@@ -18,8 +18,8 @@
#define GE_COMMON_DUMP_OPDEBUG_REGISTER_H_ #define GE_COMMON_DUMP_OPDEBUG_REGISTER_H_


#include <map> #include <map>
#include "common/debug/ge_log.h"
#include "common/debug/log.h"
#include "framework/common/debug/ge_log.h"
#include "framework/common/debug/log.h"
#include "graph/load/model_manager/data_dumper.h" #include "graph/load/model_manager/data_dumper.h"


namespace ge { namespace ge {


+ 1
- 1
ge/common/formats/format_transfers/format_transfer_fractal_z.cc View File

@@ -19,7 +19,7 @@
#include <securec.h> #include <securec.h>
#include <memory> #include <memory>


#include "common/debug/log.h"
#include "framework/common/debug/log.h"
#include "common/formats/utils/formats_definitions.h" #include "common/formats/utils/formats_definitions.h"
#include "common/formats/utils/formats_trans_utils.h" #include "common/formats/utils/formats_trans_utils.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"


+ 1
- 1
ge/common/formats/format_transfers/format_transfer_nchw_fz_c04.cc View File

@@ -23,7 +23,7 @@


#include "common/formats/utils/formats_definitions.h" #include "common/formats/utils/formats_definitions.h"
#include "common/formats/utils/formats_trans_utils.h" #include "common/formats/utils/formats_trans_utils.h"
#include "common/util.h"
#include "framework/common/util.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "graph/utils/type_utils.h" #include "graph/utils/type_utils.h"




+ 1
- 1
ge/common/ge/datatype_util.h View File

@@ -20,7 +20,7 @@
#include <map> #include <map>
#include <vector> #include <vector>


#include "graph/types.h"
#include "external/graph/types.h"


namespace ge { namespace ge {
static const int32_t kGeSizeFloat = sizeof(float); static const int32_t kGeSizeFloat = sizeof(float);


+ 2
- 2
ge/common/ge/plugin_manager.h View File

@@ -26,8 +26,8 @@
#include <typeinfo> #include <typeinfo>
#include <vector> #include <vector>


#include "common/ge_inner_error_codes.h"
#include "engine/dnnengine.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/engine/dnnengine.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "mmpa/mmpa_api.h" #include "mmpa/mmpa_api.h"




+ 1
- 1
ge/common/ge_format_util.cc View File

@@ -15,7 +15,7 @@
*/ */


#include "framework/common/ge_format_util.h" #include "framework/common/ge_format_util.h"
#include "formats/formats.h"
#include "common/formats/formats.h"


namespace ge { namespace ge {
GE_FUNC_DEV_VISIBILITY GE_FUNC_HOST_VISIBILITY Status GeFormatUtil::TransShape(const TensorDesc &src_desc, GE_FUNC_DEV_VISIBILITY GE_FUNC_HOST_VISIBILITY Status GeFormatUtil::TransShape(const TensorDesc &src_desc,


+ 1
- 1
ge/common/helper/model_cache_helper.h View File

@@ -21,7 +21,7 @@
#include <set> #include <set>
#include <string> #include <string>


#include "ge/ge_api_error_codes.h"
#include "external/ge/ge_api_error_codes.h"
#include "graph/compute_graph.h" #include "graph/compute_graph.h"
#include "graph/manager/graph_var_manager.h" #include "graph/manager/graph_var_manager.h"
#include "model/ge_model.h" #include "model/ge_model.h"


+ 1
- 1
ge/common/math/fp16_math.cc View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */


#include "fp16_math.h"
#include "common/math/fp16_math.h"
#include "external/register/register_types.h" #include "external/register/register_types.h"


namespace ge { namespace ge {


+ 1
- 1
ge/common/model_parser/model_parser.cc View File

@@ -20,7 +20,7 @@
#include <string> #include <string>


#include "securec.h" #include "securec.h"
#include "common/helper/model_helper.h"
#include "framework/common/helper/model_helper.h"


namespace ge { namespace ge {
FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY ModelParserBase::ModelParserBase() {} FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY ModelParserBase::ModelParserBase() {}


+ 1
- 1
ge/common/op/attr_value_util.cc View File

@@ -17,7 +17,7 @@
#include "framework/common/op/attr_value_util.h" #include "framework/common/op/attr_value_util.h"
#include "framework/common/debug/log.h" #include "framework/common/debug/log.h"
#include "framework/common/util.h" #include "framework/common/util.h"
#include "register/register_types.h"
#include "external/register/register_types.h"


namespace ge { namespace ge {
#define DEFINE_SET_ATTR_VALUE_ONE(ARG_TYPE, FIELD) \ #define DEFINE_SET_ATTR_VALUE_ONE(ARG_TYPE, FIELD) \


+ 1
- 1
ge/common/profiling/ge_profiling.cc View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */


#include "common/profiling/ge_profiling.h"
#include "framework/common/profiling/ge_profiling.h"
#include "runtime/base.h" #include "runtime/base.h"
#include "common/profiling/profiling_manager.h" #include "common/profiling/profiling_manager.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"


+ 1
- 1
ge/common/profiling/ge_runner_profiling.cc View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */


#include "common/profiling/ge_runner_profiling.h"
#include "framework/common/profiling/ge_runner_profiling.h"
#include "init/gelib.h" #include "init/gelib.h"


bool IsInitialize() { bool IsInitialize() {


+ 1
- 1
ge/common/profiling/profiling_manager.cc View File

@@ -21,7 +21,7 @@
#include "framework/common/string_util.h" #include "framework/common/string_util.h"
#include "graph/ge_context.h" #include "graph/ge_context.h"
#include "graph/utils/type_utils.h" #include "graph/utils/type_utils.h"
#include "graph/types.h"
#include "external/graph/types.h"
#include "runtime/base.h" #include "runtime/base.h"
#include "graph/load/model_manager/davinci_model.h" #include "graph/load/model_manager/davinci_model.h"
#include "mmpa/mmpa_api.h" #include "mmpa/mmpa_api.h"


+ 1
- 1
ge/common/properties_manager.cc View File

@@ -21,7 +21,7 @@
#include <fstream> #include <fstream>


#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"
#include "common/util.h"
#include "framework/common/util.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "framework/common/debug/log.h" #include "framework/common/debug/log.h"
#include "framework/common/ge_types.h" #include "framework/common/ge_types.h"


+ 1
- 1
ge/common/properties_manager.h View File

@@ -25,7 +25,7 @@


#include "common/dump/dump_properties.h" #include "common/dump/dump_properties.h"
#include "graph/op_desc.h" #include "graph/op_desc.h"
#include "common/ge_compiler_options.h"
#include "framework/common/ge_compiler_options.h"


namespace ge { namespace ge {
// Configuration property management // Configuration property management


+ 1
- 1
ge/common/thread_pool.cc View File

@@ -23,7 +23,7 @@
#include <utility> #include <utility>
#include <vector> #include <vector>


#include "register/register_types.h"
#include "external/register/register_types.h"


namespace ge { namespace ge {
FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY ThreadPool::ThreadPool(uint32_t size) : is_stoped_(false) { FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY ThreadPool::ThreadPool(uint32_t size) : is_stoped_(false) {


+ 1
- 1
ge/common/thread_pool.h View File

@@ -31,7 +31,7 @@
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "framework/common/ge_inner_error_codes.h" #include "framework/common/ge_inner_error_codes.h"
#include "external/ge/ge_api_error_codes.h" #include "external/ge/ge_api_error_codes.h"
#include "graph/types.h"
#include "external/graph/types.h"
#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"


namespace ge { namespace ge {


+ 1
- 1
ge/common/types.cc View File

@@ -15,7 +15,7 @@
*/ */


#include "framework/common/types.h" #include "framework/common/types.h"
#include "graph/types.h"
#include "external/graph/types.h"


namespace ge { namespace ge {
// dump // dump


+ 1
- 1
ge/engine_manager/dnnengine_manager.cc View File

@@ -22,7 +22,7 @@
#include <map> #include <map>
#include <utility> #include <utility>


#include "common/debug/log.h"
#include "framework/common/debug/log.h"
#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"
#include "common/util/error_manager/error_manager.h" #include "common/util/error_manager/error_manager.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"


+ 2
- 2
ge/engine_manager/dnnengine_manager.h View File

@@ -26,9 +26,9 @@
#include "nlohmann/json.hpp" #include "nlohmann/json.hpp"


#include "common/ge/plugin_manager.h" #include "common/ge/plugin_manager.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "common/opskernel/ops_kernel_info_types.h" #include "common/opskernel/ops_kernel_info_types.h"
#include "engine/dnnengine.h"
#include "framework/engine/dnnengine.h"
#include "graph/op_desc.h" #include "graph/op_desc.h"
#include "graph/node.h" #include "graph/node.h"




+ 0
- 6
ge/executor/CMakeLists.txt View File

@@ -182,13 +182,10 @@ target_include_directories(ge_executor SYSTEM PRIVATE
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
#### yellow zone #### #### yellow zone ####
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc> $<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc>
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc/cce>
#### blue zone #### #### blue zone ####
$<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc> $<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc>
$<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain> $<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain>
@@ -236,13 +233,10 @@ target_include_directories(ge_executor_shared PRIVATE
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
#### yellow zone #### #### yellow zone ####
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc> $<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc>
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc/cce>
#### blue zone #### #### blue zone ####
$<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc> $<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc>
) )


+ 3
- 3
ge/executor/ge_executor.cc View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */


#include "executor/ge_executor.h"
#include "framework/executor/ge_executor.h"
#include <cce/cce.h> #include <cce/cce.h>
#include <ctime> #include <ctime>
#include <iostream> #include <iostream>
#include "common/debug/log.h"
#include "framework/common/debug/log.h"
#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"
#include "common/helper/model_helper.h"
#include "framework/common/helper/model_helper.h"
#include "common/profiling/profiling_manager.h" #include "common/profiling/profiling_manager.h"
#include "common/dump/dump_manager.h" #include "common/dump/dump_manager.h"
#include "graph/execute/graph_execute.h" #include "graph/execute/graph_execute.h"


+ 0
- 10
ge/ge_local_engine/CMakeLists.txt View File

@@ -41,8 +41,6 @@ target_include_directories(ge_local_engine PRIVATE
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
#### yellow zone #### #### yellow zone ####
@@ -91,8 +89,6 @@ target_include_directories(atc_ge_local_engine PRIVATE
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
#### yellow zone #### #### yellow zone ####
@@ -146,8 +142,6 @@ target_include_directories(ge_local_opskernel_builder PRIVATE
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
#### yellow zone #### #### yellow zone ####
@@ -197,8 +191,6 @@ target_include_directories(atc_ge_local_opskernel_builder PRIVATE
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
#### yellow zone #### #### yellow zone ####
@@ -254,8 +246,6 @@ target_include_directories(ge_local_opskernel_builder_static PRIVATE
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/graphengine_protos ${CMAKE_BINARY_DIR}/proto/graphengine_protos
#### yellow zone #### #### yellow zone ####


+ 3
- 3
ge/ge_local_engine/engine/ge_local_engine.cc View File

@@ -19,10 +19,10 @@
#include <memory> #include <memory>
#include <string> #include <string>
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "common/ge_inner_error_codes.h"
#include "common/constant/constant.h"
#include "framework/common/ge_inner_error_codes.h"
#include "ge_local_engine/common/constant/constant.h"
#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"
#include "ops_kernel_store/ge_local_ops_kernel_info.h"
#include "ge_local_engine/ops_kernel_store/ge_local_ops_kernel_info.h"


namespace ge { namespace ge {
namespace ge_local { namespace ge_local {


+ 1
- 1
ge/ge_local_engine/engine/host_cpu_engine.cc View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "host_cpu_engine.h"
#include "ge_local_engine/engine/host_cpu_engine.h"
#include "graph/common/omg_util.h" #include "graph/common/omg_util.h"
#include "graph/utils/op_desc_utils.h" #include "graph/utils/op_desc_utils.h"
#include "graph/utils/tensor_adapter.h" #include "graph/utils/tensor_adapter.h"


+ 1
- 1
ge/ge_local_engine/engine/host_cpu_engine.h View File

@@ -33,7 +33,7 @@
#include <mutex> #include <mutex>
#include "framework/common/ge_inner_error_codes.h" #include "framework/common/ge_inner_error_codes.h"
#include "graph/node.h" #include "graph/node.h"
#include "graph/operator.h"
#include "external/graph/operator.h"
#include "external/../register/register.h" #include "external/../register/register.h"


namespace ge { namespace ge {


+ 2
- 2
ge/ge_local_engine/ops_kernel_store/ge_local_ops_kernel_builder.cc View File

@@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */


#include "ge_local_ops_kernel_builder.h"
#include "ge_local_engine/ops_kernel_store/ge_local_ops_kernel_builder.h"
#include <memory> #include <memory>
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "graph/utils/node_utils.h" #include "graph/utils/node_utils.h"


+ 3
- 3
ge/ge_local_engine/ops_kernel_store/ge_local_ops_kernel_info.cc View File

@@ -16,14 +16,14 @@


#include "ge_local_engine/ops_kernel_store/ge_local_ops_kernel_info.h" #include "ge_local_engine/ops_kernel_store/ge_local_ops_kernel_info.h"
#include <memory> #include <memory>
#include "common/constant/constant.h"
#include "ge_local_engine/common/constant/constant.h"
#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "graph/utils/node_utils.h" #include "graph/utils/node_utils.h"
#include "graph/utils/tensor_utils.h" #include "graph/utils/tensor_utils.h"
#include "graph/utils/type_utils.h" #include "graph/utils/type_utils.h"
#include "op/op_factory.h"
#include "ge_local_engine/ops_kernel_store/op/op_factory.h"
#include "proto/task.pb.h" #include "proto/task.pb.h"


namespace ge { namespace ge {


+ 1
- 1
ge/ge_local_engine/ops_kernel_store/op/ge_deleted_op.cc View File

@@ -16,7 +16,7 @@


#include "ge_local_engine/ops_kernel_store/op/ge_deleted_op.h" #include "ge_local_engine/ops_kernel_store/op/ge_deleted_op.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "ge_local_engine/ops_kernel_store/op/op_factory.h" #include "ge_local_engine/ops_kernel_store/op/op_factory.h"


namespace ge { namespace ge {


+ 1
- 1
ge/ge_local_engine/ops_kernel_store/op/no_op.cc View File

@@ -16,7 +16,7 @@


#include "ge_local_engine/ops_kernel_store/op/no_op.h" #include "ge_local_engine/ops_kernel_store/op/no_op.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "ge_local_engine/ops_kernel_store/op/op_factory.h" #include "ge_local_engine/ops_kernel_store/op/op_factory.h"


namespace ge { namespace ge {


+ 1
- 1
ge/ge_local_engine/ops_kernel_store/op/op.cc View File

@@ -16,7 +16,7 @@


#include "ge_local_engine/ops_kernel_store/op/op.h" #include "ge_local_engine/ops_kernel_store/op/op.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "graph/op_desc.h" #include "graph/op_desc.h"
#include "graph/utils/anchor_utils.h" #include "graph/utils/anchor_utils.h"
#include "graph/utils/tensor_utils.h" #include "graph/utils/tensor_utils.h"


+ 1
- 1
ge/ge_local_engine/ops_kernel_store/op/op.h View File

@@ -20,7 +20,7 @@
#include <climits> #include <climits>
#include <string> #include <string>
#include <vector> #include <vector>
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "graph/node.h" #include "graph/node.h"


namespace ge { namespace ge {


+ 1
- 1
ge/ge_local_engine/ops_kernel_store/op/op_factory.cc View File

@@ -16,7 +16,7 @@


#include "ge_local_engine/ops_kernel_store/op/op_factory.h" #include "ge_local_engine/ops_kernel_store/op/op_factory.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "graph/op_desc.h" #include "graph/op_desc.h"


namespace ge { namespace ge {


+ 0
- 8
ge/ge_runtime/CMakeLists.txt View File

@@ -34,21 +34,13 @@ target_compile_definitions(ge_runtime PRIVATE


target_include_directories(ge_runtime PRIVATE target_include_directories(ge_runtime PRIVATE
${CMAKE_CURRENT_LIST_DIR} ${CMAKE_CURRENT_LIST_DIR}
${GE_CODE_DIR}
${GE_CODE_DIR}/ge ${GE_CODE_DIR}/ge
${GE_CODE_DIR}/inc ${GE_CODE_DIR}/inc
${GE_CODE_DIR}/inc/graph
${GE_CODE_DIR}/inc/external ${GE_CODE_DIR}/inc/external
${GE_CODE_DIR}/inc/framework ${GE_CODE_DIR}/inc/framework
${GE_CODE_DIR}/inc/framework/common
${GE_CODE_DIR}/inc/framework/ge_runtime
${GE_CODE_DIR}/inc/cce
${GE_CODE_DIR}/third_party/fwkacllib/inc ${GE_CODE_DIR}/third_party/fwkacllib/inc
${METADEF_DIR}
${METADEF_DIR}/inc ${METADEF_DIR}/inc
${METADEF_DIR}/inc/external/graph
${METADEF_DIR}/inc/external ${METADEF_DIR}/inc/external
${METADEF_DIR}/inc/graph
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/proto/ge ${CMAKE_BINARY_DIR}/proto/ge
) )


+ 4
- 4
ge/ge_runtime/model_runner.cc View File

@@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */


#include "ge_runtime/model_runner.h"
#include "./runtime_model.h"
#include "framework/ge_runtime/model_runner.h"
#include "ge_runtime/runtime_model.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"
#include "ge_runtime/davinci_model.h"
#include "framework/ge_runtime/davinci_model.h"
#include "graph/op_desc.h" #include "graph/op_desc.h"


namespace ge { namespace ge {


+ 2
- 2
ge/ge_runtime/output.cc View File

@@ -15,8 +15,8 @@
*/ */


#include "ge_runtime/output.h" #include "ge_runtime/output.h"
#include "common/ge_inner_error_codes.h"
#include "common/util.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/util.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"


namespace ge { namespace ge {


+ 2
- 2
ge/ge_runtime/output.h View File

@@ -19,8 +19,8 @@


#include <memory> #include <memory>
#include <vector> #include <vector>
#include "ge_runtime/davinci_model.h"
#include "common/ge_types.h"
#include "framework/ge_runtime/davinci_model.h"
#include "framework/common/ge_types.h"


namespace ge { namespace ge {
namespace model_runner { namespace model_runner {


+ 7
- 7
ge/ge_runtime/runtime_model.cc View File

@@ -16,15 +16,15 @@


#include "ge_runtime/runtime_model.h" #include "ge_runtime/runtime_model.h"
#include <set> #include <set>
#include "./model_context.h"
#include "./task/task.h"
#include "common/ge_inner_error_codes.h"
#include "common/types.h"
#include "common/util.h"
#include "ge_runtime/model_context.h"
#include "ge_runtime/task/task.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/types.h"
#include "framework/common/util.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "framework/common/op/op_parser_util.h" #include "framework/common/op/op_parser_util.h"
#include "graph/types.h"
#include "task/task_factory.h"
#include "external/graph/types.h"
#include "ge_runtime/task/task_factory.h"
#include "ge/common/math/math_util.h" #include "ge/common/math/math_util.h"


namespace ge { namespace ge {


+ 2
- 2
ge/ge_runtime/runtime_model.h View File

@@ -20,8 +20,8 @@
#include <memory> #include <memory>
#include <string> #include <string>
#include <vector> #include <vector>
#include "ge_runtime/davinci_model.h"
#include "common/ge_types.h"
#include "framework/ge_runtime/davinci_model.h"
#include "framework/common/ge_types.h"
#include "runtime/base.h" #include "runtime/base.h"
#include "runtime/rt_model.h" #include "runtime/rt_model.h"




+ 1
- 1
ge/ge_runtime/task/task.h View File

@@ -23,7 +23,7 @@
#include <string> #include <string>
#include "runtime/rt_model.h" #include "runtime/rt_model.h"
#include "ge_runtime/model_context.h" #include "ge_runtime/model_context.h"
#include "ge_runtime/task_info.h"
#include "framework/ge_runtime/task_info.h"
#include "external/runtime/rt_error_codes.h" #include "external/runtime/rt_error_codes.h"


namespace ge { namespace ge {


+ 2
- 2
ge/ge_runtime/task/task_factory.h View File

@@ -21,9 +21,9 @@
#include <map> #include <map>
#include <memory> #include <memory>
#include <unordered_map> #include <unordered_map>
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "ge_runtime/task_info.h"
#include "framework/ge_runtime/task_info.h"


namespace ge { namespace ge {
namespace model_runner { namespace model_runner {


+ 5
- 5
ge/generator/ge_generator.cc View File

@@ -14,19 +14,19 @@
* limitations under the License. * limitations under the License.
*/ */


#include "generator/ge_generator.h"
#include "framework/generator/ge_generator.h"


#include <atomic> #include <atomic>


#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"
#include "common/ge/plugin_manager.h" #include "common/ge/plugin_manager.h"
#include "common/helper/model_helper.h"
#include "common/helper/om_file_helper.h"
#include "common/util.h"
#include "framework/common/helper/model_helper.h"
#include "framework/common/helper/om_file_helper.h"
#include "framework/common/util.h"
#include "common/util/error_manager/error_manager.h" #include "common/util/error_manager/error_manager.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "framework/common/debug/log.h" #include "framework/common/debug/log.h"
#include "ge/ge_api.h"
#include "external/ge/ge_api.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"
#include "graph/ge_context.h" #include "graph/ge_context.h"
#include "graph/manager/graph_manager.h" #include "graph/manager/graph_manager.h"


+ 3
- 3
ge/generator/generator_api.cc View File

@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "generator/generator_api.h"
#include "framework/generator/generator_api.h"
#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"
#include "common/util.h"
#include "framework/common/util.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "generator/ge_generator.h"
#include "framework/generator/ge_generator.h"
#include "graph/ge_attr_value.h" #include "graph/ge_attr_value.h"
#include "graph/ge_tensor.h" #include "graph/ge_tensor.h"
#include "graph/op_desc.h" #include "graph/op_desc.h"


+ 1
- 1
ge/graph/build/graph_builder.cc View File

@@ -17,7 +17,7 @@
#include "graph/build/graph_builder.h" #include "graph/build/graph_builder.h"
#include "graph/build/memory/graph_mem_assigner.h" #include "graph/build/memory/graph_mem_assigner.h"
#include "common/ge/ge_util.h" #include "common/ge/ge_util.h"
#include "common/helper/model_helper.h"
#include "framework/common/helper/model_helper.h"
#include "graph/build/logical_stream_allocator.h" #include "graph/build/logical_stream_allocator.h"
#include "graph/build/run_context.h" #include "graph/build/run_context.h"
#include "graph/build/stream_graph_optimizer.h" #include "graph/build/stream_graph_optimizer.h"


+ 5
- 5
ge/graph/build/graph_builder.h View File

@@ -22,16 +22,16 @@
#include <memory> #include <memory>
#include <string> #include <string>
#include <vector> #include <vector>
#include "common/debug/log.h"
#include "framework/common/debug/log.h"
#include "common/debug/memory_dumper.h" #include "common/debug/memory_dumper.h"
#include "common/properties_manager.h" #include "common/properties_manager.h"
#include "common/string_util.h"
#include "common/types.h"
#include "common/util.h"
#include "framework/common/string_util.h"
#include "framework/common/types.h"
#include "framework/common/util.h"
#include "graph/build/model_builder.h" #include "graph/build/model_builder.h"
#include "graph/build/task_generator.h" #include "graph/build/task_generator.h"
#include "graph/compute_graph.h" #include "graph/compute_graph.h"
#include "graph/graph.h"
#include "external/graph/graph.h"
#include "graph/manager/graph_manager_utils.h" #include "graph/manager/graph_manager_utils.h"
#include "graph/model.h" #include "graph/model.h"
#include "graph/node.h" #include "graph/node.h"


+ 3
- 3
ge/graph/build/label_allocator.cc View File

@@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */


#include "label_allocator.h"
#include "graph/build/label_allocator.h"


#include "framework/common/types.h" #include "framework/common/types.h"
#include "common/util.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/util.h"
#include "framework/common/ge_inner_error_codes.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"
#include "graph/utils/graph_utils.h" #include "graph/utils/graph_utils.h"
#include "graph/label/label_maker.h" #include "graph/label/label_maker.h"


+ 2
- 2
ge/graph/build/memory/block_mem_assigner.cc View File

@@ -24,7 +24,7 @@
#include "graph/buffer.h" #include "graph/buffer.h"
#include "graph/ge_attr_value.h" #include "graph/ge_attr_value.h"
#include "graph/ge_context.h" #include "graph/ge_context.h"
#include "graph/types.h"
#include "external/graph/types.h"
#include "graph/node.h" #include "graph/node.h"
#include "graph/utils/graph_utils.h" #include "graph/utils/graph_utils.h"
#include "graph/utils/node_utils.h" #include "graph/utils/node_utils.h"
@@ -36,7 +36,7 @@


#include "graph/common/local_context.h" #include "graph/common/local_context.h"
#include "graph/optimize/common/params.h" #include "graph/optimize/common/params.h"
#include "omg/omg_inner_types.h"
#include "framework/omg/omg_inner_types.h"
#include "runtime/mem.h" #include "runtime/mem.h"


using std::map; using std::map;


+ 3
- 3
ge/graph/build/memory/block_mem_assigner.h View File

@@ -24,9 +24,9 @@
#include <utility> #include <utility>
#include <vector> #include <vector>
#include <list> #include <list>
#include "common/ge_inner_error_codes.h"
#include "common/types.h"
#include "common/util.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/types.h"
#include "framework/common/util.h"
#include "graph/build/memory/mem_assigner.h" #include "graph/build/memory/mem_assigner.h"
#include "graph/compute_graph.h" #include "graph/compute_graph.h"
#include "graph/utils/graph_utils.h" #include "graph/utils/graph_utils.h"


+ 2
- 2
ge/graph/build/memory/hybrid_mem_assigner.h View File

@@ -22,8 +22,8 @@
#include "graph/build/memory/block_mem_assigner.h" #include "graph/build/memory/block_mem_assigner.h"
#include "graph/compute_graph.h" #include "graph/compute_graph.h"


#include "common/types.h"
#include "common/util.h"
#include "framework/common/types.h"
#include "framework/common/util.h"


namespace ge { namespace ge {
using BlockMemAssignerPtr = std::shared_ptr<BlockMemAssigner>; using BlockMemAssignerPtr = std::shared_ptr<BlockMemAssigner>;


+ 2
- 2
ge/graph/build/memory/mem_assigner.h View File

@@ -17,8 +17,8 @@
#ifndef GE_GRAPH_BUILD_MEMORY_MEM_ASSIGNER_H_ #ifndef GE_GRAPH_BUILD_MEMORY_MEM_ASSIGNER_H_
#define GE_GRAPH_BUILD_MEMORY_MEM_ASSIGNER_H_ #define GE_GRAPH_BUILD_MEMORY_MEM_ASSIGNER_H_


#include "common/ge_inner_error_codes.h"
#include "memory/memory_assigner.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/memory/memory_assigner.h"
namespace ge { namespace ge {
static const int64_t kInvalidOffset = -1; static const int64_t kInvalidOffset = -1;




+ 1
- 1
ge/graph/build/memory/memory_assigner.cc View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */


#include "memory/memory_assigner.h"
#include "framework/memory/memory_assigner.h"
#include <memory> #include <memory>
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "graph/build/memory/graph_mem_assigner.h" #include "graph/build/memory/graph_mem_assigner.h"


+ 3
- 3
ge/graph/build/memory/var_mem_assign_util.cc View File

@@ -16,14 +16,14 @@


#include "graph/build/memory/var_mem_assign_util.h" #include "graph/build/memory/var_mem_assign_util.h"
#include <vector> #include <vector>
#include "common/types.h"
#include "framework/common/types.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "graph/common/transop_util.h" #include "graph/common/transop_util.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"
#include "graph/manager/graph_mem_allocator.h" #include "graph/manager/graph_mem_allocator.h"
#include "graph/manager/graph_var_manager.h" #include "graph/manager/graph_var_manager.h"
#include "graph/tensor.h"
#include "graph/types.h"
#include "external/graph/tensor.h"
#include "external/graph/types.h"
#include "graph/utils/attr_utils.h" #include "graph/utils/attr_utils.h"
#include "graph/utils/graph_utils.h" #include "graph/utils/graph_utils.h"
#include "graph/utils/tensor_utils.h" #include "graph/utils/tensor_utils.h"


+ 2
- 2
ge/graph/build/memory/var_mem_assign_util.h View File

@@ -17,8 +17,8 @@
#ifndef GE_GRAPH_BUILD_MEMORY_VAR_MEM_ASSIGN_UTIL_H_ #ifndef GE_GRAPH_BUILD_MEMORY_VAR_MEM_ASSIGN_UTIL_H_
#define GE_GRAPH_BUILD_MEMORY_VAR_MEM_ASSIGN_UTIL_H_ #define GE_GRAPH_BUILD_MEMORY_VAR_MEM_ASSIGN_UTIL_H_
#include <string> #include <string>
#include "common/debug/log.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/debug/log.h"
#include "framework/common/ge_inner_error_codes.h"
#include "graph/utils/node_utils.h" #include "graph/utils/node_utils.h"


namespace ge { namespace ge {


+ 5
- 5
ge/graph/build/model_builder.cc View File

@@ -22,7 +22,7 @@
#include "common/dump/dump_manager.h" #include "common/dump/dump_manager.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "graph/anchor.h" #include "graph/anchor.h"
#include "graph/attr_value.h"
#include "external/graph/attr_value.h"
#include "graph/buffer.h" #include "graph/buffer.h"
#include "graph/build/stream_allocator.h" #include "graph/build/stream_allocator.h"
#include "graph/common/omg_util.h" #include "graph/common/omg_util.h"
@@ -31,11 +31,11 @@
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"
#include "graph/ge_attr_value.h" #include "graph/ge_attr_value.h"
#include "graph/ge_context.h" #include "graph/ge_context.h"
#include "graph/ge_error_codes.h"
#include "external/graph/ge_error_codes.h"
#include "graph/manager/graph_mem_allocator.h" #include "graph/manager/graph_mem_allocator.h"
#include "graph/manager/graph_var_manager.h" #include "graph/manager/graph_var_manager.h"
#include "graph/optimize/common/params.h" #include "graph/optimize/common/params.h"
#include "graph/types.h"
#include "external/graph/types.h"
#include "graph/utils/attr_utils.h" #include "graph/utils/attr_utils.h"
#include "graph/utils/graph_utils.h" #include "graph/utils/graph_utils.h"
#include "graph/utils/node_utils.h" #include "graph/utils/node_utils.h"
@@ -43,8 +43,8 @@
#include "graph/utils/tensor_utils.h" #include "graph/utils/tensor_utils.h"
#include "graph/utils/type_utils.h" #include "graph/utils/type_utils.h"
#include "init/gelib.h" #include "init/gelib.h"
#include "memory/memory_assigner.h"
#include "omg/version.h"
#include "framework/memory/memory_assigner.h"
#include "framework/omg/version.h"
#include "register/op_registry.h" #include "register/op_registry.h"
#include "graph/passes/set_input_output_offset_pass.h" #include "graph/passes/set_input_output_offset_pass.h"
#include "graph/build/memory/block_mem_assigner.h" #include "graph/build/memory/block_mem_assigner.h"


+ 4
- 4
ge/graph/build/model_builder.h View File

@@ -23,17 +23,17 @@
#include <string> #include <string>
#include <utility> #include <utility>
#include <vector> #include <vector>
#include "common/op/ge_op_utils.h"
#include "framework/common/op/ge_op_utils.h"
#include "common/tbe_kernel_store.h" #include "common/tbe_kernel_store.h"
#include "common/cust_aicpu_kernel_store.h" #include "common/cust_aicpu_kernel_store.h"
#include "common/types.h"
#include "common/util.h"
#include "framework/common/types.h"
#include "framework/common/util.h"
#include "graph/compute_graph.h" #include "graph/compute_graph.h"
#include "graph/manager/graph_manager_utils.h" #include "graph/manager/graph_manager_utils.h"
#include "graph/model.h" #include "graph/model.h"
#include "graph/node.h" #include "graph/node.h"
#include "model/ge_model.h" #include "model/ge_model.h"
#include "omg/omg_inner_types.h"
#include "framework/omg/omg_inner_types.h"


namespace ge { namespace ge {
class ModelBuilder { class ModelBuilder {


+ 1
- 1
ge/graph/build/run_context.cc View File

@@ -15,7 +15,7 @@
*/ */
#include "graph/build/run_context.h" #include "graph/build/run_context.h"


#include "common/util.h"
#include "framework/common/util.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"
#include "graph/common/omg_util.h" #include "graph/common/omg_util.h"


+ 1
- 1
ge/graph/build/run_context.h View File

@@ -18,7 +18,7 @@
#define GE_GRAPH_BUILD_RUN_CONTEXT_H_ #define GE_GRAPH_BUILD_RUN_CONTEXT_H_


#include <vector> #include <vector>
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "common/opskernel/ops_kernel_info_types.h" #include "common/opskernel/ops_kernel_info_types.h"
#include "framework/common/types.h" #include "framework/common/types.h"
#include "graph/compute_graph.h" #include "graph/compute_graph.h"


+ 1
- 1
ge/graph/build/stream_allocator.cc View File

@@ -27,7 +27,7 @@
#include "graph/ge_context.h" #include "graph/ge_context.h"
#include "graph/utils/graph_utils.h" #include "graph/utils/graph_utils.h"
#include "init/gelib.h" #include "init/gelib.h"
#include "common/string_util.h"
#include "framework/common/string_util.h"
#include "common/util/error_manager/error_manager.h" #include "common/util/error_manager/error_manager.h"


using std::map; using std::map;


+ 2
- 2
ge/graph/build/stream_graph_optimizer.cc View File

@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "stream_graph_optimizer.h"
#include "graph/build/stream_graph_optimizer.h"


#include <securec.h> #include <securec.h>


#include "common/util.h"
#include "framework/common/util.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "graph/utils/node_utils.h" #include "graph/utils/node_utils.h"
#include "graph/utils/tensor_utils.h" #include "graph/utils/tensor_utils.h"


+ 1
- 1
ge/graph/build/stream_graph_optimizer.h View File

@@ -18,7 +18,7 @@
#define GE_GRAPH_BUILD_OPTIMIZE_STREAM_GRAPH_H_ #define GE_GRAPH_BUILD_OPTIMIZE_STREAM_GRAPH_H_


#include <vector> #include <vector>
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "common/opskernel/ops_kernel_info_types.h" #include "common/opskernel/ops_kernel_info_types.h"
#include "framework/common/types.h" #include "framework/common/types.h"
#include "graph/compute_graph.h" #include "graph/compute_graph.h"


+ 3
- 3
ge/graph/build/task_generator.cc View File

@@ -18,8 +18,8 @@
#include <string> #include <string>
#include <utility> #include <utility>
#include "common/profiling/profiling_manager.h" #include "common/profiling/profiling_manager.h"
#include "common/types.h"
#include "common/util.h"
#include "framework/common/types.h"
#include "framework/common/util.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"


#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"
@@ -32,7 +32,7 @@
#include "graph/common/ge_call_wrapper.h" #include "graph/common/ge_call_wrapper.h"
#include "init/gelib.h" #include "init/gelib.h"
#include "graph/ge_local_context.h" #include "graph/ge_local_context.h"
#include "ge/ge_api_types.h"
#include "external/ge/ge_api_types.h"
#include "opskernel_manager/ops_kernel_builder_manager.h" #include "opskernel_manager/ops_kernel_builder_manager.h"


using domi::LogTimeStampDef; using domi::LogTimeStampDef;


+ 1
- 1
ge/graph/build/task_generator.h View File

@@ -21,7 +21,7 @@
#include <memory> #include <memory>
#include <string> #include <string>
#include <vector> #include <vector>
#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "common/opskernel/ops_kernel_info_types.h" #include "common/opskernel/ops_kernel_info_types.h"
#include "framework/common/types.h" #include "framework/common/types.h"
#include "graph/compute_graph.h" #include "graph/compute_graph.h"


+ 1
- 1
ge/graph/common/bcast.cc View File

@@ -19,7 +19,7 @@
#include <vector> #include <vector>


#include "common/math_util.h" #include "common/math_util.h"
#include "common/util.h"
#include "framework/common/util.h"


using domi::Status; using domi::Status;




+ 3
- 3
ge/graph/common/bcast.h View File

@@ -21,11 +21,11 @@
#include <functional> #include <functional>
#include <vector> #include <vector>


#include "common/debug/log.h"
#include "common/types.h"
#include "framework/common/debug/log.h"
#include "framework/common/types.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "framework/common/ge_inner_error_codes.h" #include "framework/common/ge_inner_error_codes.h"
#include "graph/attr_value.h"
#include "external/graph/attr_value.h"
#include "graph/ge_tensor.h" #include "graph/ge_tensor.h"
#include "graph/utils/tensor_adapter.h" #include "graph/utils/tensor_adapter.h"




+ 3
- 3
ge/graph/common/local_context.cc View File

@@ -16,9 +16,9 @@


#include "graph/common/local_context.h" #include "graph/common/local_context.h"


#include "common/ge_inner_error_codes.h"
#include "common/debug/ge_log.h"
#include "omg/omg_inner_types.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/debug/ge_log.h"
#include "framework/omg/omg_inner_types.h"


namespace ge { namespace ge {
namespace { namespace {


+ 1
- 1
ge/graph/common/local_context.h View File

@@ -17,7 +17,7 @@
#ifndef GE_GRAPH_COMMON_LOCAL_CONTEXT_H_ #ifndef GE_GRAPH_COMMON_LOCAL_CONTEXT_H_
#define GE_GRAPH_COMMON_LOCAL_CONTEXT_H_ #define GE_GRAPH_COMMON_LOCAL_CONTEXT_H_


#include "omg/omg_inner_types.h"
#include "framework/omg/omg_inner_types.h"


namespace ge { namespace ge {
void SetLocalOmgContext(OmgContext &context); void SetLocalOmgContext(OmgContext &context);


+ 2
- 2
ge/graph/common/omg_util.h View File

@@ -22,8 +22,8 @@
#include <utility> #include <utility>
#include <vector> #include <vector>


#include "common/types.h"
#include "common/util.h"
#include "framework/common/types.h"
#include "framework/common/util.h"
#include "graph/node.h" #include "graph/node.h"


namespace ge { namespace ge {


+ 1
- 1
ge/graph/common/transop_util.cc View File

@@ -16,7 +16,7 @@


#include "graph/common/transop_util.h" #include "graph/common/transop_util.h"


#include "common/types.h"
#include "framework/common/types.h"
#include "graph/utils/type_utils.h" #include "graph/utils/type_utils.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"




+ 6
- 6
ge/graph/execute/graph_execute.h View File

@@ -24,14 +24,14 @@
#include <memory> #include <memory>
#include <vector> #include <vector>


#include "common/debug/log.h"
#include "framework/common/debug/log.h"
#include "common/debug/memory_dumper.h" #include "common/debug/memory_dumper.h"
#include "common/ge_types.h"
#include "framework/common/ge_types.h"
#include "common/properties_manager.h" #include "common/properties_manager.h"
#include "common/string_util.h"
#include "common/types.h"
#include "common/util.h"
#include "ge/ge_api_types.h"
#include "framework/common/string_util.h"
#include "framework/common/types.h"
#include "framework/common/util.h"
#include "external/ge/ge_api_types.h"
#include "graph/compute_graph.h" #include "graph/compute_graph.h"
#include "graph/manager/graph_context.h" #include "graph/manager/graph_context.h"
#include "graph/manager/graph_manager_utils.h" #include "graph/manager/graph_manager_utils.h"


+ 3
- 3
ge/graph/label/case_label_maker.cc View File

@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "case_label_maker.h"
#include "graph/label/case_label_maker.h"


#include "common/util.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/util.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/types.h" #include "framework/common/types.h"
#include "framework/common/op/ge_op_utils.h" #include "framework/common/op/ge_op_utils.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"


+ 3
- 3
ge/graph/label/if_label_maker.cc View File

@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "if_label_maker.h"
#include "graph/label/if_label_maker.h"


#include "common/util.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/util.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/types.h" #include "framework/common/types.h"
#include "framework/common/op/ge_op_utils.h" #include "framework/common/op/ge_op_utils.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"


+ 2
- 2
ge/graph/label/label_maker.cc View File

@@ -16,8 +16,8 @@


#include "graph/label/label_maker.h" #include "graph/label/label_maker.h"


#include "common/util.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/util.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/types.h" #include "framework/common/types.h"
#include "framework/common/op/ge_op_utils.h" #include "framework/common/op/ge_op_utils.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"


+ 3
- 3
ge/graph/label/partitioned_call_label_maker.cc View File

@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "partitioned_call_label_maker.h"
#include "graph/label/partitioned_call_label_maker.h"


#include "common/util.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/util.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/types.h" #include "framework/common/types.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"
#include "graph/utils/graph_utils.h" #include "graph/utils/graph_utils.h"


+ 3
- 3
ge/graph/label/while_label_maker.cc View File

@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "while_label_maker.h"
#include "graph/label/while_label_maker.h"


#include "common/util.h"
#include "common/ge_inner_error_codes.h"
#include "framework/common/util.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/types.h" #include "framework/common/types.h"
#include "framework/common/op/ge_op_utils.h" #include "framework/common/op/ge_op_utils.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"


+ 1
- 1
ge/graph/load/graph_loader.cc View File

@@ -19,7 +19,7 @@
#include <string> #include <string>
#include <vector> #include <vector>


#include "common/helper/model_helper.h"
#include "framework/common/helper/model_helper.h"
#include "common/model_parser/model_parser.h" #include "common/model_parser/model_parser.h"
#include "graph/ge_context.h" #include "graph/ge_context.h"
#include "graph/load/model_manager/model_manager.h" #include "graph/load/model_manager/model_manager.h"


+ 3
- 3
ge/graph/load/graph_loader.h View File

@@ -21,9 +21,9 @@
#include <string> #include <string>
#include <vector> #include <vector>


#include "common/debug/log.h"
#include "common/fmk_types.h"
#include "common/ge_types.h"
#include "framework/common/debug/log.h"
#include "framework/common/fmk_types.h"
#include "framework/common/ge_types.h"
#include "graph/compute_graph.h" #include "graph/compute_graph.h"
#include "graph/manager/graph_manager_utils.h" #include "graph/manager/graph_manager_utils.h"
#include "graph/model.h" #include "graph/model.h"


+ 2
- 2
ge/graph/load/model_manager/aipp_utils.cc View File

@@ -18,8 +18,8 @@


#include <string> #include <string>


#include "common/debug/log.h"
#include "common/op/ge_op_utils.h"
#include "framework/common/debug/log.h"
#include "framework/common/op/ge_op_utils.h"
#include "framework/common/util.h" #include "framework/common/util.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"
#include "graph/utils/attr_utils.h" #include "graph/utils/attr_utils.h"


+ 2
- 2
ge/graph/load/model_manager/aipp_utils.h View File

@@ -19,8 +19,8 @@


#include <vector> #include <vector>


#include "common/ge_inner_error_codes.h"
#include "common/ge_types.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/ge_types.h"
#include "graph/op_desc.h" #include "graph/op_desc.h"
#include "proto/insert_op.pb.h" #include "proto/insert_op.pb.h"




+ 2
- 2
ge/graph/load/model_manager/cpu_queue_schedule.cc View File

@@ -15,8 +15,8 @@
*/ */


#include "graph/load/model_manager/cpu_queue_schedule.h" #include "graph/load/model_manager/cpu_queue_schedule.h"
#include "common/debug/ge_log.h"
#include "common/debug/log.h"
#include "framework/common/debug/ge_log.h"
#include "framework/common/debug/log.h"


namespace { namespace {
const uint32_t kCoreDim = 1; // for rtCpuKernelLaunch const uint32_t kCoreDim = 1; // for rtCpuKernelLaunch


+ 1
- 1
ge/graph/load/model_manager/cpu_queue_schedule.h View File

@@ -19,7 +19,7 @@
#include <cstdint> #include <cstdint>
#include <vector> #include <vector>


#include "common/ge_inner_error_codes.h"
#include "framework/common/ge_inner_error_codes.h"
#include "graph/load/model_manager/task_info/task_info.h" #include "graph/load/model_manager/task_info/task_info.h"
#include "graph/load/model_manager/zero_copy_offset.h" #include "graph/load/model_manager/zero_copy_offset.h"
#include "runtime/kernel.h" #include "runtime/kernel.h"


+ 1
- 1
ge/graph/load/model_manager/data_dumper.cc View File

@@ -24,7 +24,7 @@


#include "common/debug/memory_dumper.h" #include "common/debug/memory_dumper.h"
#include "common/properties_manager.h" #include "common/properties_manager.h"
#include "common/util.h"
#include "framework/common/util.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "framework/common/util.h" #include "framework/common/util.h"
#include "graph/anchor.h" #include "graph/anchor.h"


+ 1
- 1
ge/graph/load/model_manager/data_dumper.h View File

@@ -29,7 +29,7 @@
#include "proto/ge_ir.pb.h" #include "proto/ge_ir.pb.h"
#include "proto/op_mapping.pb.h" #include "proto/op_mapping.pb.h"
#include "runtime/mem.h" #include "runtime/mem.h"
#include "task_info/task_info.h"
#include "graph/load/model_manager/task_info/task_info.h"
#include "framework/common/ge_types.h" #include "framework/common/ge_types.h"
#include "runtime/base.h" #include "runtime/base.h"




+ 3
- 3
ge/graph/load/model_manager/data_inputer.cc View File

@@ -18,9 +18,9 @@


#include <securec.h> #include <securec.h>


#include "common/debug/log.h"
#include "common/scope_guard.h"
#include "common/types.h"
#include "framework/common/debug/log.h"
#include "framework/common/scope_guard.h"
#include "framework/common/types.h"


namespace ge { namespace ge {
domi::Status InputDataWrapper::Init(const InputData &input, const OutputData &output) { domi::Status InputDataWrapper::Init(const InputData &input, const OutputData &output) {


+ 2
- 2
ge/graph/load/model_manager/data_inputer.h View File

@@ -22,8 +22,8 @@
#include <vector> #include <vector>


#include "common/blocking_queue.h" #include "common/blocking_queue.h"
#include "common/ge_types.h"
#include "common/types.h"
#include "framework/common/ge_types.h"
#include "framework/common/types.h"


namespace ge { namespace ge {
/// ///


+ 4
- 4
ge/graph/load/model_manager/davinci_model.cc View File

@@ -21,14 +21,14 @@
#include <map> #include <map>
#include <utility> #include <utility>


#include "common/debug/log.h"
#include "framework/common/debug/log.h"
#include "common/formats/formats.h" #include "common/formats/formats.h"
#include "common/formats/utils/formats_trans_utils.h" #include "common/formats/utils/formats_trans_utils.h"
#include "common/math/math_util.h" #include "common/math/math_util.h"
#include "common/op/ge_op_utils.h"
#include "framework/common/op/ge_op_utils.h"
#include "common/profiling/profiling_manager.h" #include "common/profiling/profiling_manager.h"
#include "common/properties_manager.h" #include "common/properties_manager.h"
#include "common/scope_guard.h"
#include "framework/common/scope_guard.h"
#include "common/thread_pool.h" #include "common/thread_pool.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "framework/common/util.h" #include "framework/common/util.h"
@@ -36,7 +36,7 @@
#include "graph/compute_graph.h" #include "graph/compute_graph.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"
#include "graph/ge_context.h" #include "graph/ge_context.h"
#include "graph/graph.h"
#include "external/graph/graph.h"
#include "graph/load/model_manager/cpu_queue_schedule.h" #include "graph/load/model_manager/cpu_queue_schedule.h"
#include "graph/load/model_manager/model_manager.h" #include "graph/load/model_manager/model_manager.h"
#include "graph/load/model_manager/tbe_handle_store.h" #include "graph/load/model_manager/tbe_handle_store.h"


+ 6
- 6
ge/graph/load/model_manager/davinci_model.h View File

@@ -24,14 +24,14 @@
#include <thread> #include <thread>
#include <vector> #include <vector>


#include "common/ge_types.h"
#include "common/helper/model_helper.h"
#include "common/helper/om_file_helper.h"
#include "framework/common/ge_types.h"
#include "framework/common/helper/model_helper.h"
#include "framework/common/helper/om_file_helper.h"
#include "common/opskernel/ge_task_info.h" #include "common/opskernel/ge_task_info.h"
#include "common/properties_manager.h" #include "common/properties_manager.h"
#include "common/dump/exception_dumper.h" #include "common/dump/exception_dumper.h"
#include "common/dump/opdebug_register.h" #include "common/dump/opdebug_register.h"
#include "common/types.h"
#include "framework/common/types.h"
#include "framework/common/util.h" #include "framework/common/util.h"
#include "graph/debug/ge_attr_define.h" #include "graph/debug/ge_attr_define.h"
#include "graph/load/model_manager/aipp_utils.h" #include "graph/load/model_manager/aipp_utils.h"
@@ -43,12 +43,12 @@
#include "graph/model.h" #include "graph/model.h"
#include "graph/node.h" #include "graph/node.h"
#include "graph/op_desc.h" #include "graph/op_desc.h"
#include "graph/operator.h"
#include "external/graph/operator.h"
#include "graph/utils/attr_utils.h" #include "graph/utils/attr_utils.h"
#include "graph/utils/tensor_utils.h" #include "graph/utils/tensor_utils.h"
#include "mmpa/mmpa_api.h" #include "mmpa/mmpa_api.h"
#include "proto/task.pb.h" #include "proto/task.pb.h"
#include "task_info/task_info.h"
#include "graph/load/model_manager/task_info/task_info.h"
#include "graph/common/local_context.h" #include "graph/common/local_context.h"


using std::mutex; using std::mutex;


+ 1
- 1
ge/graph/load/model_manager/model_manager.cc View File

@@ -21,7 +21,7 @@
#include "aicpu/aicpu_schedule/aicpu_op_type_list.h" #include "aicpu/aicpu_schedule/aicpu_op_type_list.h"
#include "common/model_parser/model_parser.h" #include "common/model_parser/model_parser.h"
#include "common/dump/dump_manager.h" #include "common/dump/dump_manager.h"
#include "common/l2_cache_optimize.h"
#include "framework/common/l2_cache_optimize.h"
#include "common/profiling/profiling_manager.h" #include "common/profiling/profiling_manager.h"
#include "graph/common/ge_call_wrapper.h" #include "graph/common/ge_call_wrapper.h"
#include "graph/load/model_manager/davinci_model.h" #include "graph/load/model_manager/davinci_model.h"


+ 6
- 6
ge/graph/load/model_manager/model_manager.h View File

@@ -26,13 +26,13 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "cce/aicpu_engine_struct.h" #include "cce/aicpu_engine_struct.h"
#include "common/ge_inner_error_codes.h"
#include "common/ge_types.h"
#include "common/helper/model_helper.h"
#include "common/helper/om_file_helper.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/ge_types.h"
#include "framework/common/helper/model_helper.h"
#include "framework/common/helper/om_file_helper.h"
#include "common/properties_manager.h" #include "common/properties_manager.h"
#include "common/types.h"
#include "ge/ge_api_types.h"
#include "framework/common/types.h"
#include "external/ge/ge_api_types.h"
#include "graph/ge_context.h" #include "graph/ge_context.h"
#include "graph/model.h" #include "graph/model.h"
#include "hybrid/hybrid_davinci_model.h" #include "hybrid/hybrid_davinci_model.h"


+ 3
- 3
ge/graph/load/model_manager/model_utils.cc View File

@@ -16,11 +16,11 @@


#include "graph/load/model_manager/model_utils.h" #include "graph/load/model_manager/model_utils.h"
#include <string> #include <string>
#include "common/debug/log.h"
#include "common/op/ge_op_utils.h"
#include "framework/common/debug/log.h"
#include "framework/common/op/ge_op_utils.h"
#include "graph/utils/tensor_utils.h" #include "graph/utils/tensor_utils.h"
#include "graph/manager/graph_var_manager.h" #include "graph/manager/graph_var_manager.h"
#include "graph/types.h"
#include "external/graph/types.h"
#include "graph/build/memory/block_mem_assigner.h" #include "graph/build/memory/block_mem_assigner.h"
#include "common/math/math_util.h" #include "common/math/math_util.h"




+ 2
- 2
ge/graph/load/model_manager/model_utils.h View File

@@ -19,8 +19,8 @@


#include <vector> #include <vector>


#include "common/ge_inner_error_codes.h"
#include "common/types.h"
#include "framework/common/ge_inner_error_codes.h"
#include "framework/common/types.h"
#include "graph/load/model_manager/task_info/task_info.h" #include "graph/load/model_manager/task_info/task_info.h"
#include "graph/op_desc.h" #include "graph/op_desc.h"
#include "graph/utils/tensor_adapter.h" #include "graph/utils/tensor_adapter.h"


+ 1
- 1
ge/graph/load/model_manager/task_info/kernel_ex_task_info.cc View File

@@ -23,7 +23,7 @@
#include "common/properties_manager.h" #include "common/properties_manager.h"
#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "framework/common/fmk_error_codes.h" #include "framework/common/fmk_error_codes.h"
#include "graph/attr_value.h"
#include "external/graph/attr_value.h"
#include "graph/load/model_manager/davinci_model.h" #include "graph/load/model_manager/davinci_model.h"
#include "graph/load/model_manager/model_manager.h" #include "graph/load/model_manager/model_manager.h"
#include "hybrid/node_executor/aicpu/aicpu_ext_info.h" #include "hybrid/node_executor/aicpu/aicpu_ext_info.h"


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save