Skip to content

Commit

Permalink
Update Ubuntu 24.04 ROCm+OneAPI image (#123)
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 authored Oct 25, 2024
1 parent afa430a commit 0d871ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 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}" \
RUN ONEAPI_INSTALLED_VERSION=$(/opt/intel/oneapi/compiler/latest/bin/icpx --version | grep -oP '(?<=Intel\(R\) oneAPI DPC\+\+\/C\+\+ Compiler )[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+') && \
echo "Installing CodePlay for OneAPI ${ONEAPI_INSTALLED_VERSION}" && \
curl -SL "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 0d871ce

Please sign in to comment.