Skip to content

Commit 715c933

Browse files
committed
Change deps
1 parent b9cc896 commit 715c933

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paddle/fluid/framework/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ proto_library(framework_proto SRCS framework.proto)
55
cc_library(ddim SRCS ddim.cc DEPS eigen3 boost)
66
cc_test(ddim_test SRCS ddim_test.cc DEPS ddim)
77
nv_test(dim_test SRCS dim_test.cu DEPS ddim)
8-
cc_library(data_type SRCS data_type.cc DEPS framework_proto ddim)
8+
cc_library(data_type SRCS data_type.cc DEPS framework_proto ddim device_context)
99
if(WITH_GPU)
10-
nv_library(tensor SRCS tensor.cc tensor_util.cu DEPS place memory device_context data_type)
10+
nv_library(tensor SRCS tensor.cc tensor_util.cu DEPS place memory data_type)
1111
else()
12-
cc_library(tensor SRCS tensor.cc tensor_util.cc DEPS place memory device_context data_type)
12+
cc_library(tensor SRCS tensor.cc tensor_util.cc DEPS place memory data_type)
1313
endif()
1414

1515
cc_test(tensor_test SRCS tensor_test.cc DEPS tensor)

0 commit comments

Comments
 (0)