CMakeLists.txt 476 字节
Newer Older
1
add_subdirectory(detail)
2

Q
Qiao Longfei 已提交
3
cc_library(memory SRCS memory.cc DEPS place enforce)
D
dangqingqing 已提交
4
cc_library(memcpy SRCS memcpy.cc DEPS place)
5 6

cc_library(paddle_memory
7 8 9 10 11 12 13 14
        DEPS
        memory
        memcpy
        meta_data
        meta_cache
        memory_block
        buddy_allocator
        system_allocator)
L
liaogang 已提交
15 16

cc_test(memory_test SRCS memory_test.cc DEPS place paddle_memory)
17 18 19 20

if (WITH_GPU)
    nv_test(pinned_memory_test SRCS pinned_memory_test.cu  DEPS place paddle_memory)
endif()