From dd2c997d6bd2f3dadfcf1ee78c2c94f36c9bd381 Mon Sep 17 00:00:00 2001 From: xiongkun Date: Thu, 24 Feb 2022 11:22:47 +0800 Subject: [PATCH] [Phi] Fix comilation dependecy in selected_rows with memory (#39834) --- paddle/phi/core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/phi/core/CMakeLists.txt b/paddle/phi/core/CMakeLists.txt index 80bcc66477..6ada063069 100644 --- a/paddle/phi/core/CMakeLists.txt +++ b/paddle/phi/core/CMakeLists.txt @@ -23,7 +23,7 @@ cc_library(sparse_csr_tensor SRCS sparse_csr_tensor.cc DEPS dense_tensor tensor_ cc_library(meta_tensor SRCS meta_tensor.cc DEPS tensor_base tensor_meta dense_tensor) cc_library(infermeta_utils SRCS infermeta_utils.cc DEPS meta_tensor) -cc_library(selected_rows SRCS selected_rows_impl.cc DEPS dense_tensor pten_enforce ddim) +cc_library(selected_rows SRCS selected_rows_impl.cc DEPS dense_tensor pten_enforce ddim memcpy) cc_library(pten_custom_kernel SRCS custom_kernel.cc DEPS kernel_factory convert_utils) -- GitLab