Skip to content

Commit

Permalink
Update Ubuntu 24.04 ROCm+OneAPI image
Browse files Browse the repository at this point in the history
This updates updates the version of OneAPI used to 2024.2.1, updates the
ROCm repository, and also makes the call to the CodePlay download API
more precisely defined.
  • Loading branch information
stephenswat committed Oct 25, 2024
1 parent afa430a commit a869a9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ubuntu2404_rocm_oneapi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ RUN apt-get update && \
apt-get clean -y

# Install the CodePlay AMD plugin on top of oneAPI.
ARG CODEPLAY_PLUGIN_VERSION=2024.2.0
RUN curl -SL \
"https://developer.codeplay.com/api/v1/products/download?product=oneapi&variant=amd&version=${CODEPLAY_PLUGIN_VERSION}" \
ONEAPI_INSTALLED_VERSION=$(/opt/intel/oneapi/compiler/latest/bin/icpx --version | grep -oP '(?<=Intel\(R\) oneAPI DPC\+\+\/C\+\+ Compiler )[[:digit:]]+\.[[:digit:]]+..\.[[:digit:]]+') \
"https://developer.codeplay.com/api/v1/products/download?product=oneapi&variant=amd&version=${ONEAPI_INSTALLED_VERSION}&filters[]=${ROCM_VERSION}&filters[]=linux" \
-o plugin.sh && \
sh plugin.sh --install-dir /opt/intel/oneapi --yes && \
rm plugin.sh
Expand Down
2 changes: 1 addition & 1 deletion ubuntu2404_rocm_oneapi/rocm.list
Original file line number Diff line number Diff line change
@@ -1 +1 @@
deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.1 focal main
deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.1 jammy main

0 comments on commit a869a9b

Please sign in to comment.