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 f69059a commit bed720c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/Modules/FindXCCL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ include(FindPackageHandleStandardArgs)
include(FindMKL)

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

0 comments on commit bed720c

Please sign in to comment.