提交 7ae6fbfe 编写于 作者: Y yanghongtian

fixed coding styles

上级 b025ef80
...@@ -34,7 +34,6 @@ include_directories("${ACL_INC}") ...@@ -34,7 +34,6 @@ include_directories("${ACL_INC}")
# find ascendcl library # find ascendcl library
find_library(ACL_LIB_FILE NAMES ascendcl PATHS ${ASCEND_HOME}/acllib/lib64) find_library(ACL_LIB_FILE NAMES ascendcl PATHS ${ASCEND_HOME}/acllib/lib64)
if(NOT ACL_LIB_FILE) if(NOT ACL_LIB_FILE)
message(FATAL_ERROR "Can not find ACL Library in ${ASCEND_HOME}/acllib/lib64") message(FATAL_ERROR "Can not find ACL Library in ${ASCEND_HOME}/acllib/lib64")
else() else()
...@@ -45,7 +44,6 @@ endif() ...@@ -45,7 +44,6 @@ endif()
# find register library # find register library
find_library(REG_LIB_FILE NAMES register PATHS ${ASCEND_HOME}/acllib/lib64) find_library(REG_LIB_FILE NAMES register PATHS ${ASCEND_HOME}/acllib/lib64)
if(NOT REG_LIB_FILE) if(NOT REG_LIB_FILE)
message(FATAL_ERROR "Can not find REG Library in ${ASCEND_HOME}/acllib/lib64") message(FATAL_ERROR "Can not find REG Library in ${ASCEND_HOME}/acllib/lib64")
else() else()
...@@ -56,7 +54,6 @@ endif() ...@@ -56,7 +54,6 @@ endif()
find_library(RT_LIB_FILE NAMES runtime PATHS ${ASCEND_HOME}/acllib/lib64) find_library(RT_LIB_FILE NAMES runtime PATHS ${ASCEND_HOME}/acllib/lib64)
if(NOT RT_LIB_FILE) if(NOT RT_LIB_FILE)
message(FATAL_ERROR "Can not find RT Library in ${ASCEND_HOME}/acllib/lib64") message(FATAL_ERROR "Can not find RT Library in ${ASCEND_HOME}/acllib/lib64")
else() else()
...@@ -101,7 +98,5 @@ else() ...@@ -101,7 +98,5 @@ else()
set_property(TARGET opp_lib PROPERTY IMPORTED_LOCATION ${OPP_LIB_FILE}) set_property(TARGET opp_lib PROPERTY IMPORTED_LOCATION ${OPP_LIB_FILE})
endif() endif()
set(hw_ascend_npu_builder_libs graph_lib opp_lib CACHE INTERNAL "ascend builder libs") set(hw_ascend_npu_builder_libs graph_lib opp_lib CACHE INTERNAL "ascend builder libs")
...@@ -199,7 +199,7 @@ function(lite_cc_binary TARGET) ...@@ -199,7 +199,7 @@ function(lite_cc_binary TARGET)
NPU_DEPS ${args_NPU_DEPS} NPU_DEPS ${args_NPU_DEPS}
XPU_DEPS ${args_XPU_DEPS} XPU_DEPS ${args_XPU_DEPS}
HW_ASCEND_NPU_DEPS ${args_HW_ASCEND_NPU_DEPS} HW_ASCEND_NPU_DEPS ${args_HW_ASCEND_NPU_DEPS}
BM_DEPS ${args_BM_DEPS} BM_DEPS ${args_BM_DEPS}
PROFILE_DEPS ${args_PROFILE_DEPS} PROFILE_DEPS ${args_PROFILE_DEPS}
LIGHT_DEPS ${args_LIGHT_DEPS} LIGHT_DEPS ${args_LIGHT_DEPS}
HVY_DEPS ${args_HVY_DEPS} HVY_DEPS ${args_HVY_DEPS}
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "lite/kernels/hw_ascend_npu/bridges/graph.h" #include "lite/kernels/hw_ascend_npu/bridges/graph.h"
/// reference from opp package /// reference from opp package
#include <all_ops.h #include <all_ops.h>
#include <utility> #include <utility>
namespace paddle { namespace paddle {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册