Skip to content

tests: add hip graph bubbles coverage#4320

Draft
powderluv wants to merge 2 commits intoROCm:developfrom
powderluv:users/powderluv/pr4276-hip-graph-bubbles-tests
Draft

tests: add hip graph bubbles coverage#4320
powderluv wants to merge 2 commits intoROCm:developfrom
powderluv:users/powderluv/pr4276-hip-graph-bubbles-tests

Conversation

@powderluv
Copy link

@powderluv powderluv commented Mar 21, 2026

Summary

  • bring the hip-graph-bubbles reproducer onto develop
  • parameterize hip-graph-bubbles so the same binary can cover multiple kernel and iteration sizes
  • add standalone hip-graph-bubbles integration tests without rocprofv3
  • add rocprofv3 HIP graph kernel-trace regression tests plus CSV validators

Validation

  • ctest --test-dir /data/anush/github/bubble/SWDEV-583475/build/rocprofiler-sdk-tests-pr4276-llvm --output-on-failure -j1 -R '^tests\\.integration\\.execute\\.hip-graph-bubbles-standalone'
  • ctest --test-dir /data/anush/github/bubble/SWDEV-583475/build/rocprofiler-sdk-tests-pr4276-llvm --output-on-failure -j1 -R '^tests\\.integration\\.execute\\.rocprofv3-test-hip-graph-bubbles'
  • python -m pytest /data/anush/github/bubble/SWDEV-583475/build/rocprofiler-sdk-tests-pr4276-llvm/rocprofv3/hip-graph-bubbles/validate.py -c /data/anush/github/bubble/SWDEV-583475/build/rocprofiler-sdk-tests-pr4276-llvm/rocprofv3/hip-graph-bubbles/pytest.ini --kernel-input /data/anush/github/bubble/SWDEV-583475/build/rocprofiler-sdk-tests-pr4276-llvm/rocprofv3/hip-graph-bubbles/hip-graph-bubbles-k256-i20/out_kernel_trace.csv --expected-dispatch-count 5120 --expected-kernels 256 --expected-iterations 20
  • python -m pytest /data/anush/github/bubble/SWDEV-583475/build/rocprofiler-sdk-tests-pr4276-llvm/rocprofv3/hip-graph-bubbles/validate.py -c /data/anush/github/bubble/SWDEV-583475/build/rocprofiler-sdk-tests-pr4276-llvm/rocprofv3/hip-graph-bubbles/pytest.ini --kernel-input /data/anush/github/bubble/SWDEV-583475/build/rocprofiler-sdk-tests-pr4276-llvm/rocprofv3/hip-graph-bubbles/hip-graph-bubbles-k256-i200/out_kernel_trace.csv --expected-dispatch-count 51200 --expected-kernels 256 --expected-iterations 200
  • python -m pytest /data/anush/github/bubble/SWDEV-583475/build/rocprofiler-sdk-tests-pr4276-llvm/rocprofv3/hip-graph-bubbles/validate.py -c /data/anush/github/bubble/SWDEV-583475/build/rocprofiler-sdk-tests-pr4276-llvm/rocprofv3/hip-graph-bubbles/pytest.ini --kernel-input /data/anush/github/bubble/SWDEV-583475/build/rocprofiler-sdk-tests-pr4276-llvm/rocprofv3/hip-graph-bubbles/hip-graph-bubbles-k2000-i200/out_kernel_trace.csv --expected-dispatch-count 400000 --expected-kernels 2000 --expected-iterations 200

@powderluv powderluv force-pushed the users/powderluv/pr4276-hip-graph-bubbles-tests branch from 3422a95 to c506c26 Compare March 21, 2026 23:25
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Mar 21, 2026
@powderluv powderluv changed the base branch from users/jrmadsen/optimize-hsa-write-interceptor to develop March 21, 2026 23:26
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.

2 participants