From 8f8a4768dcf1187df36ce36f6cd6a52059dcea61 Mon Sep 17 00:00:00 2001 From: Darcy Date: Sun, 6 May 2018 16:04:00 -0700 Subject: [PATCH] adding device_context to blas deps list (#10420) * adding operator to blas deps list * use device_context instead to solve cycle deps --- paddle/fluid/operators/math/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/math/CMakeLists.txt b/paddle/fluid/operators/math/CMakeLists.txt index f36e9444dfb..53a478c1ac0 100644 --- a/paddle/fluid/operators/math/CMakeLists.txt +++ b/paddle/fluid/operators/math/CMakeLists.txt @@ -41,7 +41,7 @@ math_library(depthwise_conv) math_library(gru_compute DEPS activation_functions math_function) math_library(im2col) math_library(lstm_compute DEPS activation_functions) -cc_library(blas SRCS blas.cc DEPS cblas framework_proto) +cc_library(blas SRCS blas.cc DEPS cblas framework_proto device_context) math_library(math_function DEPS blas) math_library(maxouting) math_library(pooling) -- GitLab