From a771fde8b1c62ecf4875c77609a9fa4587084532 Mon Sep 17 00:00:00 2001 From: Pruthvi Madugundu Date: Wed, 18 Oct 2023 21:09:05 +0000 Subject: [PATCH] Update the magma to version 2.7.2 (#111442) - 2.7.2 version + few ROCm related commits: https://bitbucket.org/icl/magma/pull-requests/37 Pull Request resolved: https://github.com/pytorch/pytorch/pull/111442 Approved by: https://github.com/Skylion007, https://github.com/jithunnair-amd --- .ci/docker/common/install_rocm_magma.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.ci/docker/common/install_rocm_magma.sh b/.ci/docker/common/install_rocm_magma.sh index 1a85505d783395..457e0ad77361a2 100644 --- a/.ci/docker/common/install_rocm_magma.sh +++ b/.ci/docker/common/install_rocm_magma.sh @@ -5,8 +5,10 @@ set -ex # "install" hipMAGMA into /opt/rocm/magma by copying after build git clone https://bitbucket.org/icl/magma.git pushd magma -# Fixes memory leaks of magma found while executing linalg UTs -git checkout 28592a7170e4b3707ed92644bf4a689ed600c27f + +# Version 2.7.2 + ROCm related updates +git checkout 823531632140d0edcb7e77c3edc0e837421471c5 + cp make.inc-examples/make.inc.hip-gcc-mkl make.inc echo 'LIBDIR += -L$(MKLROOT)/lib' >> make.inc echo 'LIB += -Wl,--enable-new-dtags -Wl,--rpath,/opt/rocm/lib -Wl,--rpath,$(MKLROOT)/lib -Wl,--rpath,/opt/rocm/magma/lib' >> make.inc