From f81caa4e1114ef78afa15730f7963c289418fe63 Mon Sep 17 00:00:00 2001 From: Yi Wang Date: Sat, 22 Jul 2017 16:14:15 -0700 Subject: [PATCH] Add dependency memory->device_context, because we now use platform::GPUPlaceGuard --- paddle/memory/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/paddle/memory/CMakeLists.txt b/paddle/memory/CMakeLists.txt index 4cd40e2c2a..3e53d1ce65 100644 --- a/paddle/memory/CMakeLists.txt +++ b/paddle/memory/CMakeLists.txt @@ -8,7 +8,10 @@ cc_library(paddle_memory memory memcpy meta_data - meta_cache memory_block - buddy_allocator system_allocator) + meta_cache + memory_block + buddy_allocator + system_allocator + device_context) cc_test(memory_test SRCS memory_test.cc DEPS place paddle_memory) -- GitLab