From a44be6655d8b7cb0bc4a935b02e15f13ed1fd971 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. [ROCm/rccl commit: 2cb2f9493a7f9db22fd2326b28392713cba13cf4] --- projects/rccl/tools/HelloRccl/Makefile | 2 +- projects/rccl/tools/MultiRank/Makefile | 2 +- projects/rccl/tools/ib-test/Makefile | 2 +- projects/rccl/tools/rccl-prim-test/Makefile | 2 +- projects/rccl/tools/topo_expl/Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/projects/rccl/tools/HelloRccl/Makefile b/projects/rccl/tools/HelloRccl/Makefile index 8729c17feb..ce19bb7ae7 100644 --- a/projects/rccl/tools/HelloRccl/Makefile +++ b/projects/rccl/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/projects/rccl/tools/MultiRank/Makefile b/projects/rccl/tools/MultiRank/Makefile index 5d38d7cb70..b3c9ccab0f 100644 --- a/projects/rccl/tools/MultiRank/Makefile +++ b/projects/rccl/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/projects/rccl/tools/ib-test/Makefile b/projects/rccl/tools/ib-test/Makefile index 7035b4e112..971f744378 100755 --- a/projects/rccl/tools/ib-test/Makefile +++ b/projects/rccl/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/projects/rccl/tools/rccl-prim-test/Makefile b/projects/rccl/tools/rccl-prim-test/Makefile index d16cd3003c..b220db8439 100644 --- a/projects/rccl/tools/rccl-prim-test/Makefile +++ b/projects/rccl/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/projects/rccl/tools/topo_expl/Makefile b/projects/rccl/tools/topo_expl/Makefile index 90cef51954..bc2a58b19c 100644 --- a/projects/rccl/tools/topo_expl/Makefile +++ b/projects/rccl/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