Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
benchmark:
uses: ROCmSoftwarePlatform/actions/.github/workflows/benchmarks.yml@main
with:
rocm_version: 7.1.1
rocm_version: 7.2.2
script_repo: migraphx-benchmark/benchmark-utils
result_path: /usr/share/migraphx/test-results
result_repo: ROCm/comparison-results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/config.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#=====ROCM INFO=====
ROCM_VERSION : '7.1.1'
ROCM_VERSION : '7.2.2'
Comment thread
causten marked this conversation as resolved.
#default ROCm version to be used
ROCM_BASE_IMAGE : 'rocm/dev-ubuntu-22.04'
#base image from dockerhub to be used
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
rocm_release:
description: ROCm Version
required: true
default: '7.1.1'
default: '7.2.2'
performance_reports_repo:
description: Repository where performance reports are stored
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rocm-image-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
release:
uses: ROCm/migraphx-benchmark/.github/workflows/rocm-release.yml@main
with:
rocm_release: ${{ github.event.inputs.rocm_release || '7.1.1' }}
rocm_release: ${{ github.event.inputs.rocm_release || '7.2.2' }}
benchmark-utils_repo: ${{ github.event.inputs.benchmark-utils_repo || 'ROCm/migraphx-benchmark-utils' }}
base_image: ${{ github.event.inputs.base_image || 'rocm/dev-ubuntu-22.04' }}
docker_image: ${{ github.event.inputs.docker_image || 'rocm-migraphx' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unreleased_rocm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
rocm_release:
description: Use tuned MIOpen database for ROCm release
required: true
default: '7.1.1'
default: '7.2.2'
performance_reports_repo:
description: Repository where performance reports are stored
required: true
Expand Down
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,15 @@ rocm_enable_clang_tidy(
performance-*
readability-*
-bugprone-crtp-constructor-accessibility
-bugprone-derived-method-shadowing-base-method
-bugprone-easily-swappable-parameters
-bugprone-implicit-widening-of-multiplication-result
-bugprone-macro-parentheses
-bugprone-nondeterministic-pointer-iteration-order
-bugprone-return-const-ref-from-parameter
-bugprone-signed-char-misuse
-bugprone-unchecked-optional-access
-bugprone-unintended-char-ostream-output
# Disable the aliased reserved identifiers
-cert-dcl37-c
-cert-dcl51-cpp
Expand Down Expand Up @@ -203,6 +205,7 @@ rocm_enable_clang_tidy(
-cppcoreguidelines-misleading-capture-default-by-value
-cppcoreguidelines-missing-std-forward
-cppcoreguidelines-pro-bounds-array-to-pointer-decay
-cppcoreguidelines-pro-bounds-avoid-unchecked-container-access
-cppcoreguidelines-pro-bounds-constant-array-index
Comment on lines 207 to 209
Copy link

Copilot AI Apr 24, 2026

Choose a reason for hiding this comment

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

This newly added clang-tidy check line is indented with a tab. The project generally uses spaces in CMakeLists.txt, and mixed whitespace can cause noisy diffs and editor/CI formatting issues. Replace the tab with spaces to match the surrounding indentation.

Copilot uses AI. Check for mistakes.
-cppcoreguidelines-pro-bounds-pointer-arithmetic
-cppcoreguidelines-pro-type-member-init
Expand All @@ -211,25 +214,30 @@ rocm_enable_clang_tidy(
-cppcoreguidelines-pro-type-vararg
-cppcoreguidelines-special-member-functions
-cppcoreguidelines-use-default-member-init
-cppcoreguidelines-use-enum-class
-cppcoreguidelines-virtual-class-destructor
-google-readability-*
-google-runtime-int
-google-runtime-references
-misc-const-correctness
-misc-include-cleaner
-misc-macro-parentheses
-misc-no-recursion
-misc-override-with-different-visibility
-modernize-concat-nested-namespaces
-modernize-pass-by-value
-modernize-type-traits
-modernize-use-default-member-init
-modernize-use-nodiscard
-modernize-use-override
-modernize-use-scoped-lock
-modernize-use-trailing-return-type
-modernize-use-transparent-functors
-performance-avoid-endl
-performance-type-promotion-in-math-fn
-performance-enum-size
-readability-braces-around-statements
-readability-container-size-empty
-readability-avoid-nested-conditional-operator
-readability-convert-member-functions-to-static
-readability-else-after-return
Expand All @@ -238,9 +246,11 @@ rocm_enable_clang_tidy(
-readability-math-missing-parentheses
-readability-named-parameter
-readability-redundant-member-init
-readability-redundant-parentheses
-readability-redundant-string-init
-readability-suspicious-call-argument
-readability-uppercase-literal-suffix
-readability-use-concise-preprocessor-directives
-*-avoid-c-arrays
-*-explicit-constructor
-*-magic-numbers
Expand Down
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ RUN dpkg --add-architecture i386

# Install rocm key
RUN apt-get update && apt-get install -y software-properties-common gnupg2 --no-install-recommends curl && \
curl -sL http://repo.radeon.com/rocm/rocm.gpg.key | apt-key add -
mkdir -p /etc/apt/keyrings && \
curl -fsSL https://repo.radeon.com/rocm/rocm.gpg.key | gpg --dearmor -o /etc/apt/keyrings/rocm.gpg

# Add rocm repository
RUN sh -c 'echo deb [arch=amd64 trusted=yes] http://repo.radeon.com/rocm/apt/7.1.1/ jammy main > /etc/apt/sources.list.d/rocm.list'
RUN sh -c 'echo deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/7.2.2/ jammy main > /etc/apt/sources.list.d/rocm.list'

# From docs.amd.com for installing rocm. Needed to install properly
RUN sh -c "echo 'Package: *\nPin: release o=repo.radeon.com\nPin-priority: 600' > /etc/apt/preferences.d/rocm-pin-600"
Expand All @@ -23,7 +24,7 @@ RUN curl -sL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
add-apt-repository -y "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main"

# Install dependencies
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated \
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
apt-utils \
bison \
build-essential \
Expand Down Expand Up @@ -70,9 +71,9 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
rm -rf /var/lib/apt/lists/*

# Install pytorch
RUN pip3 install https://repo.radeon.com/rocm/manylinux/rocm-rel-7.1.1/torch-2.8.0%2Brocm7.1.1.lw.gitcba8b9d2-cp310-cp310-linux_x86_64.whl\
https://repo.radeon.com/rocm/manylinux/rocm-rel-7.1.1/torchvision-0.24.0%2Brocm7.1.1.gitb919bd0c-cp310-cp310-linux_x86_64.whl\
https://repo.radeon.com/rocm/manylinux/rocm-rel-7.1.1/triton-3.4.0%2Brocm7.1.1.git0cace8d2-cp310-cp310-linux_x86_64.whl
RUN pip3 install https://repo.radeon.com/rocm/manylinux/rocm-rel-7.2.2/torch-2.8.0%2Brocm7.2.2.lw.gitd733adb1-cp310-cp310-linux_x86_64.whl \
https://repo.radeon.com/rocm/manylinux/rocm-rel-7.2.2/torchvision-0.24.0%2Brocm7.2.2.gitb919bd0c-cp310-cp310-linux_x86_64.whl \
https://repo.radeon.com/rocm/manylinux/rocm-rel-7.2.2/triton-3.4.0%2Brocm7.2.2.git0cace8d2-cp310-cp310-linux_x86_64.whl

# add this for roctracer dependencies
RUN pip3 install CppHeaderParser
Expand Down
13 changes: 10 additions & 3 deletions hip-clang.docker
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,25 @@ ARG PREFIX=/usr/local
# Support multiarch
RUN dpkg --add-architecture i386

# Install rocm key
RUN apt-get update && apt-get install -y software-properties-common gnupg2 --no-install-recommends curl && \
mkdir -p /etc/apt/keyrings && \
curl -fsSL https://repo.radeon.com/rocm/rocm.gpg.key | gpg --dearmor -o /etc/apt/keyrings/rocm.gpg && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*


# Add rocm repository
RUN sh -c 'echo deb [arch=amd64 trusted=yes] http://repo.radeon.com/rocm/apt/7.1.1/ jammy main > /etc/apt/sources.list.d/rocm.list'
RUN sh -c 'echo deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/7.2.2/ jammy main > /etc/apt/sources.list.d/rocm.list'

# From docs.amd.com for installing rocm. Needed to install properly
RUN sh -c "echo 'Package: *\nPin: release o=repo.radeon.com\nPin-priority: 600' > /etc/apt/preferences.d/rocm-pin-600"

# Install dependencies
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated \
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
apt-utils \
build-essential \
cmake \
curl \
gdb \
git \
lcov \
Expand Down
Loading
Loading