Skip to content

[MIOpen] ROCM-24413 Fix CK dynamic-lib applicability tests#7354

Merged
BrianHarrisonAMD merged 3 commits into
developfrom
users/bharriso/miopen-ck-dynamic-applicability-tests
May 13, 2026
Merged

[MIOpen] ROCM-24413 Fix CK dynamic-lib applicability tests#7354
BrianHarrisonAMD merged 3 commits into
developfrom
users/bharriso/miopen-ck-dynamic-applicability-tests

Conversation

@BrianHarrisonAMD
Copy link
Copy Markdown
Contributor

@BrianHarrisonAMD BrianHarrisonAMD commented May 12, 2026

Summary

Updates MIOpen CK dynamic-library applicability tests so runtime-backed CK checks only run against the current real HIP device. If the CK device library for the current GPU is missing, the test skips instead of failing.

Risk Assessment

Low. This is limited to MIOpen gtest harness and test expectation logic. No solver implementation, ABI, API, schema, or build-system behavior changes.

Testing Summary

  • Local gfx90a validation covered present-current-device, multiarch plugin layout, missing-current-device skip behavior, and CK loader path behavior.
  • TheRock Linux Multi-Arch validation built the MIOpen artifacts for gfx90a,gfx94X,gfx950; the overall workflow failed in gfx950 container initialization, not in MIOpen tests.
  • Focused gfx942 artifact validation covered full CK plugin set, gfx942-only plugin set, missing-gfx942 plugin set, and empty CK plugin directory.

Testing Checklist

  • Local focused MIOpen build for the affected CK dynamic-library gtests - Status: Passed
  • Local focused CK applicability tests with current-device CK library present - ASICs: gfx90a - Status: Passed
  • Local multiarch-style plugin layout with current and non-current CK libraries present - ASICs: gfx90a - Status: Passed
  • Local missing-current-device plugin layout skipped instead of failing with only a non-current CK library present - ASICs: gfx90a - Status: Passed
  • CK loader path check with MIOPEN_CK_LIB_PATH unset - Status: Passed
  • TheRock Linux MIOpen artifact build - Scope: gfx90a,gfx94X,gfx950, test:miopen - Status: Passed for required MIOpen artifacts - Link: TheRock run
  • TheRock MIOpen artifact validation, full CK plugin set - miopen_gtest --gtest_filter=<focused CK grouped-conv applicability suites> - ASICs: gfx942 - Status: Passed, 12/12 passed
  • TheRock MIOpen artifact validation, gfx942-only CK plugin set - miopen_gtest --gtest_filter=<focused CK grouped-conv applicability suites> - ASICs: gfx942 - Status: Passed, 12/12 passed
  • TheRock MIOpen artifact validation, missing-gfx942 CK plugin set - miopen_gtest --gtest_filter=<focused CK grouped-conv applicability suites> - ASICs: gfx942 - Status: Passed, 10 skipped and 2 passed
  • TheRock MIOpen artifact validation, empty CK plugin directory - miopen_gtest --gtest_filter=<focused CK grouped-conv applicability suites> - ASICs: gfx942 - Status: Passed, 10 skipped and 2 passed

Technical Changes

  • Adds shared skip handling for CK dynamic-library tests when the current device library is unavailable.
  • Restricts CK dynamic-library dev-applicability checks to mock device entries matching the current device base architecture.
  • Keeps the existing all-known-device mock sweep for non-CK solvers.

