CMakeLists.txt 628 字节
Newer Older
1 2 3 4
if(XPU_SDK_ROOT)
  set(XPU_DEPS xpuapi xpurt)
endif()

5 6 7
cc_library(
  lite_op_teller
  SRCS op_teller.cc
R
Ruibiao Chen 已提交
8
  DEPS ${LITE_DEPS} framework_proto device_context xxhash)
9 10 11 12 13 14 15
cc_library(
  lite_engine
  SRCS engine.cc
  DEPS ${LITE_DEPS} framework_proto ${XPU_DEPS})
cc_library(
  lite_tensor_utils
  SRCS tensor_utils.cc
R
Ruibiao Chen 已提交
16
  DEPS memcpy ${LITE_DEPS} framework_proto device_context ${XPU_DEPS})
17
cc_test_old(
18
  test_lite_engine
19 20 21 22 23 24 25 26 27 28 29
  SRCS
  test_engine_lite.cc
  DEPS
  lite_engine
  protobuf
  framework_proto
  glog
  gtest
  analysis)
cc_test_old(test_lite_tensor_utils SRCS test_tensor_utils.cc DEPS lite_engine
            lite_tensor_utils)