|
|
@@ -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") |
|
|
@@ -120,10 +118,9 @@ else () |
|
|
|
endif() |
|
|
|
elseif(PLATFORM STREQUAL "all") |
|
|
|
find_module(adump_server libadump_server.a ${ASCEND_RUNTIME_DIR}) |
|
|
|
find_module(runtime libruntime.so ${ASCEND_RUNTIME_DIR}) |
|
|
|
find_module(runtime libruntime.so ${ASCEND_ATC_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!") |
|
|
|