CMakeLists.txt 515 字节
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 17 18 19 20 21 22
cc_library(
  xpu_info
  SRCS xpu_info.cc
  DEPS gflags
       glog
       enforce
       xpulib
       device_context
       place
23
       phi_backends)
24 25 26
cc_library(
  xpu_op_list
  SRCS xpu_op_list.cc
27 28 29 30 31 32
  DEPS gflags
       glog
       enforce
       xpulib
       device_context
       op_kernel_type
33
       phi_backends)
34 35 36 37
cc_library(
  xpu_resource_pool
  SRCS xpu_resource_pool.cc
  DEPS xpu_info)