File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ if(BUILD_SEPARATE_OPS)
3434 ${ATen_XPU_NATIVE_CPP_SRCS}
3535 ${ATen_XPU_GEN_SRCS} )
3636 target_compile_definitions (torch_xpu_ops PRIVATE TORCH_XPU_BUILD_MAIN_LIB)
37+ list (APPEND TORCH_XPU_OPS_LIBRARIES torch_xpu_ops)
3738
3839 foreach (sycl_src ${ATen_XPU_SYCL_SRCS} )
3940 get_filename_component (name ${sycl_src} NAME_WLE REALPATH)
@@ -48,7 +49,7 @@ if(BUILD_SEPARATE_OPS)
4849 # Decouple with PyTorch cmake definition.
4950 install (TARGETS ${sycl_lib} DESTINATION "${TORCH_INSTALL_LIB_DIR} " )
5051 endforeach ()
51-
52+
5253 list (APPEND TORCH_XPU_OPS_LIBRARIES torch_xpu_ops)
5354# Working with the compilers which don't support device code compression, we have to split kernels
5455# into multiple libraries to meet the bin size limitation.
You can’t perform that action at this time.
0 commit comments