Commit Graph

68454 Commits

Author SHA1 Message Date
Saeed, Oosman 3779562abb [SWDEV-546239] amd-smi ras cper - no data created (#614)
* Update amd-smi doc with examples of CPER and AFID API usage.

---------

Signed-off-by: Oosman Saeed <oossaeed@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>

[ROCm/amdsmi commit: fd5e37a07e]
2025-08-20 11:27:41 -05:00
cfallows-amd 8bc0063f2e Update rocprofiler-compute workflows and CODEOWNERS (#221)
Update super repo codeowners- add Pratik to any doc changes for rocprofiler-compute.
Remove rocprofiler-compute-mi-rhel9.yml from super repo workflow folder- unused and out of date, coverage is already in RHEL8 workflow.
Remove CODEOWNERS, dependabot.yml, and all workflows from the projects/rocprofiler-compute/ project- confirmed these do not do anything anymore after being copied into super repo's main ./github/ section.

Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>

* Add a branch filter for push events

* Update .github/CODEOWNERS

Use reviewers team instead of using the individual profiles.

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

Update owners section for rocprofiler-compute codeowners, fix spacing

Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>

---------

Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>
Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-08-20 11:17:25 -04:00
Danylo Lytovchenko f7338717ae SWDEV-470698 - fix formatting, add format check workflow (#657) 2025-08-20 19:58:06 +05:30
jamessiddeley-amd 5840940caa [rocprof-compute] Generalize Roofline (#325)
* per kernel analysis Roofline

* added per-kernel eval_metric calculation with display

* fixed typo

* updated tty.py show_all()

* formatting

* fixed ctest failures and updated equations

* formatting

* updated metric descriptoins

* review tweaks

* update docs

* added roofline gui analysis

* updated GUI docs

* updated print statement

* comment tweaks and ran ruff formatting
2025-08-20 09:58:08 -04:00
Jason Bonnell 71b725f307 [rocprofiler-systems] Update containers workflow to not push on PR (#634)
* Change PUSH_COMMAND logic for debugging

* Change to only push on non-PR events

* Add separate steps for PR and non-PR events

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

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

* Remove $ {{}} from if condition on steps

* add github repository check for workflow
2025-08-20 09:41:25 -04:00
Jason Bonnell 40df8b2392 [rocprofiler-systems] Add working-directory to gersemi, clang-format, and check-includes steps (#639)
* Add working-directory to gersemi, clang-format, and check-includes steps

* Add workflow file to paths on PR for rocprofiler-systems-formatting.yml
2025-08-20 09:39:04 -04:00
Rahul Manocha f4158ed3b7 SWDEV-546295 - fix param conversions for hipMemcpy3DBatchAsync (#641)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-08-19 20:30:03 -07:00
systems-assistant[bot] 1f86010ca2 ROCpd support [Part 2] (#109)
* Rocpd part 2, caching

* Fix shadowed variables

* backward compatibility

* Fixed designated initializers

* Fix timemory include

* Remove benchmark & Fix build issues for rhel

* Add missing bracket

* Fix shadowing and pedantic

* Fix pedantic pt2

* Fix duplicated SDK calls

* Add decay in get_size_impl

* Rename sample cache to trace cache

* Add cache storage supported types

* Resolving track naming in sampling module

* fix sampling of flushing thread

* fix sampling of flushing thread 2

* throw exception upon store while buffer storage is not running

* Prevent fork crashing

* Fix rebase issue

* Applied suggestions from code review

* Change flushing thread to use PTL

* Fix agent creation order

* Fix stream id ci throw

* Remove force setup of rocprofiler-sdk

* Code cleanup

* Change initialization for agent

* Add missing namespace

* Fix the mismatch within the tool_agent->device_id

* Switch from using handle to use agent type index

* Fix pmc info comparator in metadata registry

---------

Co-authored-by: Aleksandar <aleksandar.djordjevic@amd.com>
Co-authored-by: Milan Radosavljevic <milan.radosavljevic@amd.com>
Co-authored-by: Marjan Antic <marantic@amd.com>
2025-08-19 22:01:04 -04:00
Pham, Gabriel e6af86f44a Updated Changelog for updated temperature metrics API (#616)
Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com>
2025-08-19 19:02:50 -05:00
Pham, Gabriel d32bae0e8f Updated Changelog for updated temperature metrics API (#616)
Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com>

[ROCm/amdsmi commit: e6af86f44a]
2025-08-19 19:02:50 -05:00
AL Musaffar, Yazen e84e364b35 [SWDEV-549789] Removed incorrect CPER AFID references (#619)
* Fix for afid help
* Update amdsmi_parser.py

Signed-off-by: AL Musaffar, Yazen <Yazen.ALMusaffar@amd.com>
2025-08-19 18:55:33 -05:00
AL Musaffar, Yazen 678972b8ec [SWDEV-549789] Removed incorrect CPER AFID references (#619)
* Fix for afid help
* Update amdsmi_parser.py

Signed-off-by: AL Musaffar, Yazen <Yazen.ALMusaffar@amd.com>

[ROCm/amdsmi commit: e84e364b35]
2025-08-19 18:55:33 -05:00
Pryor, Adam b62900c372 [SWDEV-544620] Add kfd fallback for GPU Processes (#631)
Signed-off-by: adapryor <Adam.pryor@amd.com>
2025-08-19 18:53:16 -05:00
Pryor, Adam 96a28009fc [SWDEV-544620] Add kfd fallback for GPU Processes (#631)
Signed-off-by: adapryor <Adam.pryor@amd.com>

[ROCm/amdsmi commit: b62900c372]
2025-08-19 18:53:16 -05:00
Pham, Gabriel c0ea186d47 [SWDEV-446394] Updated error message for setting clock limit (#633)
Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com>
2025-08-19 18:51:49 -05:00
Pham, Gabriel 729b7beddf [SWDEV-446394] Updated error message for setting clock limit (#633)
Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com>

[ROCm/amdsmi commit: c0ea186d47]
2025-08-19 18:51:49 -05:00
Poag, Charis 1b2edd70bd [SWDEV-550355] Fix process + violation output when in partitions (#623)
Changes:
  - Fixes amd-smi monitor such as:
    amd-smi monitor -Vqt, amd-smi monitor -g 0 -Vqt -w 1
    amd-smi monitor -Vqt --file /tmp/test1, ...
  - Required moving around when process is called, since xcp
    information is gathered in right format expected by monitor
  - Requires process to be appended first with the gpu data -> xcp
    info to be gathered + added after 1st device

Change-Id: I76356a4610944f633a9530970fac66556d65bf11
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
2025-08-19 18:50:51 -05:00
Poag, Charis 35b4b0df38 [SWDEV-550355] Fix process + violation output when in partitions (#623)
Changes:
  - Fixes amd-smi monitor such as:
    amd-smi monitor -Vqt, amd-smi monitor -g 0 -Vqt -w 1
    amd-smi monitor -Vqt --file /tmp/test1, ...
  - Required moving around when process is called, since xcp
    information is gathered in right format expected by monitor
  - Requires process to be appended first with the gpu data -> xcp
    info to be gathered + added after 1st device

Change-Id: I76356a4610944f633a9530970fac66556d65bf11
Signed-off-by: Charis Poag <Charis.Poag@amd.com>

[ROCm/amdsmi commit: 1b2edd70bd]
2025-08-19 18:50:51 -05:00
Charis Poag 5fe58a8e38 [SWDEV-550679] Fix amd-smi monitor AttributeError
Impacts only Guest systems

Fixes following error:
$ amd-smi monitor
AttributeError: 'Namespace' object has no attribute 'violation'

Change-Id: If501819be3f8e2d2dfd75775dc776873a92465a3
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
2025-08-19 17:58:44 -05:00
Charis Poag b239e5be60 [SWDEV-550679] Fix amd-smi monitor AttributeError
Impacts only Guest systems

Fixes following error:
$ amd-smi monitor
AttributeError: 'Namespace' object has no attribute 'violation'

Change-Id: If501819be3f8e2d2dfd75775dc776873a92465a3
Signed-off-by: Charis Poag <Charis.Poag@amd.com>


[ROCm/amdsmi commit: 5fe58a8e38]
2025-08-19 17:58:44 -05:00
Maisam Arif 6de6290dc1 Removed kfd_ioctl.h from rocm include install
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I7948eb050f79a8a0f71e0b8a8e4e08187ac0bb84
2025-08-19 17:18:14 -05:00
Maisam Arif 2851f80253 Removed kfd_ioctl.h from rocm include install
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I7948eb050f79a8a0f71e0b8a8e4e08187ac0bb84


[ROCm/amdsmi commit: 6de6290dc1]
2025-08-19 17:18:14 -05:00
Galantsev, Dmitrii cd33b75540 [SWDEV-545751] CMAKE - Enable fPIC (#629)
Change-Id: Iaade10e70b3a39d6bca23ae98f9f501339ffd76d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-08-19 11:39:39 -05:00
Galantsev, Dmitrii beaffa2c84 [SWDEV-545751] CMAKE - Enable fPIC (#629)
Change-Id: Iaade10e70b3a39d6bca23ae98f9f501339ffd76d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>

[ROCm/amdsmi commit: cd33b75540]
2025-08-19 11:39:39 -05:00
Poag, Charis e12d270693 [SWDEV-546220] Fix mVF xcd check within tests (#628)
Adding a check to see if we're in guest -> allowing equal XCD values.
This is because in mVF configurations, we may not be able to read the gfx clock values.

Change-Id: I8e5d9627e061e98ec854734a91624c8077644a2a
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
2025-08-19 11:13:18 -05:00
Poag, Charis 61c817a2d3 [SWDEV-546220] Fix mVF xcd check within tests (#628)
Adding a check to see if we're in guest -> allowing equal XCD values.
This is because in mVF configurations, we may not be able to read the gfx clock values.

Change-Id: I8e5d9627e061e98ec854734a91624c8077644a2a
Signed-off-by: Charis Poag <Charis.Poag@amd.com>

[ROCm/amdsmi commit: e12d270693]
2025-08-19 11:13:18 -05:00
systems-assistant[bot] 351d598869 [Docs] Adding AQLprofile info (#150)
* Adding AQLprofile info

* update aqlprofile text

---------

Co-authored-by: Matt Williams <Matt.Williams+amdeng@amd.com>
2025-08-19 08:44:25 -07:00
systems-assistant[bot] c746ba6d31 Fix compilation with libc++ (#148)
`interop.cpp` uses `std::find_if` without a relevant include file, breaking compilation with Clang/libc++.

Co-authored-by: Sv. Lockal <lockalsash@gmail.com>
2025-08-19 08:42:03 -07:00
Giovanni Lenzi Baraldi ff43893902 Fix decoder description (#513) 2025-08-19 08:35:22 -07:00
Joseph Macaranas 894cfbc02c Language runtime codeowner updates (#628) 2025-08-19 11:03:42 -04:00
Joseph Macaranas 669cea4570 Migration status update Aug 18 2025-08-18 20:55:31 -04:00
Joseph Macaranas c912ff5051 Source of truth update Aug 18 (#623) 2025-08-18 20:05:55 -04:00
Joseph Macaranas f81d90623d Preserved file-path commit history for hip-tests. 2025-08-18 19:43:53 -04:00
Joseph Macaranas 966fc5319d Preserve file-path commit history for hipother. 2025-08-18 19:07:27 -04:00
Joseph Macaranas a8f48a100d Preserve file-path commit history for hip. 2025-08-18 19:04:49 -04:00
Joseph Macaranas a2cedb7fe5 Preserve file-path commit history of clr. 2025-08-18 19:01:36 -04:00
Bindhiya Kanangot Balakrishnan 41488f0c18 [SWDEV-547160] Fix VRAM percentage calculation
The vram_percent calculation was missing
multiplication by 100.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
2025-08-18 17:28:30 -05:00
Bindhiya Kanangot Balakrishnan 8e645a6da7 [SWDEV-547160] Fix VRAM percentage calculation
The vram_percent calculation was missing
multiplication by 100.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>


[ROCm/amdsmi commit: 41488f0c18]
2025-08-18 17:28:30 -05:00
Joseph Macaranas a22b6f3aca Merge commit 'ed7fae51d884a17cd3bd96c7973d1f1f78b5f3a5' into develop 2025-08-18 16:23:12 -04:00
ammallya 32634d809f Adding merge conflicts bypass 2025-08-18 13:11:15 -07:00
ammallya 53ae4f13db Fix for commits 2025-08-18 13:00:02 -07:00
Arif, Maisam 2d5accd000 [SWDEV-540665] Add power_cap set to Linux Guest (#626)
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I3c8d707681c141390b40521231e0d638c81cdeaf
2025-08-18 14:59:14 -05:00
Arif, Maisam 4e568b2eea [SWDEV-540665] Add power_cap set to Linux Guest (#626)
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I3c8d707681c141390b40521231e0d638c81cdeaf

[ROCm/amdsmi commit: 2d5accd000]
2025-08-18 14:59:14 -05:00
ammallya cc67092904 Adding git user settings 2025-08-18 12:54:51 -07:00
ammallya 8110a5d38c Adding pr logic to python file 2025-08-18 12:51:12 -07:00
ammallya 03d4c5c1fd Changing the logic to invoke python script 2025-08-18 12:50:03 -07:00
ammallya b8ea251fc5 Continue on error 2025-08-18 12:31:03 -07:00
ammallya 1d19aa0dd5 Escaping /r 2025-08-18 12:17:31 -07:00
Manocha, Rahul 13d54a3ec1 Fix typo in hipBatchMemOpParamsTocudaBatchMemOpParams (#38)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/hipother commit: ed7fae51d8]
2025-08-18 12:09:09 -07:00
Manocha, Rahul ed7fae51d8 Fix typo in hipBatchMemOpParamsTocudaBatchMemOpParams (#38)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-08-18 12:09:09 -07:00