From cf786d22ec78aacf04ca25a8fb39f04079703980 Mon Sep 17 00:00:00 2001 From: QingshuChen Date: Thu, 14 Jan 2021 09:25:50 +0800 Subject: [PATCH] fix bug that cann't find mkldnn(kunlun) (#30394) --- paddle/fluid/memory/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/memory/CMakeLists.txt b/paddle/fluid/memory/CMakeLists.txt index 266c6e1bfc5..13626ae7778 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) -- GitLab