Skip to content

Commit

Permalink
remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
chunhuanMeng committed Feb 6, 2025
1 parent 075f9d1 commit c12152e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/BuildOnLinux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ else()

install(TARGETS xpu_sycl DESTINATION "${TORCH_INSTALL_LIB_DIR}")
list(APPEND TORCH_XPU_OPS_LIBRARIES xpu_sycl)

endif()
set(SYCL_LINK_LIBRARIES_KEYWORD)

Expand Down
9 changes: 4 additions & 5 deletions src/BuildOnWindows.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,10 @@ elseif(BUILD_SPLIT_KERNEL_LIB OR __INTEL_LLVM_COMPILER LESS 20250001 OR ICX_DATE
list(APPEND TORCH_XPU_OPS_LIBRARIES torch_xpu_ops)
list(APPEND TORCH_XPU_OPS_LIBRARIES torch_xpu_ops_aten)
else()

# On Windows, it is not possible to combine all obj files into one library
# because the obj files of kernels compiled on Windows are much larger than
# those on Linux. If they are combined into one, the library size will exceed
# 4GB, which conflicts with the size limit of a single library on Windows.
# On Windows, it is not possible to combine all obj files into one library
# because the obj files of kernels compiled on Windows are much larger than
# those on Linux. If they are combined into one, the library size will exceed
# 4GB, which conflicts with the size limit of a single library on Windows.
# We will combine the libraries on Windows into one after the compiler is fixed.
add_library(
torch_xpu_ops
Expand Down

0 comments on commit c12152e

Please sign in to comment.