Browse Source

Pre Merge pull request !1998 from 王涛/master

pull/1998/MERGE
王涛 Gitee 3 years ago
parent
commit
d23f83be05
5 changed files with 3 additions and 18 deletions
  1. +0
    -3
      CMakeLists.txt
  2. +1
    -2
      ge/CMakeLists.txt
  3. +1
    -2
      ge/offline/CMakeLists.txt
  4. +0
    -10
      ge/opskernel_manager/ops_kernel_builder_manager.cc
  5. +1
    -1
      metadef

+ 0
- 3
CMakeLists.txt View File

@@ -88,7 +88,6 @@ else ()
find_module(hccl libhccl.so ${GE_LIB_PATH})
find_module(adump_server libadump_server.a ${GE_LIB_PATH})
find_module(runtime libruntime.so ${GE_LIB_PATH})
find_module(runtime_compile libruntime_compile.so ${GE_LIB_PATH})
find_module(resource libresource.so ${GE_LIB_PATH})
find_module(ascend_hal_stub libascend_hal.so ${GE_LIB_PATH})
find_module(msprofiler_fwk_ext libmsprofiler_fwk.a ${GE_LIB_PATH})
@@ -108,7 +107,6 @@ else ()
elseif(PLATFORM STREQUAL "inference")
find_module(adump_server libadump_server.a ${ASCEND_ACL_DIR})
find_module(runtime libruntime.so ${ASCEND_ACL_DIR})
find_module(runtime_compile libruntime_compile.so ${ASCEND_ATC_DIR})
find_module(msprofiler_ext libmsprofiler.a ${ASCEND_ACL_DIR})
if(PRODUCT STREQUAL "flr3")
elseif(PRODUCT STREQUAL "flr1")
@@ -123,7 +121,6 @@ else ()
find_module(runtime libruntime.so ${ASCEND_RUNTIME_DIR})
find_module(msprofiler_fwk_ext libmsprofiler_fwk.a ${ASCEND_RUNTIME_DIR})
find_module(ascend_hal_stub libascend_hal.so ${ASCEND_DRIVER_DIR})
find_module(runtime_compile libruntime_compile.so ${ASCEND_ATC_DIR})
find_module(msprofiler_ext libmsprofiler.a ${ASCEND_ACL_DIR})
else()
message(STATUS "PLATFORM param is invalid, should be train or inference, you choose nothing!")


+ 1
- 2
ge/CMakeLists.txt View File

@@ -655,8 +655,7 @@ target_link_libraries(ge_compiler PRIVATE
c_sec
error_manager
slog
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:$<BUILD_INTERFACE:runtime>>
$<$<BOOL:${ENABLE_OPEN_SRC}>:$<BUILD_INTERFACE:runtime_compile>>
runtime
opt_feature
-Wl,--as-needed
json


+ 1
- 2
ge/offline/CMakeLists.txt View File

@@ -62,8 +62,7 @@ target_link_libraries(atc_atc.bin PRIVATE
parser_common
gflags
json
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:$<BUILD_INTERFACE:runtime>>
$<$<BOOL:${ENABLE_OPEN_SRC}>:$<BUILD_INTERFACE:runtime_compile>>
runtime
slog
static_mmpa
-lrt


+ 0
- 10
ge/opskernel_manager/ops_kernel_builder_manager.cc View File

@@ -20,15 +20,6 @@

namespace ge {
namespace {
#ifdef ONLY_COMPILE_OPEN_SRC
const std::vector<std::string> kBasicBuilderLibs = {
"libge_local_opskernel_builder.so",
"libhost_cpu_opskernel_builder.so",
"librts_kernel_builder.so",
"libaicpu_ascend_builder.so",
"libaicpu_tf_builder.so"
};
#else
const std::vector<std::string> kBasicBuilderLibs = {
"libge_local_opskernel_builder.so",
"libhost_cpu_opskernel_builder.so",
@@ -36,7 +27,6 @@ const std::vector<std::string> kBasicBuilderLibs = {
"libaicpu_ascend_engine.so",
"libaicpu_tf_engine.so"
};
#endif

const std::vector<std::string> kHcclBuilderLibs = {
"libhcom_opskernel_builder.so",


+ 1
- 1
metadef

@@ -1 +1 @@
Subproject commit 5a9605f6cb1204a729a51fe36bc614cf1d94a496
Subproject commit a725349b65aef2940555af2ddb7b9461fbe0d5fd

Loading…
Cancel
Save