Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chao1Han committed Dec 12, 2024
1 parent f91ef77 commit 89e8c9a
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 @@ -8,8 +8,8 @@ include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)

set(XCCL_ROOT "/opt/intel/oneapi/ccl/latest")
if (NOT EXISTS "${XCCL_ROOT}")
message(STATUS "Default OneCCL not found, using current environment OneAPI")
set(XCCL_ROOT $ENV{ONEAPI_ROOT}/ccl/latest)
message(STATUS "Default OneCCL not found, using current environment OneCCL")
set(XCCL_ROOT $ENV{CCL_ROOT})
endif()

string(COMPARE EQUAL "${XCCL_ROOT}" "" nocclfound)
Expand Down

0 comments on commit 89e8c9a

Please sign in to comment.