未验证 提交 6132476d 编写于 作者: L Leo Chen 提交者: GitHub

add kernel_decalre for xpu kp kernels (#43920)

上级 9f74363f
......@@ -145,7 +145,8 @@ if(WITH_XPU)
else()
add_library(phi_xpu ${kernel_xpu})
endif()
kernel_declare(${kernel_xpu})
kernel_declare("${kernel_xpu}")
kernel_declare("${kernel_xpu_kps}")
target_link_libraries(phi_xpu ${COMMON_KERNEL_DEPS})
set_property(GLOBAL PROPERTY PHI_KERNELS phi_cpu phi_xpu)
endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册