Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chao1Han committed Oct 12, 2024
1 parent bed720c commit fd44abe
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions cmake/Modules/FindXCCL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,8 @@

include(FindPackageHandleStandardArgs)

# include FindMKL.cmake to use its variables
include(FindMKL)

set(XCCL_ROOT "")
if (EXISTS "${DEFAULT_INTEL_ONEAPI_DIR}/ccl/latest")
SET(XCCL_ROOT "${DEFAULT_INTEL_ONEAPI_DIR}/ccl/latest")
elseif(DEFINED ENV{CCL_ROOT})
set(XCCL_ROOT "/opt/intel/oneapi/ccl/latest")
if (NOT EXISTS "${XCCL_ROOT}")
message(STATUS "Default OneCCL not found, using current environment OneCCL")
set(XCCL_ROOT $ENV{CCL_ROOT})
endif()
Expand Down

0 comments on commit fd44abe

Please sign in to comment.