From e4ebe29f432b6e185bf373f705f3799399ddb860 Mon Sep 17 00:00:00 2001 From: Matthew Poremba Date: Thu, 9 May 2024 10:11:54 -0700 Subject: [PATCH] util: Bump gpu-fs docker to ROCm 6.1 (#1097) This version matches the disk image on gem5-resources. Change-Id: I69a45ef290f0fdf2167ead4d67d4d789d30e0e91 --- util/dockerfiles/gpu-fs/Dockerfile | 4 ++-- util/dockerfiles/gpu-fs/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/util/dockerfiles/gpu-fs/Dockerfile b/util/dockerfiles/gpu-fs/Dockerfile index 99eb2924d5..a99b3369c3 100644 --- a/util/dockerfiles/gpu-fs/Dockerfile +++ b/util/dockerfiles/gpu-fs/Dockerfile @@ -49,9 +49,9 @@ RUN mkdir --parents --mode=0755 /etc/apt/keyrings RUN wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | \ gpg --dearmor | tee /etc/apt/keyrings/rocm.gpg > /dev/null -RUN echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/6.0.2/ubuntu jammy main" \ +RUN echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/6.1/ubuntu jammy main" \ | tee /etc/apt/sources.list.d/amdgpu.list -RUN echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.0.2 jammy main" \ +RUN echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.1 jammy main" \ | tee --append /etc/apt/sources.list.d/rocm.list # Note: Need to remove 'echo -e' in docker. RUN echo 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \ diff --git a/util/dockerfiles/gpu-fs/README.md b/util/dockerfiles/gpu-fs/README.md index c6f8b72091..94904fa461 100644 --- a/util/dockerfiles/gpu-fs/README.md +++ b/util/dockerfiles/gpu-fs/README.md @@ -1,7 +1,7 @@ ## rocm-build Dockerfile The Dockerfile in this directory is used to build applications to be run with GPU full system. Applications targeting AMD's ROCm GPU framework can be built using this docker (e.g., HIP, HSA, OpenCL, etc.). -The current major ROCm version targeted is 6.0.2. +The current major ROCm version targeted is 6.1. This version matches the disk image provided in gem5-resources. The purpose of this docker image is to allow building applications without requiring ROCm to be installed on the host machine.