Skip to content

[7.1] Fix rocPD data collection#1439

Merged
JeniferC99 merged 11 commits intorelease/rocm-rel-7.1from
users/dgaliffi/7.1/rocpd-fixes
Nov 6, 2025
Merged

[7.1] Fix rocPD data collection#1439
JeniferC99 merged 11 commits intorelease/rocm-rel-7.1from
users/dgaliffi/7.1/rocpd-fixes

Conversation

@dgaliffiAMD
Copy link
Contributor

@dgaliffiAMD dgaliffiAMD commented Oct 17, 2025

Motivation

Fix OMPT events and GPU performance counters missing from ROCPD output

Technical Details

Test Plan

Test Result

Submission Checklist

@dgaliffiAMD dgaliffiAMD requested review from a team and jrmadsen as code owners October 17, 2025 02:24
@dgaliffiAMD dgaliffiAMD added release promotion Tagged pull request is a candidate for cherry picking to a release branch ROCm-7.1 labels Oct 17, 2025
@dgaliffiAMD
Copy link
Contributor Author

/AzurePipelines run rocm-ci-caller

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dgaliffiAMD dgaliffiAMD requested a review from a team as a code owner October 21, 2025 20:25
@github-actions github-actions bot added the github actions Pull requests that update GitHub Actions code label Oct 21, 2025
@dgaliffiAMD dgaliffiAMD force-pushed the users/dgaliffi/7.1/rocpd-fixes branch from 797d6c9 to f3176a8 Compare October 21, 2025 20:31
Copy link
Contributor

@prbasyal-amd prbasyal-amd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor editorial feedback

@dgaliffiAMD
Copy link
Contributor Author

/AzurePipelines run rocm-ci-caller

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dgaliffiAMD dgaliffiAMD force-pushed the users/dgaliffi/7.1/rocpd-fixes branch from a101e41 to 9c5ee1d Compare October 24, 2025 14:56
@dgaliffiAMD
Copy link
Contributor Author

/AzurePipelines run rocm-ci-caller

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@prbasyal-amd prbasyal-amd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changelog review feedback

@dgaliffiAMD dgaliffiAMD requested review from prbasyal-amd and removed request for a team October 28, 2025 19:04
Copy link
Contributor

@prbasyal-amd prbasyal-amd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dgaliffiAMD
Copy link
Contributor Author

/AzurePipelines run rocm-ci-caller

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

kcossett-amd and others added 4 commits November 5, 2025 11:10
* Add OMPT to ROCpd

* Use correct category

* Added wrapper functions for future control

* Formatting

* Fix naming

* Comment change

* Remove ompt_get_cb_args

* Switched to using region_sample for OMPT

* Remove relic function

* Remove get_use_rocpd that was used in this pr (one still remains)

* Rename ompt_get_args_string and reuse in tool_tracing_callback_stop

* Make lock init and destroy cb instant

* [Prototype] ROCPD Name fix

* [Prototype] ROCPD Name fix P1

* [Prototype] ROCPD Name fix P2

* ROCPD Name fix

* Var name changes

* Rewrite cb overwrite to single function

* [Important] Use parallel_data as key for parallel callback map

* Fix workflow failure

* Make cpp USE_ROCM consistent with hpp and use default constructor if USE_ROCM = 0

* Add missing ROCPROFILER_VERSION check

* Improve readability

* Make ompt storage maps thread local

* Part 1: Variable name fix, memory cleanup, and fixed asserts

* Part 2: Add comments

* Part 3: Add CI_THROW

* Part 4: Formatting

* Part 5: Move #include to cpp
* Add missing counter events handling for ROCPD

* Update projects/rocprofiler-systems/source/lib/rocprof-sys/library/rocprofiler-sdk/counters.cpp

* Update projects/rocprofiler-systems/source/lib/rocprof-sys/library/rocprofiler-sdk/counters.cpp

* Fixed formatting

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

---------

Signed-off-by: Marjan Antic <Marjan.Antic@amd.com>
Co-authored-by: David Galiffi <David.Galiffi@amd.com>
mradosav-amd and others added 7 commits November 5, 2025 11:10
* Add caching of category region

Fix vaapi traces

Remove region_with_name

* Applied suggestions from code review
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>
Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>
Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>
@dgaliffiAMD dgaliffiAMD force-pushed the users/dgaliffi/7.1/rocpd-fixes branch from 6c0d470 to f6cec6f Compare November 5, 2025 16:30
@JeniferC99 JeniferC99 merged commit 25e8b0f into release/rocm-rel-7.1 Nov 6, 2025
59 of 60 checks passed
@JeniferC99 JeniferC99 deleted the users/dgaliffi/7.1/rocpd-fixes branch November 6, 2025 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github actions Pull requests that update GitHub Actions code organization: ROCm project: rocprofiler-systems release promotion Tagged pull request is a candidate for cherry picking to a release branch ROCm-7.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants