Skip to content

test(rocprofiler-sdk): range replay week of 2026-11-02: P1 (stacked) - #14806

Draft
amd-vkale wants to merge 2 commits into
users/vkale/range-replay-tests-2026-10-26-with-cursor-fixes-helpfrom
users/vkale/range-replay-tests-2026-11-02-with-cursor-fixes-help
Draft

amd-vkale wants to merge 2 commits into
users/vkale/range-replay-tests-2026-10-26-with-cursor-fixes-helpfrom
users/vkale/range-replay-tests-2026-11-02-with-cursor-fixes-help

Conversation

@amd-vkale

Copy link
Copy Markdown
Contributor

Motivation

Weekly range-replay test addition for the week of 2026-11-02 from the range replay test plan: P1, the idle-gate overhead when range replay is configured but no range is ever opened.

Stacked on the week-of-2026-10-26 tip (C5, C6).

Technical Details

Extends tests/range-replay-perf/ with a nightly-only check (ROCPROFILER_BUILD_NIGHTLY_PERF_CTESTS):

  • Application mode RR_PERF_IDLE_GATE=1 times a burst of dispatches without calling begin/end.
  • Tool mode RR_PERF_EXPECT_IDLE=1 configures the range-replay service and aborts if any range closes, so the ratio cannot be read from an accidental replay window.
  • run_idle_overhead.py compares median wall time with the tool against the same workload with no tool (no LD_PRELOAD), and requires the ratio to stay at or under 2.0.

The process-wide interception gate is what this measures: with range replay configured, every submission still enters range_replay::submission_hook, which is a no-op when no range is open.

Roadmap coverage row and the missing-tests preamble now name P1.

Issue Tracking

Related: #10864 (range replay service).

Test Plan

  • clang-format 11 and cmake-format clean on the touched C++/CMake.
  • g++ -fsyntax-only on client.cpp and a HIP-host rewrite of main.cpp against in-tree headers.
  • python3 -m py_compile / import check on run_idle_overhead.py.
  • GPU / nightly perf job not runnable in this VM (no ROCm device, no full SDK build for the nightly ctest flag).

Test Result

Host syntax and format checks passed. GPU idle-gate timing was not run here.

Submission Checklist

Open in Web Open in Cursor 

cursoragent and others added 2 commits November 2, 2026 15:06
Add a nightly perf check that times dispatches with range replay
configured but no range opened, against the same workload with no
tool. The tool aborts if any range closes, so the ratio cannot be
read from an accidental replay window.

Co-authored-by: Vivek Kale <vivek.kale@amd.com>
The performance coverage row and the missing-tests preamble now name
the idle-gate overhead measurement.

Co-authored-by: Vivek Kale <vivek.kale@amd.com>

This branch has not been deployed

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

Labels

documentation Improvements or additions to documentation organization: ROCm project: rocprofiler-sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants