Skip to content

[rocprofiler-sdk][aqlprofile] Migrate aqlprofile v2 to rocprofiler sdk#4272

Draft
MythreyaK wants to merge 18 commits intodevelopfrom
users/mkuriche/aqlprofile-migrate
Draft

[rocprofiler-sdk][aqlprofile] Migrate aqlprofile v2 to rocprofiler sdk#4272
MythreyaK wants to merge 18 commits intodevelopfrom
users/mkuriche/aqlprofile-migrate

Conversation

@MythreyaK
Copy link
Contributor

Motivation

Opening new PR for #2706 after a rebase.

Technical Details

JIRA ID

Test Plan

Test Result

Submission Checklist

jrmadsen added 18 commits March 20, 2026 20:49
- Copies files over, reorganized, and updated build system
- invoke HSA calls through dispatch table
- remove hsa_rsrc_factory unit tests (unnecessary)
- fix miscellaneous warnings (NULL -> nullptr, -Wreorder, etc.)
- fix miscellaneous header includes
- remove --exclude-header-filter argument from rocprofiler_linting.cmake
- update rocprofiler_add_unit_test
  - LABELS is multi-arg
  - properly handle disabling
- build GoogleMock
- Fix LD_LIBRARY_PATH for various tests
- add hsa_rsrc_factory_init to registration
- prevent segfault in rocprofiler::aql::get_query_info and rocprofiler::aql::get_block_counters
- ignore not-visible ROCr devices in aql_helpers unit tests
- add rocprofiler::hsa::dlsym_table to construct a dispatch table from dlsym'ing the functions
- missing includes for size_t
- handling HSA_AMD_MEMORY_POOL_EXECUTABLE_FLAG when ROCm < 6.3
- prefer ROCP_FATAL_IF instead of assert
- fix misc warnings related to implicit conversions
- Mi100Factory does not do certain checks if it is used as a base class.
- implementation suffered from static initialization fiasco
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