Commit Graph

13501 Commits

Author SHA1 Message Date
Trowbridge, Ian 0ab43420ba Add copyright disclaimer for scan (#453) 2025-06-24 16:25:26 -05:00
Elwazir, Ammar aa7a8f16fe Temp: Disable Scratch Memory Test (#473)
* Disable Scratch Memory Test

* Update continuous_integration.yml

* Update continuous_integration.yml

[ROCm/rocprofiler-sdk commit: 86e40741ea]
2025-06-24 16:02:56 -05:00
Elwazir, Ammar 86e40741ea Temp: Disable Scratch Memory Test (#473)
* Disable Scratch Memory Test

* Update continuous_integration.yml

* Update continuous_integration.yml
2025-06-24 16:02:56 -05:00
Elwazir, Ammar 3f993a0192 Using Azure instead of Github Hosted Runners (#475)
* Update formatting.yml

* Update codeql.yml

* Update docs.yml

* Update generate_afar.yml

* Update python.yml

* Update rerun.yml

* Update restrictions.yml

* Update rocm_release_compatibility.yml

* Update scan.yaml

* Update sync-mainline.yaml

* Update sync-staging.yaml

[ROCm/rocprofiler-sdk commit: a2dc4ec041]
2025-06-24 15:43:54 -05:00
Elwazir, Ammar a2dc4ec041 Using Azure instead of Github Hosted Runners (#475)
* Update formatting.yml

* Update codeql.yml

* Update docs.yml

* Update generate_afar.yml

* Update python.yml

* Update rerun.yml

* Update restrictions.yml

* Update rocm_release_compatibility.yml

* Update scan.yaml

* Update sync-mainline.yaml

* Update sync-staging.yaml
2025-06-24 15:43:54 -05:00
xuchen-amd b7c6c4eaac Fix system sol units, remove units if None value. (#773)
* Fix system sol units.

[ROCm/rocprofiler-compute commit: 74e9853f8e]
2025-06-24 16:37:55 -04:00
xuchen-amd 74e9853f8e Fix system sol units, remove units if None value. (#773)
* Fix system sol units.
2025-06-24 16:37:55 -04:00
xuchen-amd 7ab4a3f03f GUI: prevent big number overflow (#772)
* Prevent number overflow by formatting values.

* Improve value formatting logic based on comments.

[ROCm/rocprofiler-compute commit: 92ce4732bc]
2025-06-24 16:27:06 -04:00
xuchen-amd 92ce4732bc GUI: prevent big number overflow (#772)
* Prevent number overflow by formatting values.

* Improve value formatting logic based on comments.
2025-06-24 16:27:06 -04:00
Elwazir, Ammar 8567655932 Update Runners (#128)
Update sync-mainline.yaml

[ROCm/aqlprofile commit: 1c10dfa51f]
2025-06-24 15:23:11 -05:00
Elwazir, Ammar 1c10dfa51f Update Runners (#128)
Update sync-mainline.yaml
2025-06-24 15:23:11 -05:00
Elwazir, Ammar a5d3c3bef9 Update sync-staging.yaml
[ROCm/aqlprofile commit: 6f21d49129]
2025-06-24 15:16:07 -05:00
Elwazir, Ammar 6f21d49129 Update sync-staging.yaml 2025-06-24 15:16:07 -05:00
Ken O'Brien 7b8a6f8ca2 rocr: Fixes memory allocation issue
Fixes a bug in memory allocation in which dmabuf export only works on
GPU 0 in a multi-GPU environment.
2025-06-24 14:53:14 -04:00
dependabot[bot] e41bd098c1 Bump rocm-docs-core[api_reference] from 1.20.1 to 1.21.0 in /docs/sphinx (#262)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.20.1 to 1.21.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.20.1...v1.21.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-version: 1.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[ROCm/rocprofiler-systems commit: 3a0985c68a]
2025-06-24 12:33:13 -04:00
dependabot[bot] 3a0985c68a Bump rocm-docs-core[api_reference] from 1.20.1 to 1.21.0 in /docs/sphinx (#262)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.20.1 to 1.21.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.20.1...v1.21.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-version: 1.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-24 12:33:13 -04:00
David Galiffi 05e6c66336 Update CHANGELOGS (#248)
* Update CHANGELOGS

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

* Update CHANGELOG.md

Clarify Fortran support on CHANGELOGS

* Update CHANGELOG.md

Fixed typo

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

[ROCm/rocprofiler-systems commit: 3668e603cc]
2025-06-24 11:10:26 -04:00
David Galiffi 3668e603cc Update CHANGELOGS (#248)
* Update CHANGELOGS

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

* Update CHANGELOG.md

Clarify Fortran support on CHANGELOGS

* Update CHANGELOG.md

Fixed typo

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>
2025-06-24 11:10:26 -04:00
Sunday Clement d2b35dfee6 rocrtst: Add new test for querying Clock Counters
added new subtest to Agent Properties test, to check functionality of
query.

Signed-off-by: Sunday Clement <Sunday.Clement@amd.com>
2025-06-23 18:45:09 -04:00
Sunday Clement e97d06530e rocr: Add hsa-agent Queries for Clock Counters
Support has been added to query the following
HSA_AMD_INFO_GET_CLOCK_COUNTERS agent info exposed through the hsa api
in rocr, rather than the user having to make a direct IOCTL call
through the kernel driver.

Signed-off-by: Sunday Clement <Sunday.Clement@amd.com>
2025-06-23 18:45:09 -04:00
Elwazir, Ammar 2862cbc024 Update sync-staging.yaml
[ROCm/aqlprofile commit: 524d1c64e5]
2025-06-23 17:21:40 -05:00
Elwazir, Ammar 524d1c64e5 Update sync-staging.yaml 2025-06-23 17:21:40 -05:00
Elwazir, Ammar 8bcc6fffac Update sync-staging.yaml
[ROCm/aqlprofile commit: ba162dd76a]
2025-06-23 17:20:32 -05:00
Elwazir, Ammar ba162dd76a Update sync-staging.yaml 2025-06-23 17:20:32 -05:00
Elwazir, Ammar 27910e3224 Update sync-mainline.yaml
[ROCm/aqlprofile commit: 0578cc6dd7]
2025-06-23 17:20:19 -05:00
Elwazir, Ammar 0578cc6dd7 Update sync-mainline.yaml 2025-06-23 17:20:19 -05:00
Elwazir, Ammar 73c7fe521f Fixing v2 header location (#127)
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>

[ROCm/aqlprofile commit: 9ac4373f1b]
2025-06-23 17:17:35 -05:00
Elwazir, Ammar 9ac4373f1b Fixing v2 header location (#127)
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
2025-06-23 17:17:35 -05:00
Elwazir, Ammar fb6ec25d41 Adding Integration tests for later building option (#126)
* Adding Integeration tests for later building option

* Update CMakeLists.txt

---------

Co-authored-by: Ammar ELWazir <aelwazir@amd.com>

[ROCm/aqlprofile commit: e4bb0df9d5]
2025-06-23 16:53:17 -05:00
Elwazir, Ammar e4bb0df9d5 Adding Integration tests for later building option (#126)
* Adding Integeration tests for later building option

* Update CMakeLists.txt

---------

Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
2025-06-23 16:53:17 -05:00
Tony Gutierrez e03d44d742 rocr: Update Driver queue-related APIs
Update the user-mode driver queue APIs to leverage KMT types.

Move queue-related calls to the core::Driver API.
2025-06-23 12:21:01 -07:00
Kian Cossettini 531cf61f36 Added docker usage steps for rocprofiler systems (#251)
---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

[ROCm/rocprofiler-systems commit: 8457cb11be]
2025-06-23 15:19:47 -04:00
Kian Cossettini 8457cb11be Added docker usage steps for rocprofiler systems (#251)
---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>
2025-06-23 15:19:47 -04:00
Elwazir, Ammar 14c997d5b4 Posting fixes for tests link library (#125)
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>

[ROCm/aqlprofile commit: af750616db]
2025-06-23 12:30:29 -05:00
Elwazir, Ammar af750616db Posting fixes for tests link library (#125)
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
2025-06-23 12:30:29 -05:00
Baraldi, Giovanni bf067cd442 Remove default dependency of rocm-llvm-dev (#124)
* Remove default dependency of rocm-llvm-dev

* Update build.sh

* Update build.sh

* Update CMakeLists.txt

* Fixing core tests

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>

[ROCm/aqlprofile commit: f3b2d498b8]
2025-06-23 12:13:27 -05:00
Baraldi, Giovanni f3b2d498b8 Remove default dependency of rocm-llvm-dev (#124)
* Remove default dependency of rocm-llvm-dev

* Update build.sh

* Update build.sh

* Update CMakeLists.txt

* Fixing core tests

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
2025-06-23 12:13:27 -05:00
David Galiffi 8fcf3a50b0 Use gersemi for CMake formatting (#257)
* Replace `cmake-format` with `gersemi`

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

* Remove .cmake-format.yaml

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

* Update workflow to use gersemi

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

* Update CONTRIBUTING.md

* Update helper scripts

* Don't include `*/external/*` in workflows

---------

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

[ROCm/rocprofiler-systems commit: 122623a929]
2025-06-22 10:44:33 -04:00
David Galiffi 122623a929 Use gersemi for CMake formatting (#257)
* Replace `cmake-format` with `gersemi`

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

* Remove .cmake-format.yaml

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

* Update workflow to use gersemi

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

* Update CONTRIBUTING.md

* Update helper scripts

* Don't include `*/external/*` in workflows

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-06-22 10:44:33 -04:00
David Galiffi 0403aaa97f Use clang-format-18 for source formatting (#256)
* Updating clang-format to v18

- Updates the pre-commit-config
- Formats source files according to the utility

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

* Update format source workflow

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

* Update CONTRIBUTING

* Update comment in .clang-format

* Update CONTRIBUTING.md

* Update helper script

---------

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

[ROCm/rocprofiler-systems commit: 1e13b590e7]
2025-06-22 08:48:08 -04:00
David Galiffi 1e13b590e7 Use clang-format-18 for source formatting (#256)
* Updating clang-format to v18

- Updates the pre-commit-config
- Formats source files according to the utility

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

* Update format source workflow

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

* Update CONTRIBUTING

* Update comment in .clang-format

* Update CONTRIBUTING.md

* Update helper script

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-06-22 08:48:08 -04:00
vedithal-amd 9873460265 Fix counter collection for MI 350 (#764)
* Fix TCC counter collection bug
* Fix accumulate counter collection
* Fix formatting

[ROCm/rocprofiler-compute commit: 5950a02ff6]
2025-06-21 08:48:25 -04:00
vedithal-amd 5950a02ff6 Fix counter collection for MI 350 (#764)
* Fix TCC counter collection bug
* Fix accumulate counter collection
* Fix formatting
2025-06-21 08:48:25 -04:00
Vaddireddy, Sushma 8b956a1f39 Added install target for simple-hip executable (#10)
* Added install target for simple-hip executable

* Updating destination path

* Update CMakeLists.txt

* Update CMakeLists.txt

* Test Installed Packages

* Updating Destination path

* Update continuous-integration.yml

* Update continuous-integration.yml

* Adding env

* Adding PACKAGING_INSTALL_PREFIX

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Add libasan.so path for AddressSanitizer preloadiing

* Add libasan.so path for AddressSanitizer preloadiing

* Add libasan.so path for test test-simple-hip-normal

* Added sanitizer runtime library for tests

* Added LD_PRELOAD to simple-hip-normal-env test

* Added LD_PRELOAD to simple-hip-normal-env test

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Formatting

* Updated path for simple-hip-preload-env

* Updated path for simple-hip-preload-env

* Update continuous-integration.yml

* Updated preload path for  simple-hip-preload-env

* Updated preload path for  simple-hip-preload-env

---------

Co-authored-by: Sushma Vaddireddy <svaddire@amd.com>
Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>

[ROCm/rocprofiler-register commit: 03d58213b9]
2025-06-20 13:54:40 -05:00
Vaddireddy, Sushma 03d58213b9 Added install target for simple-hip executable (#10)
* Added install target for simple-hip executable

* Updating destination path

* Update CMakeLists.txt

* Update CMakeLists.txt

* Test Installed Packages

* Updating Destination path

* Update continuous-integration.yml

* Update continuous-integration.yml

* Adding env

* Adding PACKAGING_INSTALL_PREFIX

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Add libasan.so path for AddressSanitizer preloadiing

* Add libasan.so path for AddressSanitizer preloadiing

* Add libasan.so path for test test-simple-hip-normal

* Added sanitizer runtime library for tests

* Added LD_PRELOAD to simple-hip-normal-env test

* Added LD_PRELOAD to simple-hip-normal-env test

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Formatting

* Updated path for simple-hip-preload-env

* Updated path for simple-hip-preload-env

* Update continuous-integration.yml

* Updated preload path for  simple-hip-preload-env

* Updated preload path for  simple-hip-preload-env

---------

Co-authored-by: Sushma Vaddireddy <svaddire@amd.com>
Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>
2025-06-20 13:54:40 -05:00
Jason Bonnell dde3d61739 Ignore certain workflows when changes are only for .md, docs, and docker (#754)
* add paths-ignore for both push and PR to rhel-8.yml and ubuntu-jammy.yml

* add paths-ignore for PR only in tarball.yml

* add rocm-docs-core linting.yml workflow to formatting.yml

* fix small mistake in github directory path

* remove rocm-docs-core linting

[ROCm/rocprofiler-compute commit: 44c3516b8b]
2025-06-20 09:26:28 -04:00
Jason Bonnell 44c3516b8b Ignore certain workflows when changes are only for .md, docs, and docker (#754)
* add paths-ignore for both push and PR to rhel-8.yml and ubuntu-jammy.yml

* add paths-ignore for PR only in tarball.yml

* add rocm-docs-core linting.yml workflow to formatting.yml

* fix small mistake in github directory path

* remove rocm-docs-core linting
2025-06-20 09:26:28 -04:00
Sajina PK 6a8cef771e Show VCN and JPEG busy values where VCN/JPEG activity is not supported. (#232)
On AMD-SMI, in rocm 7.0, vcn_activity and jpeg_activity will not be reported when XCP (partition) stats, vcn_busy and jpeg_busy, are available. This causes the activity tracking to fail. The fix is to read the busy values when activity values are not supported.

For issue: SWDEV-536439

---------

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

[ROCm/rocprofiler-systems commit: e3741f678b]
2025-06-19 16:23:30 -04:00
Sajina PK e3741f678b Show VCN and JPEG busy values where VCN/JPEG activity is not supported. (#232)
On AMD-SMI, in rocm 7.0, vcn_activity and jpeg_activity will not be reported when XCP (partition) stats, vcn_busy and jpeg_busy, are available. This causes the activity tracking to fail. The fix is to read the busy values when activity values are not supported.

For issue: SWDEV-536439

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-06-19 16:23:30 -04:00
Samuel Thibault 8ca4207d5c rsmi_init: Do not complain loudly when no driver is found
When librocm-smi is pulled through a dependency, we may end up on a system
without actual hardware supported by ROCM, and rsmi_init() failing is
actually expected, we do want to frighten the user in such a case.
2025-06-19 13:30:51 -05:00