Skip to content

Commit

Permalink
revert one file
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiu committed Jul 19, 2022
1 parent a52d4f5 commit 8f64a78
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 0 additions & 2 deletions paddle/fluid/platform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,6 @@ cc_library(
phi_device_context
generator)

# target_link_libraries(device_context phi_backends)

cc_library(
collective_helper
SRCS collective_helper.cc gen_comm_id_helper.cc
Expand Down
18 changes: 18 additions & 0 deletions paddle/phi/backends/custom/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
if(WITH_CUSTOM_DEVICE)
cc_library(
custom_context
SRCS custom_context.cc
DEPS phi_device_context device_manager)
cc_library(
custom_device
SRCS custom_device.cc
DEPS device_base device_context)
cc_test(
custom_device_test
SRCS custom_device_test.cc
DEPS device_manager device_context)
cc_test(
capi_test
SRCS capi_test.cc
DEPS phi_capi)
endif()

0 comments on commit 8f64a78

Please sign in to comment.