@@ -8,7 +8,7 @@ macro(setup_common_libraries)
88 torch_xpu_ops
99 STATIC
1010 ${ATen_XPU_CPP_SRCS} )
11- set (PATH_TO_TORCH_XPU_OPS_ATEN_LIB \ "torch_xpu_ops_aten.dll\ ")
11+ set (PATH_TO_TORCH_XPU_OPS_ATEN_LIB "torch_xpu_ops_aten.dll" )
1212 target_compile_options (torch_xpu_ops PRIVATE -DPATH_TO_TORCH_XPU_OPS_ATEN_LIB=${PATH_TO_TORCH_XPU_OPS_ATEN_LIB} )
1313
1414 add_library (
@@ -25,6 +25,7 @@ macro(setup_common_libraries)
2525endmacro ()
2626
2727if (BUILD_SEPARATE_OPS)
28+ message ("!!!!! BUILD_SEPARATE_OPS: ${BUILD_SEPARATE_OPS} - 1" )
2829 setup_common_libraries()
2930 foreach (sycl_src ${ATen_XPU_SYCL_SRCS} )
3031 get_filename_component (name ${sycl_src} NAME_WLE REALPATH)
@@ -44,6 +45,7 @@ if(BUILD_SEPARATE_OPS)
4445# Working with the compilers which don't support device code compression, we have to split kernels
4546# into multiple libraries to meet the bin size limitation.
4647elseif (BUILD_SPLIT_KERNEL_LIB OR __INTEL_LLVM_COMPILER LESS 20250004 OR ICX_DATE LESS 20241205)
48+ message ("!!!!! BUILD_SEPARATE_OPS: ${BUILD_SEPARATE_OPS} - 2" )
4749 setup_common_libraries()
4850 # Split SYCL kernels into 2 libraries as categories 1) Unary+Binary 2) Others.
4951 set (ATen_XPU_SYCL_BINARY_SRCS)
@@ -242,6 +244,7 @@ elseif(BUILD_SPLIT_KERNEL_LIB OR __INTEL_LLVM_COMPILER LESS 20250004 OR ICX_DATE
242244 list (APPEND TORCH_XPU_OPS_LIBRARIES torch_xpu_ops)
243245 list (APPEND TORCH_XPU_OPS_LIBRARIES torch_xpu_ops_aten)
244246else ()
247+ message ("!!!!! BUILD_SEPARATE_OPS: ${BUILD_SEPARATE_OPS} - 3" )
245248 # On Windows, it is not possible to combine all obj files into one library
246249 # because the obj files of kernels compiled on Windows are much larger than
247250 # those on Linux. If they are combined into one, the library size will exceed
0 commit comments