From a76b99fb82c24d0b1241f044dc97f4a1a0282046 Mon Sep 17 00:00:00 2001 From: "Daily, Jeff" Date: Tue, 22 Sep 2020 09:27:16 -0700 Subject: [PATCH 1/3] add rocm 3.8 version to deploy.sh --- manywheel/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manywheel/deploy.sh b/manywheel/deploy.sh index 786e3d66a..e853028dd 100755 --- a/manywheel/deploy.sh +++ b/manywheel/deploy.sh @@ -2,7 +2,7 @@ set -eou pipefail -for rocm_version in 3.7; do +for rocm_version in 3.7 3.8; do ( set -x DOCKER_BUILDKIT=1 docker build \ From fd6e4666c1fb12407c534d50cf900d5d80745a5e Mon Sep 17 00:00:00 2001 From: "Daily, Jeff" Date: Tue, 22 Sep 2020 09:43:39 -0700 Subject: [PATCH 2/3] add rocm 3.8 case to build_rocm.sh --- manywheel/build_rocm.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manywheel/build_rocm.sh b/manywheel/build_rocm.sh index b9c481de5..47df66b14 100755 --- a/manywheel/build_rocm.sh +++ b/manywheel/build_rocm.sh @@ -59,7 +59,9 @@ elif [[ "$OS_NAME" == *"Ubuntu"* ]]; then LIBELF_PATH="/usr/lib/x86_64-linux-gnu/libelf.so.1" fi -if [[ $ROCM_VERSION == "rocm3.7" ]]; then +# NOTE: Some ROCm versions have identical dependencies. +# To avoid copy/paste mistakes, version condition branches are combined. +if [[ $ROCM_VERSION == "rocm3.7" || $ROCM_VERSION == "rocm3.8" ]]; then DEPS_LIST=( "/opt/rocm/miopen/lib/libMIOpen.so.1" "/opt/rocm/hip/lib/libamdhip64.so.3" From fb7470732ee0313654b3e20a6cffb6e7107bc4ea Mon Sep 17 00:00:00 2001 From: "Daily, Jeff" Date: Tue, 22 Sep 2020 12:07:27 -0700 Subject: [PATCH 3/3] rocblas tensile data file renamed in rocm 3.8 --- manywheel/build_rocm.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/manywheel/build_rocm.sh b/manywheel/build_rocm.sh index 47df66b14..30faed3dc 100755 --- a/manywheel/build_rocm.sh +++ b/manywheel/build_rocm.sh @@ -59,6 +59,12 @@ elif [[ "$OS_NAME" == *"Ubuntu"* ]]; then LIBELF_PATH="/usr/lib/x86_64-linux-gnu/libelf.so.1" fi +if [[ $ROCM_VERSION == "rocm3.7" ]]; then + TENSILE_LIBRARY_NAME=TensileLibrary.yaml +elif [[ $ROCM_VERSION == "rocm3.8" ]]; then + TENSILE_LIBRARY_NAME=TensileLibrary.dat +fi + # NOTE: Some ROCm versions have identical dependencies. # To avoid copy/paste mistakes, version condition branches are combined. if [[ $ROCM_VERSION == "rocm3.7" || $ROCM_VERSION == "rocm3.8" ]]; then @@ -111,7 +117,7 @@ DEPS_AUX_SRCLIST=( "/opt/rocm/rocblas/lib/library/TensileLibrary_gfx900.co" "/opt/rocm/rocblas/lib/library/TensileLibrary_gfx906.co" "/opt/rocm/rocblas/lib/library/TensileLibrary_gfx908.co" - "/opt/rocm/rocblas/lib/library/TensileLibrary.yaml" + "/opt/rocm/rocblas/lib/library/$TENSILE_LIBRARY_NAME" ) DEPS_AUX_DSTLIST=( @@ -123,7 +129,7 @@ DEPS_AUX_DSTLIST=( "lib/library/TensileLibrary_gfx900.co" "lib/library/TensileLibrary_gfx906.co" "lib/library/TensileLibrary_gfx908.co" - "lib/library/TensileLibrary.yaml" + "lib/library/$TENSILE_LIBRARY_NAME" ) else