提交 e6c15b82 编写于 作者: J jojobugfree

remove cce dependency

上级 d84bf8d3
...@@ -185,7 +185,6 @@ if(ENABLE_D) ...@@ -185,7 +185,6 @@ if(ENABLE_D)
"device/ascend/*.cc" "device/ascend/*.cc"
"device/ascend/profiling/*.cc" "device/ascend/profiling/*.cc"
"device/ascend/tasksink/*.cc" "device/ascend/tasksink/*.cc"
"kernel/akg/cce/*.cc"
"device/kernel_adjust.cc" "device/kernel_adjust.cc"
"kernel/kernel_fusion.cc" "kernel/kernel_fusion.cc"
"kernel/tbe/*.cc" "kernel/tbe/*.cc"
...@@ -361,7 +360,6 @@ if(ENABLE_GPU) ...@@ -361,7 +360,6 @@ if(ENABLE_GPU)
${TVM_DIR}/src/node/*.cc ${TVM_DIR}/src/node/*.cc
${TVM_DIR}/src/schedule/*.cc ${TVM_DIR}/src/schedule/*.cc
${TVM_DIR}/src/runtime/*.cc ${TVM_DIR}/src/runtime/*.cc
${TVM_DIR}/src/runtime/cce/*.cc
${TVM_DIR}/src/runtime/vm/*.cc ${TVM_DIR}/src/runtime/vm/*.cc
${TVM_DIR}/src/runtime/vm/profiler/*.cc ${TVM_DIR}/src/runtime/vm/profiler/*.cc
${TVM_DIR}/src/codegen/stackvm/*.cc) ${TVM_DIR}/src/codegen/stackvm/*.cc)
...@@ -379,7 +377,6 @@ if(ENABLE_GPU) ...@@ -379,7 +377,6 @@ if(ENABLE_GPU)
file(GLOB RUNTIME_SRCS file(GLOB RUNTIME_SRCS
${TVM_DIR}/src/runtime/*.cc ${TVM_DIR}/src/runtime/*.cc
${TVM_DIR}/src/runtime/cce/*.cc
${TVM_DIR}/src/runtime/vm/*.cc ${TVM_DIR}/src/runtime/vm/*.cc
${TVM_DIR}/src/runtime/stub/*.cc ${TVM_DIR}/src/runtime/stub/*.cc
${TVM_DIR}/src/runtime/stackvm/*.cc) ${TVM_DIR}/src/runtime/stackvm/*.cc)
......
...@@ -22,9 +22,6 @@ ...@@ -22,9 +22,6 @@
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>
#include "cce/aicpu_engine_struct.h"
#include "cce/taskdown_api.h"
#include "cce/fwk_adpt_struct.h"
#include "device/kernel_runtime.h" #include "device/kernel_runtime.h"
#include "ir/anf.h" #include "ir/anf.h"
#include "kernel/kernel.h" #include "kernel/kernel.h"
......
...@@ -25,11 +25,10 @@ endif() ...@@ -25,11 +25,10 @@ endif()
if(ENABLE_D) if(ENABLE_D)
file(GLOB_RECURSE _D_SRC_LIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} file(GLOB_RECURSE _D_SRC_LIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"akg/cce/*.cc"
"tbe/*.cc" "tbe/*.cc"
"aicpu/*.cc" "aicpu/*.cc"
"mng/*.cc" "mng/*.cc"
"hccl/*.cc" "hccl/*.cc"
) )
target_sources(_mindspore_kernel_obj PRIVATE ${_D_SRC_LIST}) target_sources(_mindspore_kernel_obj PRIVATE ${_D_SRC_LIST})
endif() endif()
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册