Cherry-pick of lite engine, test=release/1.8 (#25817)
* ignore warnings of external libraries, test=develop (#24193) * fix repeat definitions in liengine.cc, test=develop (#25020) * remove paddle_use_kernel and paddle_use_op. test=develop (#25189) * fix compile for lite subgraph. test=develop (#25285) * [CI] [Lite-Subgraph] CI add lite subgraph check. (#25346) * supports xpu runtime, test=develop (#25554) * fix cmake of lite, test=develop (#25680) * change commit files, test=release/1.8 Co-authored-by: Wilber <jiweibo@baidu.com>release/1.8
parent
01fc84a1ee
commit
45fa6861c0
@ -1,5 +1,9 @@
|
||||
if(XPU_SDK_ROOT)
|
||||
set(XPU_DEPS xpuapi xpurt)
|
||||
endif()
|
||||
|
||||
cc_library(lite_op_teller SRCS op_teller.cc DEPS lite_full_static framework_proto device_context boost xxhash)
|
||||
cc_library(lite_engine SRCS engine.cc DEPS lite_full_static framework_proto)
|
||||
cc_library(lite_tensor_utils SRCS tensor_utils.cc DEPS memcpy lite_full_static framework_proto boost)
|
||||
cc_library(lite_engine SRCS engine.cc DEPS lite_full_static framework_proto ${XPU_DEPS})
|
||||
cc_library(lite_tensor_utils SRCS tensor_utils.cc DEPS memcpy lite_full_static framework_proto boost device_context)
|
||||
cc_test(test_lite_engine SRCS test_engine.cc DEPS lite_engine protobuf framework_proto glog gtest analysis)
|
||||
cc_test(test_lite_tensor_utils SRCS test_tensor_utils.cc DEPS lite_engine lite_tensor_utils)
|
||||
|
Loading…
Reference in new issue