CMakeLists.txt 476 字节
Newer Older
Y
Yi Wang 已提交
1
if(${WITH_GPU})
L
liaogang 已提交
2
  nv_library(system_allocator SRCS system_allocator.cc DEPS gflags gpu_info)
Y
Yi Wang 已提交
3
else(${WITH_GPU})
4
  cc_library(system_allocator SRCS system_allocator.cc DEPS gflags)
Y
Yi Wang 已提交
5
endif(${WITH_GPU})
6

L
liaogang 已提交
7
cc_test(system_allocator_test SRCS system_allocator_test.cc DEPS system_allocator)
L
liaogang 已提交
8

L
liaogang 已提交
9
cc_library(meta_data SRCS meta_data.cc)
10 11 12 13 14

cc_library(meta_cache SRCS meta_cache.cc)

cc_library(memory_block SRCS memory_block.cc)

L
liaogang 已提交
15
cc_library(buddy_allocator SRCS buddy_allocator.cc DEPS glog)