Skip to content

Prepare v0.5.2 CLI boundaries - #44

Merged
itdevwu merged 3 commits into
masterfrom
fix/v0.5.2-cli-boundaries
Nov 9, 2026
Merged

itdevwu merged 3 commits into
masterfrom
fix/v0.5.2-cli-boundaries

Conversation

@itdevwu

@itdevwu itdevwu commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Move CUDA selector-to-filter lowering into collector::cupti (cupti/filter.rs) and GPU aggregate merging, selector hints, and result construction into core::gpu_aggregate, mirroring syscall_aggregate::analyze. The CLI keeps only collector lifecycle checks and type mapping (main.rs 4327 → 3962 lines).
  • A kernel aggregate group without a name or with a zero count now returns an explicit error instead of panicking or emitting a NaN mean.
  • Correct the stale discover help text to match its implemented behavior.
  • Update the architecture workspace table in place.
  • Prepare version 0.5.2.

Verification

  • just fmt-check, just lint, just test (153 Rust tests, 8 new), just test-install, just test-skill-install
  • just test-cupti-live, just test-multisource-live, just test-nvtx-live, just benchmark-aggregate on RTX 3060
  • Full test-release-live with PYTORCH_ENV is running locally before tagging.

Selector-to-Agent filter lowering now lives in collector::cupti and
aggregate merging, selector hints, and result construction live in
core::gpu_aggregate, mirroring syscall_aggregate::analyze. The CLI keeps
only collector lifecycle checks and type mapping.

A kernel aggregate without a name or a zero-count group now returns an
explicit error instead of panicking or emitting a NaN mean.

Also correct the stale discover help text.
Rust 1.99 clippy adds `assert_is_empty`, which rejects
`assert!(x.is_empty())` under `-D warnings`. Rewrite the affected test
assertions as `assert_eq!`/`assert_ne!` so failures print the offending
value; CLI stderr checks now print the decoded text.
@itdevwu
itdevwu merged commit 50e3d1b into master Nov 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant