Skip to content

Commit

Permalink
Packaging for ROCm 5.6 (#299)
Browse files Browse the repository at this point in the history
* Packaging for ROCm 5.6

- Bump version to 1.10.2
- build rocm 5.6 containers for ubuntu 20.04, 22.04
- build rocm 5.6 containers for opensuse 15.4
- build rocm 5.5 and 5.6 for rhel 8.7, 9.0, 9.1
- cpack rocm 5.6 for ubuntu 20.04, ubuntu 22.04, opensuse 15.4, rhel 8.7, rhel 9.0, rhel 9.1

* Update omnitrace.cfg

- remove file_write_period_ms
- remove flush_period_ms

* Remove ROCm 5.6 for RHEL 9.0

- no packaging support
  • Loading branch information
jrmadsen authored Aug 9, 2023
1 parent 5276c95 commit 0b751d2
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 6 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ jobs:
- os-distro: "ubuntu"
os-version: "20.04"
rocm-version: "5.5"
- os-distro: "ubuntu"
os-version: "20.04"
rocm-version: "5.6"
# ubuntu 22.04
- os-distro: "ubuntu"
os-version: "22.04"
Expand All @@ -140,6 +143,9 @@ jobs:
- os-distro: "ubuntu"
os-version: "22.04"
rocm-version: "5.5"
- os-distro: "ubuntu"
os-version: "22.04"
rocm-version: "5.6"
# opensuse 15.3
- os-distro: "opensuse"
os-version: "15.3"
Expand Down Expand Up @@ -187,6 +193,9 @@ jobs:
- os-distro: "opensuse"
os-version: "15.4"
rocm-version: "5.5"
- os-distro: "opensuse"
os-version: "15.4"
rocm-version: "5.6"
# RHEL 8.7
- os-distro: "rhel"
os-version: "8.7"
Expand All @@ -197,6 +206,12 @@ jobs:
- os-distro: "rhel"
os-version: "8.7"
rocm-version: "5.4"
- os-distro: "rhel"
os-version: "8.7"
rocm-version: "5.5"
- os-distro: "rhel"
os-version: "8.7"
rocm-version: "5.6"
# RHEL 9.0
- os-distro: "rhel"
os-version: "9.0"
Expand All @@ -207,6 +222,9 @@ jobs:
- os-distro: "rhel"
os-version: "9.0"
rocm-version: "5.4"
- os-distro: "rhel"
os-version: "9.0"
rocm-version: "5.5"
# RHEL 9.1
- os-distro: "rhel"
os-version: "9.1"
Expand All @@ -217,6 +235,12 @@ jobs:
- os-distro: "rhel"
os-version: "9.1"
rocm-version: "5.4"
- os-distro: "rhel"
os-version: "9.1"
rocm-version: "5.5"
- os-distro: "rhel"
os-version: "9.1"
rocm-version: "5.6"


steps:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/cpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
- os-distro: "ubuntu"
os-version: "20.04"
rocm-version: "5.5"
- os-distro: "ubuntu"
os-version: "20.04"
rocm-version: "5.6"
# ubuntu 22.04
- os-distro: "ubuntu"
os-version: "22.04"
Expand All @@ -76,6 +79,9 @@ jobs:
- os-distro: "ubuntu"
os-version: "22.04"
rocm-version: "5.5"
- os-distro: "ubuntu"
os-version: "22.04"
rocm-version: "5.6"
# opensuse 15.3
- os-distro: "opensuse"
os-version: "15.3"
Expand Down Expand Up @@ -108,6 +114,9 @@ jobs:
- os-distro: "opensuse"
os-version: "15.4"
rocm-version: "5.5"
- os-distro: "opensuse"
os-version: "15.4"
rocm-version: "5.6"
# RHEL 8.7
- os-distro: "rhel"
os-version: "8.7"
Expand All @@ -121,6 +130,9 @@ jobs:
- os-distro: "rhel"
os-version: "8.7"
rocm-version: "5.5"
- os-distro: "rhel"
os-version: "8.7"
rocm-version: "5.6"
# RHEL 9.0
- os-distro: "rhel"
os-version: "9.0"
Expand All @@ -147,6 +159,9 @@ jobs:
- os-distro: "rhel"
os-version: "9.1"
rocm-version: "5.5"
- os-distro: "rhel"
os-version: "9.1"
rocm-version: "5.6"

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.1
1.10.2
6 changes: 3 additions & 3 deletions docker/build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ do
4.1* | 4.0*)
ROCM_REPO_DIST="xenial"
;;
5.3* | 5.4* | 5.5*)
5.3* | 5.4* | 5.5* | 5.6*)
case "${VERSION}" in
22.04)
ROCM_REPO_DIST="jammy"
Expand Down Expand Up @@ -204,7 +204,7 @@ do

# set the sub-URL in https://repo.radeon.com/amdgpu-install/<sub-URL>
case "${ROCM_VERSION}" in
5.3 | 5.3.* | 5.4 | 5.4.* | 5.5 | 5.5.*)
5.3 | 5.3.* | 5.4 | 5.4.* | 5.5 | 5.5.* | 5.6 | 5.6.*)
ROCM_RPM=${ROCM_VERSION}/rhel/${RPM_PATH}/amdgpu-install-${ROCM_MAJOR}.${ROCM_MINOR}.${ROCM_VERSN}-1${RPM_TAG}.noarch.rpm
;;
5.2 | 5.2.* | 5.1 | 5.1.* | 5.0 | 5.0.* | 4.*)
Expand Down Expand Up @@ -232,7 +232,7 @@ do
;;
esac
case "${ROCM_VERSION}" in
5.3 | 5.3.* | 5.4 | 5.4.* | 5.5 | 5.5.*)
5.3 | 5.3.* | 5.4 | 5.4.* | 5.5 | 5.5.* | 5.6 | 5.6.*)
ROCM_RPM=${ROCM_VERSION}/sle/${VERSION}/amdgpu-install-${ROCM_MAJOR}.${ROCM_MINOR}.${ROCM_VERSN}-1.noarch.rpm
;;
5.2 | 5.2.*)
Expand Down
2 changes: 0 additions & 2 deletions omnitrace.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# 5 minute trace, but can be stopped prematurely.
duration_ms: 300000
write_into_file: true
file_write_period_ms: 100
flush_period_ms: 100

# One buffer allocated within the central tracing binary for the entire trace,
# shared by the two data sources below.
Expand Down

0 comments on commit 0b751d2

Please sign in to comment.