From 2cb2f9493a7f9db22fd2326b28392713cba13cf4 Mon Sep 17 00:00:00 2001 From: arvindcheru <90783369+arvindcheru@users.noreply.github.com> Date: Thu, 4 Aug 2022 13:38:41 -0400 Subject: [PATCH] HIP Path default updated to ROCM_PATH (reorg path) (#592) Updated default path for hip to ROCM_PATH (/opt/rocm instead of /opt/rocm/hip) as per new/current structure. --- tools/HelloRccl/Makefile | 2 +- tools/MultiRank/Makefile | 2 +- tools/ib-test/Makefile | 2 +- tools/rccl-prim-test/Makefile | 2 +- tools/topo_expl/Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/HelloRccl/Makefile b/tools/HelloRccl/Makefile index 8729c17feb..ce19bb7ae7 100644 --- a/tools/HelloRccl/Makefile +++ b/tools/HelloRccl/Makefile @@ -3,7 +3,7 @@ # Set to where RCCL is installed RCCL_INSTALL=../../build/release -HIP_PATH?= $(wildcard /opt/rocm/hip) +HIP_PATH?= $(wildcard /opt/rocm) ifeq (,$(HIP_PATH)) HIP_PATH=../../.. endif diff --git a/tools/MultiRank/Makefile b/tools/MultiRank/Makefile index 5d38d7cb70..b3c9ccab0f 100644 --- a/tools/MultiRank/Makefile +++ b/tools/MultiRank/Makefile @@ -3,7 +3,7 @@ # Set to where RCCL is installed RCCL_INSTALL=../../build/release -HIP_PATH?= $(wildcard /opt/rocm/hip) +HIP_PATH?= $(wildcard /opt/rocm) ifeq (,$(HIP_PATH)) HIP_PATH=../../.. endif diff --git a/tools/ib-test/Makefile b/tools/ib-test/Makefile index 7035b4e112..971f744378 100755 --- a/tools/ib-test/Makefile +++ b/tools/ib-test/Makefile @@ -1,5 +1,5 @@ # Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All rights reserved. -HIP_PATH ?= $(wildcard /opt/rocm/hip) +HIP_PATH ?= $(wildcard /opt/rocm) ifeq (,$(HIP_PATH)) HIP_PATH = ../../.. endif diff --git a/tools/rccl-prim-test/Makefile b/tools/rccl-prim-test/Makefile index d16cd3003c..b220db8439 100644 --- a/tools/rccl-prim-test/Makefile +++ b/tools/rccl-prim-test/Makefile @@ -1,5 +1,5 @@ # Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All rights reserved. -HIP_PATH?= $(wildcard /opt/rocm/hip) +HIP_PATH?= $(wildcard /opt/rocm) ifeq (,$(HIP_PATH)) HIP_PATH=../../.. endif diff --git a/tools/topo_expl/Makefile b/tools/topo_expl/Makefile index 90cef51954..bc2a58b19c 100644 --- a/tools/topo_expl/Makefile +++ b/tools/topo_expl/Makefile @@ -1,5 +1,5 @@ # Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All rights reserved. -HIP_PATH ?= $(wildcard /opt/rocm/hip) +HIP_PATH ?= $(wildcard /opt/rocm) ifeq (,$(HIP_PATH)) HIP_PATH = ../../.. endif