Browse Source

mindspore mode support static mmpa

tags/v1.1.0
yanghaoran 3 years ago
parent
commit
bf3be54322
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      CMakeLists.txt
  2. +1
    -1
      ge/common/CMakeLists.txt
  3. +1
    -1
      metadef

+ 1
- 1
CMakeLists.txt View File

@@ -148,10 +148,10 @@ elseif (ENABLE_D OR ENABLE_ACL)
# common libraries
find_module(slog libslog.so ${ASCEND_MS_DRIVER_PATH})
find_module(error_manager liberror_manager.so ${ASCEND_MS_RUNTIME_PATH} ${ATLAS_MS_RUNTIME_PATH})
find_module(static_mmpa libmmpa.a ${ASCEND_MS_DRIVER_PATH})

if (ENABLE_D)
# training
find_module(mmpa libmmpa.so ${ASCEND_MS_DRIVER_PATH})
find_module(runtime libruntime.so ${ASCEND_MS_RUNTIME_PATH} ${ATLAS_MS_RUNTIME_PATH})
find_module(register libregister.so ${ASCEND_MS_RUNTIME_PATH} ${ATLAS_MS_RUNTIME_PATH})
endif ()


+ 1
- 1
ge/common/CMakeLists.txt View File

@@ -210,7 +210,7 @@ target_link_libraries(ge_common PRIVATE
c_sec
error_manager
slog
mmpa
static_mmpa
-Wl,--as-needed
json
-lrt


+ 1
- 1
metadef

@@ -1 +1 @@
Subproject commit 6bdf2e3011150b200fdcd2acd18b7186902534b6
Subproject commit 89590b3405f6c5714997c07f81470764ac66635b

Loading…
Cancel
Save