CMakeLists.txt 334 字节
Newer Older
1
add_subdirectory(detail)
2
add_subdirectory(allocation)
3
cc_library(malloc SRCS malloc.cc DEPS place enforce allocator_facade)
D
dangqingqing 已提交
4
cc_library(memcpy SRCS memcpy.cc DEPS place)
5

Y
Yi Wang 已提交
6
cc_library(memory
7
        DEPS
Y
Yi Wang 已提交
8 9
        malloc
        memcpy)
C
chengduoZH 已提交
10
#if (WITH_GPU)
11
#   nv_test(pinned_memory_test SRCS pinned_memory_test.cu  DEPS place memory)
C
chengduoZH 已提交
12
#endif()