diff --git a/mindspore/ccsrc/CMakeLists.txt b/mindspore/ccsrc/CMakeLists.txt index 72ad4d7b09b..1c684b6736c 100644 --- a/mindspore/ccsrc/CMakeLists.txt +++ b/mindspore/ccsrc/CMakeLists.txt @@ -185,7 +185,6 @@ if(ENABLE_D) "device/ascend/*.cc" "device/ascend/profiling/*.cc" "device/ascend/tasksink/*.cc" - "kernel/akg/cce/*.cc" "device/kernel_adjust.cc" "kernel/kernel_fusion.cc" "kernel/tbe/*.cc" @@ -361,7 +360,6 @@ if(ENABLE_GPU) ${TVM_DIR}/src/node/*.cc ${TVM_DIR}/src/schedule/*.cc ${TVM_DIR}/src/runtime/*.cc - ${TVM_DIR}/src/runtime/cce/*.cc ${TVM_DIR}/src/runtime/vm/*.cc ${TVM_DIR}/src/runtime/vm/profiler/*.cc ${TVM_DIR}/src/codegen/stackvm/*.cc) @@ -379,7 +377,6 @@ if(ENABLE_GPU) file(GLOB RUNTIME_SRCS ${TVM_DIR}/src/runtime/*.cc - ${TVM_DIR}/src/runtime/cce/*.cc ${TVM_DIR}/src/runtime/vm/*.cc ${TVM_DIR}/src/runtime/stub/*.cc ${TVM_DIR}/src/runtime/stackvm/*.cc) diff --git a/mindspore/ccsrc/device/ascend/tasksink/task_generator.h b/mindspore/ccsrc/device/ascend/tasksink/task_generator.h index 4d1fba9db4b..0c56fcc744e 100644 --- a/mindspore/ccsrc/device/ascend/tasksink/task_generator.h +++ b/mindspore/ccsrc/device/ascend/tasksink/task_generator.h @@ -22,9 +22,6 @@ #include #include #include -#include "cce/aicpu_engine_struct.h" -#include "cce/taskdown_api.h" -#include "cce/fwk_adpt_struct.h" #include "device/kernel_runtime.h" #include "ir/anf.h" #include "kernel/kernel.h" diff --git a/mindspore/ccsrc/kernel/CMakeLists.txt b/mindspore/ccsrc/kernel/CMakeLists.txt index 4cd60b591c4..9c5e2c18900 100644 --- a/mindspore/ccsrc/kernel/CMakeLists.txt +++ b/mindspore/ccsrc/kernel/CMakeLists.txt @@ -25,11 +25,10 @@ endif() if(ENABLE_D) file(GLOB_RECURSE _D_SRC_LIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} - "akg/cce/*.cc" "tbe/*.cc" "aicpu/*.cc" "mng/*.cc" "hccl/*.cc" ) target_sources(_mindspore_kernel_obj PRIVATE ${_D_SRC_LIST}) -endif() \ No newline at end of file +endif()