76333 Commity

Autor SHA1 Wiadomość Data
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
Jiang, Julia eb438107a7 525231- Adding more info in changelog for 7.0 in staging (#527)
525231- Update changelog for 7.0 in staging
2025-08-13 14:47:17 +05:30
Assiouras, Ioannis 59b7dba6f0 SWDEV-549247 - Fix stream checks for hipModuleLaunchCooperativeKernel… (#858)
SWDEV-549247 - Fix stream validation checks in hipModuleLaunchCooperativeKernelMultiDevice

In CooperativeKernelMultiDevice mode, the stream's device
should be validated against the grid's assigned device
rather than the current device.

[ROCm/clr commit: 2aa2212d93]
2025-08-13 07:47:49 +01:00
Assiouras, Ioannis 2aa2212d93 SWDEV-549247 - Fix stream checks for hipModuleLaunchCooperativeKernel… (#858)
SWDEV-549247 - Fix stream validation checks in hipModuleLaunchCooperativeKernelMultiDevice

In CooperativeKernelMultiDevice mode, the stream's device
should be validated against the grid's assigned device
rather than the current device.
2025-08-13 07:47:49 +01:00
Joseph Macaranas 4b6a42022c [GitHub Actions] Add ROCR auto-label (#328) 2025-08-12 21:52:52 -04:00
Joseph Macaranas b36c1ab6ab [GitHub Actions] Handle subtrees with overlapping names (#327) 2025-08-12 21:38:51 -04:00
David Yat Sin 6f09eb3418 rocminfo: unset executable flag (#314)
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2025-08-12 21:13:45 -04:00
David Yat Sin 080fa938c6 rocr: Update rocr-runtime github metadata (#275)
Remove old .github directory.
Update main CODEOWNERS file for project/rocr-runtime.
2025-08-12 21:11:49 -04:00
systems-assistant[bot] fff63d428e Merge commit '2305f8ae565389cfc348a747c467c004909d7a90' into develop 2025-08-13 00:24:58 +00:00
Andryeyev, German 6df9a49437 SWDEV-465041 - Add support for user events with DD (#321)
* SWDEV-465041 - Add support for user events with DD

User events can be replaced with HSA signals. Add the interface
to allocate HSA signal for user events and update the status on
CL_COMPLETE.
Force pinned path with DD to avoid blocking calls. Pinned memory
can be released only when the command is complete.
Simplify device enqueue path to use generic kernel arg buffer and
signals

* Fix notifyCmdQueue() logic for OCL

* Avoid blocking calls in OCL with DD

* Add event  destruciton in a case of the failure.

[ROCm/clr commit: 2305f8ae56]
2025-08-12 19:04:36 -04:00
Andryeyev, German 2305f8ae56 SWDEV-465041 - Add support for user events with DD (#321)
* SWDEV-465041 - Add support for user events with DD

User events can be replaced with HSA signals. Add the interface
to allocate HSA signal for user events and update the status on
CL_COMPLETE.
Force pinned path with DD to avoid blocking calls. Pinned memory
can be released only when the command is complete.
Simplify device enqueue path to use generic kernel arg buffer and
signals

* Fix notifyCmdQueue() logic for OCL

* Avoid blocking calls in OCL with DD

* Add event  destruciton in a case of the failure.
2025-08-12 19:04:36 -04:00
Joseph Macaranas 0ba726f8fc [GitHub Actions] Fix label typo (#322) 2025-08-12 17:56:50 -04:00
David Yat Sin a80c19285e rocminfo: Fix comparison to None (#313)
from PEP8 (https://peps.python.org/pep-0008/#programming-recommendations):

> Comparisons to singletons like None should always be done with
is or is not, never the equality operators.

Author: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2025-08-12 17:14:49 -04:00
Assiouras, Ioannis a7ed228997 SWDEV-543340 - Remove shared memory objects after IPC event cleanup (#745)
This change ensures that shared memory objects (e.g., files in /dev/shm)
are unlinked once all related IPC events have been destroyed.

[ROCm/clr commit: dc34af61d7]
2025-08-12 21:23:09 +01:00
Assiouras, Ioannis dc34af61d7 SWDEV-543340 - Remove shared memory objects after IPC event cleanup (#745)
This change ensures that shared memory objects (e.g., files in /dev/shm)
are unlinked once all related IPC events have been destroyed.
2025-08-12 21:23:09 +01:00
vedithal-amd 63f31859e4 Fix instruction cache metrics (#276)
* Fix IL1 Latency metric

* Add SQC_ICACHE_INFLIGHT_LEVEL counter and corresponding accumulation
  counter to counter definitions

* Add missing coll_level

* Fix descriptions and tests
2025-08-12 14:03:11 -04:00
Milan Radosavljevic b793b183a4 Update rocprofiler-systems github workflows (#193)
* Fix rocprofiler-systems CI

* Fix 'Documentation' jobs

* Python Linting fix

* Add python 3.11, 3.12

* Fix python linting

* Re-add ubuntu-noble workflow

* Remove old workflows from project folder

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

* Update rocprofiler-systems workflows

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

* Retire ubuntu-focal workflow

* Fix path to validation file in `build-docker.sh`

* Update .github/workflows/rocprofiler-systems-python.yml

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

* Revert dockerfile

* Retire rocprofiler-systems-ubuntu-focal workflow

* Include .github directory in cpack workflow sparse-checkout step

* Revert git from ubuntu ci image

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Signed-off-by: Jason Bonnell <Jason.Bonnell@amd.com>
Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-08-12 19:42:01 +02:00
Chaudhary, Jatin Jaikishan 442468de96 SWDEV-545100 - rename the template variable (#798)
[ROCm/clr commit: 42730527c6]
2025-08-12 21:58:55 +05:30
Chaudhary, Jatin Jaikishan 42730527c6 SWDEV-545100 - rename the template variable (#798) 2025-08-12 21:58:55 +05:30
Chaudhary, Jatin Jaikishan 430f901b31 SWDEV-539481 - Add _rn variants of fp16 APIs (#582)
* Add _rn variants of fp16 APIs
* cover bf16 as well

[ROCm/clr commit: 4d5fe2206d]
2025-08-12 21:58:38 +05:30
Chaudhary, Jatin Jaikishan 4d5fe2206d SWDEV-539481 - Add _rn variants of fp16 APIs (#582)
* Add _rn variants of fp16 APIs
* cover bf16 as well
2025-08-12 21:58:38 +05:30
Gopesh Bhardwaj efb2aff8cf fix(ci): configure git safe directory before sphinx build (#309)
* fix(ci): configure git safe directory before sphinx build

* using  instead hardcoded path
2025-08-12 21:33:51 +05:30
xuchen-amd 9a4983feac Fix fstring formatting. (#315) 2025-08-12 11:54:58 -04:00
Giovanni Lenzi Baraldi cb77f5af5c Adding new trace decoder record types and new ATT parameters (#195)
* Adding new trace decoder record types and new ATT parameters

* Add compatiblity with decoder 0.1.2

* Added RT

* Format

* Add logging to sdata values

* Review comment

* Review comments

* Update projects/rocprofiler-sdk/source/include/rocprofiler-sdk/experimental/thread-trace/trace_decoder_types.h
2025-08-12 14:31:12 +02:00
systems-assistant[bot] 83971da05e Merge commit 'ea2d79c3e260d5728ecbc843f5367a12e9c301c4' into develop 2025-08-12 12:09:54 +00:00
systems-assistant[bot] 576faeac43 Merge commit 'c60888b0cd135739477e62d400a61138333f1b08' into develop 2025-08-12 12:09:52 +00:00
Dittakavi, Satyanvesh 526b46e9ba SWDEV-545947 - Add Nvidia mapping for hipSetValidDevices (#29)
[ROCm/hipother commit: 98ef2f64b5]
2025-08-12 16:30:30 +05:30
Dittakavi, Satyanvesh 98ef2f64b5 SWDEV-545947 - Add Nvidia mapping for hipSetValidDevices (#29) 2025-08-12 16:30:30 +05:30
Dittakavi, Satyanvesh 04c935d29c SWDEV-545947 - Add Implementation for hipSetValidDevices (#805)
[ROCm/clr commit: c60888b0cd]
2025-08-12 16:29:09 +05:30
Dittakavi, Satyanvesh c60888b0cd SWDEV-545947 - Add Implementation for hipSetValidDevices (#805) 2025-08-12 16:29:09 +05:30
Dittakavi, Satyanvesh 263a0bc57d SWDEV-540272 - copy params 3D struct should be populated even for memcpy 1D graph node (#702)
SWDEV-540272 - copy params 3D struct should be populated even for 1D graph node

[ROCm/clr commit: b50d70564e]
2025-08-12 16:21:53 +05:30
Dittakavi, Satyanvesh b50d70564e SWDEV-540272 - copy params 3D struct should be populated even for memcpy 1D graph node (#702)
SWDEV-540272 - copy params 3D struct should be populated even for 1D graph node
2025-08-12 16:21:53 +05:30
Chaudhary, Jatin Jaikishan 76f4ab5a79 SWDEV-540645 - use utility header for std::forward (#324)
[ROCm/hip commit: ea2d79c3e2]
2025-08-12 15:15:45 +05:30