Comment thread projects/miopen/test/gtest/unit_conv_solver.cpp Outdated
Comment thread projects/miopen/test/gtest/unit_conv_solver.cpp Outdated
Comment thread projects/miopen/test/gtest/unit_conv_solver.cpp Outdated
Comment thread projects/miopen/test/gtest/unit_conv_solver.cpp
Comment thread projects/miopen/test/gtest/unit_conv_solver.cpp Outdated
@BrianHarrisonAMD BrianHarrisonAMD force-pushed the users/bharriso/miopen-ck-dynamic-applicability-tests branch from 5e37a21 to 65a6a2a Compare May 12, 2026 18:20
@BrianHarrisonAMD BrianHarrisonAMD force-pushed the users/bharriso/miopen-ck-dynamic-applicability-tests branch from 65a6a2a to 7376700 Compare May 12, 2026 18:44
Comment thread projects/miopen/test/gtest/unit_conv_solver.cpp Outdated
@BrianHarrisonAMD BrianHarrisonAMD force-pushed the users/bharriso/miopen-ck-dynamic-applicability-tests branch from 7376700 to 2d5826a Compare May 12, 2026 18:56
@BrianHarrisonAMD BrianHarrisonAMD marked this pull request as ready for review May 12, 2026 19:10
@BrianHarrisonAMD BrianHarrisonAMD requested a review from a team as a code owner May 12, 2026 19:10
@BrianHarrisonAMD
Copy link
Copy Markdown
Contributor Author

Okay confirmed this fixes both observed issues.

@BrianHarrisonAMD BrianHarrisonAMD merged commit 4e8e23a into develop May 13, 2026
37 checks passed
@BrianHarrisonAMD BrianHarrisonAMD deleted the users/bharriso/miopen-ck-dynamic-applicability-tests branch May 13, 2026 13:33
aledudek pushed a commit that referenced this pull request May 20, 2026
## Summary

Updates MIOpen CK dynamic-library applicability tests so runtime-backed
CK checks only run against the current real HIP device. If the CK device
library for the current GPU is missing, the test skips instead of
failing.

## Risk Assessment

Low. This is limited to MIOpen gtest harness and test expectation logic.
No solver implementation, ABI, API, schema, or build-system behavior
changes.

## Testing Summary

- Local gfx90a validation covered present-current-device, multiarch
plugin layout, missing-current-device skip behavior, and CK loader path
behavior.
- TheRock Linux Multi-Arch validation built the MIOpen artifacts for
`gfx90a,gfx94X,gfx950`; the overall workflow failed in gfx950 container
initialization, not in MIOpen tests.
- Focused gfx942 artifact validation covered full CK plugin set,
gfx942-only plugin set, missing-gfx942 plugin set, and empty CK plugin
directory.

## Testing Checklist

- [x] Local focused MIOpen build for the affected CK dynamic-library
gtests - Status: Passed
- [x] Local focused CK applicability tests with current-device CK
library present - ASICs: gfx90a - Status: Passed
- [x] Local multiarch-style plugin layout with current and non-current
CK libraries present - ASICs: gfx90a - Status: Passed
- [x] Local missing-current-device plugin layout skipped instead of
failing with only a non-current CK library present - ASICs: gfx90a -
Status: Passed
- [x] CK loader path check with `MIOPEN_CK_LIB_PATH` unset - Status:
Passed
- [x] TheRock Linux MIOpen artifact build - Scope:
`gfx90a,gfx94X,gfx950`, `test:miopen` - Status: Passed for required
MIOpen artifacts - Link: [TheRock
run](https://github.com/ROCm/TheRock/actions/runs/25766884609)
- [x] TheRock MIOpen artifact validation, full CK plugin set -
`miopen_gtest --gtest_filter=<focused CK grouped-conv applicability
suites>` - ASICs: gfx942 - Status: Passed, 12/12 passed
- [x] TheRock MIOpen artifact validation, gfx942-only CK plugin set -
`miopen_gtest --gtest_filter=<focused CK grouped-conv applicability
suites>` - ASICs: gfx942 - Status: Passed, 12/12 passed
- [x] TheRock MIOpen artifact validation, missing-gfx942 CK plugin set -
`miopen_gtest --gtest_filter=<focused CK grouped-conv applicability
suites>` - ASICs: gfx942 - Status: Passed, 10 skipped and 2 passed
- [x] TheRock MIOpen artifact validation, empty CK plugin directory -
`miopen_gtest --gtest_filter=<focused CK grouped-conv applicability
suites>` - ASICs: gfx942 - Status: Passed, 10 skipped and 2 passed

## Technical Changes

- Adds shared skip handling for CK dynamic-library tests when the
current device library is unavailable.
- Restricts CK dynamic-library dev-applicability checks to mock device
entries matching the current device base architecture.
- Keeps the existing all-known-device mock sweep for non-CK solvers.
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