CMakeLists.txt 509 字节
Newer Older
1 2 3 4
if(NOT WITH_XPU)
  return()
endif()

5 6 7 8 9 10 11 12
set(XPU_CTX_DEPS
    xpulib
    ssl
    crypto
    rt
    z
    resolv
    dl)
13

14 15 16
cc_library(
  xpu_info
  SRCS xpu_info.cc
17 18 19 20 21 22 23
  DEPS glog
       enforce
       xpulib
       device_context
       place
       phi
       dynload_xpti)
24 25 26
cc_library(
  xpu_op_list
  SRCS xpu_op_list.cc
27 28 29 30 31 32 33
  DEPS glog
       enforce
       xpulib
       device_context
       op_kernel_type
       phi
       dynload_xpti)
34 35 36 37
cc_library(
  xpu_resource_pool
  SRCS xpu_resource_pool.cc
  DEPS xpu_info)