Skip to content

Add 7.14 ubuntu 24.04 amdrocm-core-sdk dockerfile - #488

Merged
zichguan-amd merged 9 commits into
amd-stagingfrom
zichguan/7.14migration
Jul 25, 2026
Merged

zichguan-amd merged 9 commits into
amd-stagingfrom
zichguan/7.14migration

Conversation

@zichguan-amd

@zichguan-amd zichguan-amd commented Jul 20, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

Add package manager installed ROCm docker image. Reusable for per category CI workflow, inheriting previous mainline workflows. This image contains all necessary packages to build and run rocm-examples, no additional installation or setup needed.

Technical Details

Add a ubuntu 24.04 based ROCm-installed image. Installs 7.14 for all supported archs.
Add ROCm version tagging for the new image only.
Add license statement to dockerfiles.

Register the prerelease repo (rocm.prereleases.amd.com) alongside the stable repo (repo.amd.com), pinned to priority 1 so only packages absent from stable are pulled from it. This installs amdrocm-decode-test (prerelease-only, 7.14.0~pre3), which provides the video and utility assets the rocDecode examples need to build and run their tests; the -dev/runtime decode packages come in transitively from stable. Updated rocDecode README to reflect this.

hipDNN, MIGraphX, MIVisionX, RPP, rocAL, rocCV are not available from packaged install.

Test Plan

Local build and test

Test Result

Built https://github.com/ROCm/rocm-examples/pkgs/container/rocm-examples-ubuntu-24.04-rocm/1057904364?tag=7.14 and ctest runs successfully.

Added/Updated documentation?

  • Yes
  • No, does not apply to this PR.

Included Visual Studio files?

  • Yes
  • No, does not apply to this PR.

Submission Checklist

Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
@zichguan-amd
zichguan-amd requested a review from a team as a code owner July 20, 2026 20:18
Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
amdrocm-core-sdk does not pull hipTensor or rocALUTION, so their
examples were skipped. Add the -dev packages for headers/CMake config
plus the -host packages, which ship the runtime .so (the -dev packages
have no dependencies and do not pull it in on their own).
Switch hipTensor/rocALUTION from -host to the meta package so the
per-arch device kernels (.kpack) are installed; without them GPU kernel
launches fail with "device kernel image is invalid". Also restore
native-image parity dropped from the old dockerfile: /opt/rocm/bin on
PATH, /opt/rocm/lib registered with the dynamic loader, and pyyaml
(required by rocprofv3).
@zichguan-amd
zichguan-amd force-pushed the zichguan/7.14migration branch from 7ad530b to 1444802 Compare July 22, 2026 22:09
zichguan-amd and others added 3 commits July 22, 2026 18:14
Add a tag_latest boolean input (default false) so manual dispatch runs
no longer overwrite the latest tag unless explicitly requested. Push to
amd-staging still auto-tags latest.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Add a branch-name fallback tag so every push/dispatch produces at least
one tag (avoids "tag is needed" on non-latest dispatch), and gate the
ROCm-version tag to the stable channel so dev builds never clobber the
shared latest/7.14 tags.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
The value is grepped from the Dockerfile's own ARG default and fed back
in unchanged, so it never alters the build. The extract step remains for
the version tag.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
@zichguan-amd zichguan-amd added the continuous integration changes to workflows label Jul 23, 2026
zichguan-amd and others added 2 commits July 23, 2026 12:49
Register the prerelease repo (pinned to priority 1) and install
amdrocm-decode-test, which is only published there. This provides the
video/utility assets the rocDecode examples need to build and test.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Add a Dockerfiles README section for ubuntu-24.04-rocm.Dockerfile and fix
the stale multi-arch CI image list. Note in the rocDecode README that the
shared utility sources and sample videos are required and ship via a
tarball install or the amdrocm-decode-test package.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>

@mapatel-amd mapatel-amd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zichguan-amd
zichguan-amd merged commit 78e6751 into amd-staging Jul 25, 2026
40 of 63 checks passed
@zichguan-amd
zichguan-amd deleted the zichguan/7.14migration branch July 25, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

continuous integration changes to workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants