Skip to content

Commit

Permalink
Updated HIP Bin prefix Path to rocm_path (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvindcheru committed Jul 29, 2022
1 parent f31b90b commit 985838b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolchain-linux.cmake
@@ -1,8 +1,8 @@

if (DEFINED ENV{ROCM_PATH})
set(rocm_bin "$ENV{ROCM_PATH}/hip/bin")
set(rocm_bin "$ENV{ROCM_PATH}/bin")
else()
set(rocm_bin "/opt/rocm/hip/bin")
set(rocm_bin "/opt/rocm/bin")
endif()

set(CMAKE_CXX_COMPILER "${rocm_bin}/hipcc")
Expand Down

0 comments on commit 985838b

Please sign in to comment.