Skip to content

fix(hipdnn): give the IngestorGenerator ctest entry the hipcc HIP resolved - #14209

Merged
BrianHarrisonAMD merged 1 commit into
developfrom
users/bharriso/ingestor-pytest-hipcc
Oct 22, 2026
Merged

BrianHarrisonAMD merged 1 commit into
developfrom
users/bharriso/ingestor-pytest-hipcc

Conversation

@BrianHarrisonAMD

@BrianHarrisonAMD BrianHarrisonAMD commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes the hipdnn_ingestor_generator_pytest failure on the Linux hipDNN Superbuild lane. The ctest entry now passes HKP_HIPCC, so the multi-launch rocKE tests from #14158 find the compiler. Before this change they found it only when hipcc was on PATH, which is true on Windows but not on Linux.

JIRA ID : ALMIOPEN-2973

Related: #14158 added the test; #13385 made the suite a superbuild ctest entry. Each PR passed its own CI; the failure appears only with both merged.

Risk Assessment

Risk 1 of 5. The change only sets an environment variable on one test entry. That entry is registered only when HIPDNN_ENABLE_TOOLING_TESTS=ON, which only superbuild CI turns on.

ASIC Coverage

Host-only test wiring with no device code. Passing PR CI is sufficient.

Testing Summary

  • The four cases in test_verify_variant_sets_multi_launch_rocke.py reproduce the CI error without hipcc and pass with HKP_HIPCC set.
  • Configuring hipDNN with the tooling tests on writes HKP_HIPCC into the test's environment in the generated ctest file.

Testing Checklist

  • Reproduction - pytest tests/test_verify_variant_sets_multi_launch_rocke.py with PATH=/usr/bin:/bin - Status: 4 errors (hipcc not found), matching CI
  • Fix - same command with HKP_HIPCC=/opt/rocm/bin/hipcc - Status: Passed (4)
  • CMake wiring - configure projects/hipdnn with HIPDNN_ENABLE_KERNEL_INGESTOR=ON and HIPDNN_ENABLE_TOOLING_TESTS=ON - Status: HKP_HIPCC set on hipdnn_ingestor_generator_pytest
  • PR CI - HipDNN Linux and Windows Superbuild - Status: Pending

Technical Changes

  • The test entry takes the hipcc that find_package(hip) resolves, the same source the descriptor-packaging ctest entries use. The alternative, putting the ROCm bin directory on PATH in the Linux workflow, would change the environment of every Linux test.

…olved

test_verify_variant_sets_multi_launch_rocke.py (#14158) packs with the real
compiler and fails without hipcc. The suite became a ctest entry in #13385,
which was last tested before #14158 merged. The Windows superbuild lane puts
the ROCm bin directory on PATH, the Linux lane does not, so all four cases
error at setup there. Pass HKP_HIPCC from find_package(hip), as the
descriptor-packaging ctest entries already do.
@BrianHarrisonAMD
BrianHarrisonAMD requested a review from a team as a code owner October 22, 2026 17:30
@BrianHarrisonAMD BrianHarrisonAMD self-assigned this Oct 22, 2026

@adickin-amd adickin-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

@therock-pr-bot

therock-pr-bot Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
📝 PR Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass PR does not contain code files — Unit Test auto-passed
🔎 pre-commit ✅ Pass —
🚫 Draft PR 🔜 To Be Enabled —
🚩 Feature Flag 🔜 To Be Enabled —
📊 Code Coverage 🔜 To Be Enabled —
🤖 therock-pr-bot ✅ Pass —

🎉 All checks passed! This PR is ready for review.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

🙋 Wish to Override Policy?

@therock-pr-bot

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

@BrianHarrisonAMD
BrianHarrisonAMD merged commit 9288d8b into develop Oct 22, 2026
47 of 49 checks passed
@BrianHarrisonAMD
BrianHarrisonAMD deleted the users/bharriso/ingestor-pytest-hipcc branch October 22, 2026 18:26
@assistant-librarian

Copy link
Copy Markdown
Contributor

TheRock Submodule Bump Activity

Newest first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants