Skip to content

merge aomp-dev into amd-staging#2336

Closed
z1-cciauto wants to merge 6 commits into
amd-stagingfrom
upstream_merge_202607101223
Closed

merge aomp-dev into amd-staging#2336
z1-cciauto wants to merge 6 commits into
amd-stagingfrom
upstream_merge_202607101223

Conversation

@z1-cciauto

Copy link
Copy Markdown
Collaborator

No description provided.

lfmeadow and others added 6 commits June 30, 2026 10:31
…symbols

Strengthen both device-coverage drain tests so a pass actually proves the HSA
drain collected device data (the previous checks only confirmed a symbol was
present, and the per-test stdout is discarded by check_smoke_dev.sh).

HipDevCov now:
 * requires the HSA drain's uniquely-named profraw (*.hsa<N>.*.profraw),
 * asserts mod_kernel (hipModuleLoad'd, no host shadow) AND host_kernel are
   present with nonzero function counts.

OmpDevCov now asserts the device function classify has nonzero counts on BOTH
branches of its data-dependent if/else (real device PGO data), in addition to
the device profraw and the -fprofile-use round trip.

Both dump the merged profile to devcov-profile.txt (archived with results) and
leave a DEVCOV-SKIPPED.txt marker when a toolchain genuinely lacks the device
profile runtime, so a skip is visible rather than a silent pass. Replaces the
FileCheck symbol-presence checks (check.txt removed).

Co-authored-by: Cursor <cursoragent@cursor.com>
[smoke-dev] HipDevCov/OmpDevCov: assert real device counts, not just symbols
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.

6 participants