CMakeLists.txt 399 字节
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
  DEPS glog enforce xpulib device_context place phi)
18 19 20
cc_library(
  xpu_op_list
  SRCS xpu_op_list.cc
21
  DEPS glog enforce xpulib device_context op_kernel_type phi)
22 23 24 25
cc_library(
  xpu_resource_pool
  SRCS xpu_resource_pool.cc
  DEPS xpu_info)