From 7cd0238d2a9befcc479fb4e7c916104815daeec0 Mon Sep 17 00:00:00 2001 From: Jeff Daily Date: Tue, 11 May 2021 12:05:17 -0700 Subject: [PATCH 1/5] update install_miopen.sh for rocm 4.2 --- common/install_miopen.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/install_miopen.sh b/common/install_miopen.sh index 4a1efce82..25c19ae56 100644 --- a/common/install_miopen.sh +++ b/common/install_miopen.sh @@ -95,6 +95,9 @@ if [[ ${ROCM_VERSION} == 4.0.1 ]]; then elif [[ ${ROCM_VERSION} == 4.1 ]]; then MIOPEN_CMAKE_DB_FLAGS="-DMIOPEN_EMBED_DB=gfx803_36;gfx803_64;gfx900_56;gfx900_64;gfx906_60;gfx906_64;gfx90878" MIOPEN_BRANCH="rocm-4.1.x-staging" +elif [[ ${ROCM_VERSION} == 4.2 ]]; then + MIOPEN_CMAKE_DB_FLAGS="-DMIOPEN_EMBED_DB=gfx803_36;gfx803_64;gfx900_56;gfx900_64;gfx906_60;gfx906_64;gfx90878" + MIOPEN_BRANCH="rocm-4.2.x" else echo "Unhandled ROCM_VERSION ${ROCM_VERSION}" exit 1 From 411394884654757ccdfc6e32ff90f254b4d8bae1 Mon Sep 17 00:00:00 2001 From: Jeff Daily Date: Tue, 11 May 2021 13:33:50 -0700 Subject: [PATCH 2/5] update manywheel/build_all_docker.sh for rocm 4.2 --- manywheel/build_all_docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manywheel/build_all_docker.sh b/manywheel/build_all_docker.sh index 861e8ca04..f9ccb53f6 100644 --- a/manywheel/build_all_docker.sh +++ b/manywheel/build_all_docker.sh @@ -10,6 +10,6 @@ for cuda_version in 11.3 11.1 10.2; do GPU_ARCH_TYPE=cuda GPU_ARCH_VERSION="${cuda_version}" "${TOPDIR}/manywheel/build_docker.sh" done -for rocm_version in 4.0.1 4.1; do +for rocm_version in 4.0.1 4.1 4.2; do GPU_ARCH_TYPE=cuda GPU_ARCH_VERSION="${cuda_version}" "${TOPDIR}/manywheel/build_docker.sh" done From def049096df89b089c1b0efec3dbaece9de187b8 Mon Sep 17 00:00:00 2001 From: Jeff Daily Date: Tue, 11 May 2021 13:47:03 -0700 Subject: [PATCH 3/5] add rocm4.2 to update_s3_htmls.sh --- cron/update_s3_htmls.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/update_s3_htmls.sh b/cron/update_s3_htmls.sh index c1eadff3d..7949af12b 100755 --- a/cron/update_s3_htmls.sh +++ b/cron/update_s3_htmls.sh @@ -9,7 +9,7 @@ set -e # Upload for all CUDA/cpu versions if not given one to use if [[ -z "$CUDA_VERSIONS" ]]; then - export CUDA_VERSIONS=('cpu' 'cu92' 'cu100' 'cu101' 'cu102' 'cu110' 'rocm3.7' 'rocm3.8' 'rocm3.9' 'rocm3.10' 'rocm4.0.1' 'rocm4.1') + export CUDA_VERSIONS=('cpu' 'cu92' 'cu100' 'cu101' 'cu102' 'cu110' 'rocm4.0.1' 'rocm4.1' 'rocm4.2') fi if [[ -z "$HTML_NAME" ]]; then From a775546b2334bcc3c1c5c28745724e56b34a99c7 Mon Sep 17 00:00:00 2001 From: Jeff Daily Date: Wed, 12 May 2021 07:51:07 -0700 Subject: [PATCH 4/5] fix copy/paste error for rocm in manywheel/build_all_docker.sh --- manywheel/build_all_docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manywheel/build_all_docker.sh b/manywheel/build_all_docker.sh index f9ccb53f6..cfd2c41c6 100644 --- a/manywheel/build_all_docker.sh +++ b/manywheel/build_all_docker.sh @@ -11,5 +11,5 @@ for cuda_version in 11.3 11.1 10.2; do done for rocm_version in 4.0.1 4.1 4.2; do - GPU_ARCH_TYPE=cuda GPU_ARCH_VERSION="${cuda_version}" "${TOPDIR}/manywheel/build_docker.sh" + GPU_ARCH_TYPE=rocm GPU_ARCH_VERSION="${rocm_version}" "${TOPDIR}/manywheel/build_docker.sh" done From 00a8704f685a6be1547067608bce47bfb5f2ac93 Mon Sep 17 00:00:00 2001 From: Jeff Daily Date: Wed, 12 May 2021 08:16:21 -0700 Subject: [PATCH 5/5] add rocm 4.2 to build-manywheel-images.yml action --- .github/workflows/build-manywheel-images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-manywheel-images.yml b/.github/workflows/build-manywheel-images.yml index f16ce6317..6941ec2fb 100644 --- a/.github/workflows/build-manywheel-images.yml +++ b/.github/workflows/build-manywheel-images.yml @@ -29,7 +29,7 @@ jobs: runs-on: linux.2xlarge strategy: matrix: - rocm_version: ["4.0.1", "4.1"] + rocm_version: ["4.0.1", "4.1", "4.2"] env: GPU_ARCH_TYPE: rocm GPU_ARCH_VERSION: ${{ matrix.rocm_version }}