CMakeLists.txt 467 字节
Newer Older
Y
Yi Wang 已提交
1 2
cc_library(memory_block SRCS memory_block.cc meta_data.cc meta_cache.cc)

Y
Yi Wang 已提交
3
if(${WITH_GPU})
L
liaogang 已提交
4
  nv_library(system_allocator SRCS system_allocator.cc DEPS gflags cpu_info gpu_info)
Y
Yi Wang 已提交
5
else(${WITH_GPU})
L
liaogang 已提交
6
  cc_library(system_allocator SRCS system_allocator.cc DEPS gflags cpu_info)
Y
Yi Wang 已提交
7
endif(${WITH_GPU})
8

L
liaogang 已提交
9
cc_test(system_allocator_test SRCS system_allocator_test.cc DEPS system_allocator)
L
liaogang 已提交
10

Y
Yi Wang 已提交
11
cc_library(buddy_allocator SRCS buddy_allocator.cc DEPS memory_block system_allocator glog)