diff --git a/paddle/fluid/memory/CMakeLists.txt b/paddle/fluid/memory/CMakeLists.txt index 266c6e1bfc53be18099e6d635d8662a44fb66e0c..13626ae7778a1170b526ffe89930f4815b459052 100644 --- a/paddle/fluid/memory/CMakeLists.txt +++ b/paddle/fluid/memory/CMakeLists.txt @@ -9,7 +9,7 @@ endif() cc_library(malloc SRCS malloc.cc DEPS place enforce allocator_facade profiler ${MKLDNN_CTX_DEPS}) -cc_library(memcpy SRCS memcpy.cc DEPS place) +cc_library(memcpy SRCS memcpy.cc DEPS place device_context) cc_library(memory DEPS malloc memcpy)