There was an error while loading. Please reload this page.
1 parent 11bd75b commit bfb723cCopy full SHA for bfb723c
paddle/pten/CMakeLists.txt
@@ -17,5 +17,7 @@ set(PTEN_DEPS ${PTEN_DEPS} unary binary)
17
if(WITH_GPU OR WITH_ROCM)
18
set(PTEN_DEPS ${PTEN_DEPS} math_cuda linalg_cuda creation_cuda manipulation_cuda)
19
endif()
20
-
+if(WITH_XPU)
21
+ set(PTEN_DEPS ${PTEN_DEPS} manipulation_xpu)
22
+endif()
23
cc_library(pten SRCS all.cc DEPS ${PTEN_DEPS})
0 commit comments