Commit Graph

64354 Commits

Author SHA1 Message Date
Arandjelovic, Marko c33359ec62 SWDEV-532479 - Add tracking of hostcall memory allocations (#416)
* SWDEV-532479 - Add tracking of hostcall memory allocations

* SWDEV-532479 - Remove hostcall allocations if request is received

* SWDEV-532479 - Cleanup

* SWDEV-532479 - Naming fix

* SWDEV-532479 - Add new separator after each new function

[ROCm/clr commit: b58faa2f37]
2025-08-15 00:17:24 +02:00
Arandjelovic, Marko b58faa2f37 SWDEV-532479 - Add tracking of hostcall memory allocations (#416)
* SWDEV-532479 - Add tracking of hostcall memory allocations

* SWDEV-532479 - Remove hostcall allocations if request is received

* SWDEV-532479 - Cleanup

* SWDEV-532479 - Naming fix

* SWDEV-532479 - Add new separator after each new function
2025-08-15 00:17:24 +02:00
Manocha, Rahul 2b79ca9435 SWDEV-546328 - API definitions for hipMemsetD2D8/D16/D32 (#789)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/clr commit: 5f86622adc]
2025-08-14 14:47:28 -07:00
Manocha, Rahul 5f86622adc SWDEV-546328 - API definitions for hipMemsetD2D8/D16/D32 (#789)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-08-14 14:47:28 -07:00
Manocha, Rahul 31cf3d8487 SWDEV-546328 - hipMemsetD2D API declarations (#294)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/hip commit: fb19412da3]
2025-08-14 14:47:21 -07:00
Manocha, Rahul fb19412da3 SWDEV-546328 - hipMemsetD2D API declarations (#294)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-08-14 14:47:21 -07:00
systems-assistant[bot] a42c58ff25 Update Workflows for Ubuntu 24.04 (#111)
* Updated ubuntu noble workflow

* Actually use ROCm when supposed to; Added Python 3.13; Set ompt flag to ON

* Print compiler version outside of if logic

Co-authored-by: David Galiffi <David.Galiffi@amd.com>

* Move compiler version info

Co-authored-by: David Galiffi <David.Galiffi@amd.com>

* Updated `working-directory`

set to `projects/rocprofiler-systems`

* Update .github/workflows/rocprofiler-systems-ubuntu-noble.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Simplifying some of the build options

---------

Co-authored-by: Kian Cossettini <Kian.Cossettini@amd.com>
Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 16:31:56 -04:00
jamessiddeley-amd 2936a468aa [rocprof-compute] updated formatting workflow and docs (#348)
* updated formatting workflow and docs

* restored requirements.txt
2025-08-14 14:12:24 -04:00
Arandjelovic, Marko 208d124f54 SWDEV-547453 Release the kernel command if the operation returns an error (#807)
* SWDEV-547453 Release the kernel command if the operation returns an error

* SWDEV-547453 - Initialize parameters_ to default value

* SWDEV-547453 - Run clang-format

[ROCm/clr commit: a15957fee9]
2025-08-14 20:08:53 +02:00
Arandjelovic, Marko a15957fee9 SWDEV-547453 Release the kernel command if the operation returns an error (#807)
* SWDEV-547453 Release the kernel command if the operation returns an error

* SWDEV-547453 - Initialize parameters_ to default value

* SWDEV-547453 - Run clang-format
2025-08-14 20:08:53 +02:00
systems-assistant[bot] 3fd8af5974 rocr: SvmPrefetch to a particular node (#294)
Previously regardless of hsa_agent passed the prefetch is always driven
to node 0, now the agent of interest may be properly prefetched.

Signed-off-by: Sunday Clement <Sunday.Clement@amd.com>
Co-authored-by: Sunday Clement <Sunday.Clement@amd.com>
Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com>
2025-08-14 09:52:45 -04:00
Giovanni Lenzi Baraldi 75eb06dc18 Add realtime clock agent info to ATT records (#319)
* Add agent info to ATT records

* Fix names

* Update projects/aqlprofile/src/pm4/sqtt_builder.h
2025-08-14 13:35:00 +02:00
Stojiljkovic, Vladana 5775e9202b SWDEV-545489, SWDEV-545082 - Free marker when ipc event is recorded (#784)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/clr commit: da068a2492]
2025-08-14 11:08:53 +02:00
Stojiljkovic, Vladana da068a2492 SWDEV-545489, SWDEV-545082 - Free marker when ipc event is recorded (#784)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-08-14 11:08:53 +02:00
Assiouras, Ioannis 5283a114b2 SWDEV-549309 - Ensure that the kernel is issued to a stream that is ass… (#552)
* SWDEV-549309 - Ensure that the kernel is issued to a stream that is associated to the current device

* SWDEV-549309 - Ensure that the kernel is issued to a stream that is associated to the current device in atomic tests

* SWDEV-549309 - Added fix for Unit_hipMallocFromPoolAsync_Multidevice_Concurrent test

* SWDEV-549309 - Added fix for Unit_hipMemcpyPeerAsync_Positive_Default

* SWDEV-549309 - Added fix for Unit_hipStreamAttachMemAsync_Positive_AttachGlobal and Unit_hipGetProcAddress_GraphAPIs_AddMemsetMemcpyNodes

[ROCm/hip-tests commit: d21a95cea8]
2025-08-14 11:50:56 +05:30
Assiouras, Ioannis d21a95cea8 SWDEV-549309 - Ensure that the kernel is issued to a stream that is ass… (#552)
* SWDEV-549309 - Ensure that the kernel is issued to a stream that is associated to the current device

* SWDEV-549309 - Ensure that the kernel is issued to a stream that is associated to the current device in atomic tests

* SWDEV-549309 - Added fix for Unit_hipMallocFromPoolAsync_Multidevice_Concurrent test

* SWDEV-549309 - Added fix for Unit_hipMemcpyPeerAsync_Positive_Default

* SWDEV-549309 - Added fix for Unit_hipStreamAttachMemAsync_Positive_AttachGlobal and Unit_hipGetProcAddress_GraphAPIs_AddMemsetMemcpyNodes
2025-08-14 11:50:56 +05:30
Jonathan R. Madsen 9df2c1ec68 [rocprofiler-sdk] Fix formatting, linting, and CI workflows (#345)
* [rocprofiler-sdk] Fix formatting and lint workflows

- several formatting workflows were silently failing when listing files

* format metrics_test.h

* Improve formatting job robustness

* Source formatting workflow does not use container

* Use PyPi clang-format

* Format rocpd/source/csv.cpp source

* Fix rocprofiler-sdk CI workflow

- fix invalid context access

* Update run-ci.py

- fix ctest_update

* Update run-ci.py

- handle old checkout in ROCm/rocprofiler-sdk
2025-08-14 00:02:23 -05:00
GunaShekar, Ajay 70b7ec09c4 SWDEV-546179 - nvidia impl hipModuleGetFunctionCount (#25)
[ROCm/hipother commit: f183894732]
2025-08-13 20:28:35 -07:00
GunaShekar, Ajay f183894732 SWDEV-546179 - nvidia impl hipModuleGetFunctionCount (#25) 2025-08-13 20:28:35 -07:00
GunaShekar, Ajay 5d53edf5b7 SWDEV-546179 - hipModuleGetFunctionCount header (#289)
[ROCm/hip commit: 3b5a55b0f5]
2025-08-13 20:28:28 -07:00
GunaShekar, Ajay 3b5a55b0f5 SWDEV-546179 - hipModuleGetFunctionCount header (#289) 2025-08-13 20:28:28 -07:00
GunaShekar, Ajay 76328ecfde SWDEV-546179 - hipModuleGetFunctionCount AMD impl (#782)
* SWDEV-546179 - hipModuleGetFunctionCount AMD impl

* SWDEV-546179 - return invalid for count ptr

* SWDEV-546179 - hipModuleGetFunctionCount CHANGELOG.md update

[ROCm/clr commit: dfb46db2fb]
2025-08-13 20:28:12 -07:00
GunaShekar, Ajay dfb46db2fb SWDEV-546179 - hipModuleGetFunctionCount AMD impl (#782)
* SWDEV-546179 - hipModuleGetFunctionCount AMD impl

* SWDEV-546179 - return invalid for count ptr

* SWDEV-546179 - hipModuleGetFunctionCount CHANGELOG.md update
2025-08-13 20:28:12 -07:00
GunaShekar, Ajay 5c412edcd1 SWDEV-532576 - clr_logs_<pid>.txt default AMD_LOG_LEVEL_FILE (#480)
avoids app crash and uses default AMD_LOG_LEVEL_FILE if invalid name is passed

[ROCm/clr commit: 76637d7ebe]
2025-08-13 20:27:42 -07:00
GunaShekar, Ajay 76637d7ebe SWDEV-532576 - clr_logs_<pid>.txt default AMD_LOG_LEVEL_FILE (#480)
avoids app crash and uses default AMD_LOG_LEVEL_FILE if invalid name is passed
2025-08-13 20:27:42 -07:00
Xie, Pengda 0a7064606c SWDEV-520384 - Improve postLoad latency during program load (#758)
Change-Id: I3c5a9e148efbd845c8fa3e4b51d9653664e9c499

[ROCm/clr commit: 191f068193]
2025-08-13 19:36:06 -07:00
Xie, Pengda 191f068193 SWDEV-520384 - Improve postLoad latency during program load (#758)
Change-Id: I3c5a9e148efbd845c8fa3e4b51d9653664e9c499
2025-08-13 19:36:06 -07:00
Luca Bruni e28900793b Add Google logging initializer to OMPT start tool to prevent benign warning. (#337) 2025-08-13 18:39:49 -05:00
systems-assistant[bot] dd37d215fd Add documentation describing ROCPROFSYS_USE_RCCP (#110)
* Add documentation describing ROCPROFSYS_USE_RCCP

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

* Update wordlist

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

* Update CHANGELOGS.md

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-08-13 18:01:18 -04:00
Xie, Pengda 446f5740d8 SWDEV-547880 - Remove incorrect constMemSize calculation (#813)
[ROCm/clr commit: a028359ead]
2025-08-13 13:13:27 -07:00
Xie, Pengda a028359ead SWDEV-547880 - Remove incorrect constMemSize calculation (#813) 2025-08-13 13:13:27 -07:00
vedithal-amd 80b7e6baee Backport CHANGELOG change from rc4 cherry pick (#342)
* Backport from https://github.com/ROCm/rocprofiler-compute/pull/860
2025-08-13 14:49:53 -04:00
David Yat Sin 875fb40a03 Dayatsin/develop vmm pointer info (#305)
* rocr: hsa_amd_pointer_info to support VMEM pointers

Extend hsa_amd_pointer_info to support virtual memory addresses.

If hsa_amd_pointer_info is called on an address that is reserved but not
mapped to memory, then the pointer type will be reported as
HSA_EXT_POINTER_TYPE_RESERVED_ADDR.

If hsa_amd_pointer_info is called on an address that is mapped, then the
pointer type will be reported as HSA_EXT_POINTER_TYPE_HSA_VMEM

* rocrtst: VirtMemory_Basic_Test test for pointer info

Extend rocrtstFunc.VirtMemory_Basic_Test to test for
hsa_amd_pointer_info

* rocrtst: Add SVM Memory Test
2025-08-13 14:21:47 -04:00
Deshpande, Chinmay Diwakar 670a73e331 SWDEV-548352 - Remove logging limit in cltrace (#830)
* SWDEV-548352 - Add environment var to disable logging limit in cltrace

* SWDEV-548352 - Fix formatting

* SWDEV-548352 - Remove logging limit entirely

* SWDEV-548352 - Change logging limit to 6000

---------

Co-authored-by: Chinmay Deshpande <chdeshpa@amd.com>

[ROCm/clr commit: cc99d17ddd]
2025-08-13 11:18:56 -07:00
Deshpande, Chinmay Diwakar cc99d17ddd SWDEV-548352 - Remove logging limit in cltrace (#830)
* SWDEV-548352 - Add environment var to disable logging limit in cltrace

* SWDEV-548352 - Fix formatting

* SWDEV-548352 - Remove logging limit entirely

* SWDEV-548352 - Change logging limit to 6000

---------

Co-authored-by: Chinmay Deshpande <chdeshpa@amd.com>
2025-08-13 11:18:56 -07:00
Jason Bonnell fe52f0ed06 [rocprofiler-systems] Remove Ubuntu Focal and Release, add Ubuntu Noble CI Status Badge (#338)
* remove Ubuntu Focal and Release, and add Ubuntu Noble badges

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-08-13 14:18:10 -04:00
Dmitrii a2d3f4a0e0 rdc: Profiler - improve metrics path detection (#333)
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-13 12:33:17 -05:00
Sang, Tao 03338bc767 SWDEV-502579 Revert elf symbols patches (#861)
* Revert "Fix undefined symbol at runtime with newer versions of LLVM (#791)"

This reverts commit b617e8feb6.

* Revert "SWDEV-502579 - Remove duplicated symbols (#21)"

This reverts commit 2296162578.

Revert them because ELF symbols will be added into comgr header.

[ROCm/clr commit: 35c192f1af]
2025-08-13 10:46:39 -04:00
Sang, Tao 35c192f1af SWDEV-502579 Revert elf symbols patches (#861)
* Revert "Fix undefined symbol at runtime with newer versions of LLVM (#791)"

This reverts commit 2da49283c8.

* Revert "SWDEV-502579 - Remove duplicated symbols (#21)"

This reverts commit b15c1657b8.

Revert them because ELF symbols will be added into comgr header.
2025-08-13 10:46:39 -04:00
mat3ix c41050d01f rocr: SDMA improvements (#326)
- When SDMA queue gets full when copying 2GB or more it blocks async
copy api
- Improve/format logging
2025-08-13 10:25:29 -04:00
xuchen-amd 483315fd0a Fix amd_smi lookup logic to account for amd-smi>=26.0.0 (#320) 2025-08-13 10:21:45 -04:00
Ammar ELWazir 28977999ad Switching from RHEL 8 to RHEL 9 (#318)
* Switching from RHEL 8 to RHEL 9

* Switching from RHEL 8 to RHEL 9

* Switching from RHEL 8 to RHEL 9

* Fixing ROCPD for older Python Versions

* Formatting and checking if SQRT is available or not

* Formatting and checking if SQRT is available or not

* Formatting and checking if SQRT is available or not

* Formatting and checking if SQRT is available or not

* Formatting and checking if SQRT is available or not

* Update projects/rocprofiler-sdk/source/lib/python/rocpd/summary.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update summary.py

* Update summary.py

* Update projects/rocprofiler-sdk/source/lib/python/rocpd/summary.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update projects/rocprofiler-sdk/source/lib/python/rocpd/summary.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update summary.py

* Update summary.py

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-13 08:53:38 -05:00
David Galiffi 311e279596 Add "branch" requirement to "push" workflows. (#329)
* Add "branch" requirement to "push" workflows.

* Deleted obsolete workflow files

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

* Fix path to the `check-copyright.sh` in `pre-commit-config.yaml`

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-08-13 09:42:49 -04:00
Stojiljkovic, Vladana 33085dd232 SWDEV-533220 - Release marker when HostQueue is destroyed (#460)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>

[ROCm/clr commit: 14760c6eba]
2025-08-13 15:15:31 +02:00
Stojiljkovic, Vladana 14760c6eba SWDEV-533220 - Release marker when HostQueue is destroyed (#460)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-08-13 15:15:31 +02:00
systems-assistant[bot] d0a18e0eb9 [cmake] - Update search for LibElf (#256)
There is an issue with TheRock build currently. They have
a local source build of elfutils they want to use instead
of a system package. Currently, rocr uses it's own
FindLibElf.cmake module and this is inhibiting the build
from finding the libelf config built by TheRock.

Now we will first search in config mode and fallback to
module mode if nothing is found.

Authored-by: Ethan Stewart <ethan.stewart@amd.com>
Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com>
2025-08-13 09:13:45 -04:00
systems-assistant[bot] 76fd78d394 Merge commit '499e2ee044e15ebdf2c5cae1ee3ea282736ed66a' into develop 2025-08-13 12:09:50 +00:00
Stojiljkovic, Vladana aec217fec0 SWDEV-537855 - Free created event if hipIpcOpenEventHandle fails (#680)
[ROCm/clr commit: 499e2ee044]
2025-08-13 11:36:13 +02:00
Stojiljkovic, Vladana 499e2ee044 SWDEV-537855 - Free created event if hipIpcOpenEventHandle fails (#680) 2025-08-13 11:36:13 +02:00
Jiang, Julia 1bd8b35644 525231- Adding more info in changelog for 7.0 in staging (#527)
525231- Update changelog for 7.0 in staging

[ROCm/clr commit: eb438107a7]
2025-08-13 14:47:17 +05:30