Commit Graph

8990 Commits

Author SHA1 Message Date
amd-hsivasun 21114fbcc6 Added gitmodules 2025-07-31 15:06:55 -04:00
Ammar ELWazir 46c0987253 Fixing ROCProfiler SDK workflows 2025-07-31 13:55:54 -05:00
Ammar ELWazir b279076eab Fixing ROCProfiler SDK Docs workflow 2025-07-31 13:50:07 -05:00
Ammar ELWazir 8465cf5c14 Fixing ROCProfiler SDK Docs workflow 2025-07-31 13:46:56 -05:00
Ammar ELWazir 7501280c6b Fixing ROCProfiler SDK Docs workflow 2025-07-31 13:39:24 -05:00
Ammar ELWazir de9a19a4c5 Fixing ROCProfiler SDK Docs workflow 2025-07-31 13:34:54 -05:00
Ammar ELWazir 66e7e42d0c Fixing ROCProfiler SDK Docs workflow 2025-07-31 13:31:25 -05:00
Ammar ELWazir dc1f01dae9 Runners Update 2025-07-31 13:13:36 -05:00
Kandula, Venkateshwar reddy e0901eba28 [Samples] Remove thread trace sample dependency on rocprofiler-sdk-amd-comgr. (#555)
* remove samples dependency on rocprofiler-sdk-amd-comgr.

* add find package for amd_comgr.

---------

Co-authored-by: Venkateshwar Reddy Kandula <vkandula@amd.com>
2025-07-31 10:24:32 -05:00
habajpai-amd c424dac261 Fix the openmp-target ctest (#300)
- openmp-target: add runtime rpath for libomptarget and update tests
- Handle events not associated with a HIP Stream
  - Kernels from OpenMP target offload are not associated with a HIP stream. Fix handling with the callback record's stream_id is 0

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-07-31 10:41:27 -04:00
Fei Zheng 6cbda3f1d8 Format code (#842) 2025-07-31 08:20:49 -06:00
Fei Zheng 3a40e4b58c quick fix how to call v3 with pc sampling 2025-07-31 08:17:06 -06:00
Honglei Huang 56cb9390ff rocr/driver: add PC sampling support to driver interface
Add PC sampling functionality to the driver interface:

1. Add new PC sampling methods to Driver base class:
   - PcSamplingQueryCapabilities
   - PcSamplingCreate
   - PcSamplingDestroy
   - PcSamplingStart
   - PcSamplingStop

2. Implement PC sampling methods in KfdDriver using HSAKMT APIs:
   - Map HSAKMT status codes to HSA status codes
   - Handle resource busy conditions
   - Proper error handling for all operations

Signed-off-by: Honglei Huang <Honglei1.Huang@amd.com>
2025-07-31 21:48:25 +08:00
Honglei Huang a47c060d6a rocr/driver: add ASAN header page management to Driver class
Add ASAN header page management to Driver

- Add ReplaceAsanHeaderPage and ReturnAsanHeaderPage to Driver interface
- Implement ASAN functions in KfdDriver using hsaKmt calls

Signed-off-by: Honglei Huang <Honglei1.Huang@amd.com>
2025-07-31 21:48:25 +08:00
Honglei Huang 9312468655 rocr: add memory sharing call to Driver interface
This change improves the abstraction of memory sharing operations by moving them
to the driver layer and adds safety checks for cross-driver operations.

- Add ShareMemory and RegisterSharedHandle methods to support memory sharing
  between processes
- Add IsDifferentDriver utility methods to check driver compatibility across
  agents/nodes
- Refactor IPC memory handling to use driver-based memory sharing instead of
  direct HSAKMT calls
- Improve error handling for memory sharing operations across different drivers

Signed-off-by: Honglei Huang <Honglei1.Huang@amd.com>
2025-07-31 21:48:25 +08:00
Kian Cossettini d1a2deba1f fork-runtime-instrument ctest fix (#295)
* Fix fork-runtime-instrument ctest failure by adding -fno-inline flag
2025-07-31 07:59:41 -04:00
Sivasuntharampillai, Haresh f70a97b762 Modified Workflows 2025-07-30 20:58:41 -04:00
Galantsev, Dmitrii 31dfc0fcce CI - Use LSTT machine to enable labeling
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-07-30 17:15:31 -05:00
Galantsev, Dmitrii 0a19a7ffc1 Profiler - Add metrics location
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-07-30 16:59:44 -05:00
Galantsev, Dmitrii 6cd870e3b5 CI - Disable RVS to build rocprofiler from staging
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-07-30 16:36:55 -05:00
systems-assistant[bot] 51b8fd15bd Merge commit 'fbe0f65beb5c040f8f7da1909115555907e791bf' into develop 2025-07-30 20:07:58 +00:00
Bonnell, Jason fbe0f65beb use new azure runners (#533)
* use new azure runners

* update core-deb logic in continuous_integration.yml

* more logic changes in continuous_integration.yml

* changes to runs-on conditional in continuous_integration.yml

* update runs-on conditional again on continuous_integration.yml

* utulize matrix system list, add gpu variable and separate runner

* Remove trailing comma from matrix

* Delete .github/workflows/generate_afar.yml

---------

Co-authored-by: Kandula, Venkateshwar reddy <Venkateshwarreddy.Kandula@amd.com>
Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>
2025-07-30 14:40:47 -05:00
systems-assistant[bot] aa48ba797d Merge commit 'c7b5a0f43aba4ec72b8bebcdacb579d9a52cf1bc' into develop 2025-07-30 19:08:11 +00:00
dependabot[bot] c7b5a0f43a Bump rocm-docs-core from 1.21.1 to 1.22.0 in /docs/sphinx (#839)
Bumps [rocm-docs-core](https://github.com/ROCm/rocm-docs-core) from 1.21.1 to 1.22.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.21.1...v1.22.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core
  dependency-version: 1.22.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>
Co-authored-by: vedithal-amd <Vignesh.Edithal@amd.com>
2025-07-30 14:35:32 -04:00
systems-assistant[bot] ee1ebe5341 Merge commit '6f8cb05140260ecbcf373889b9e82e3ae45a2cc9' into develop 2025-07-30 18:10:35 +00:00
systems-assistant[bot] 27935903ae Merge commit 'ea4769f604bc52a5ef31fd94b9a3ea73ed0997b7' into develop 2025-07-30 18:10:34 +00:00
vedithal-amd ea4769f604 Fix rocprof avail usage (#840) 2025-07-30 13:52:55 -04:00
Jason Bonnell 6f8cb05140 Add ninja to all Dockerfiles (#304) 2025-07-30 13:35:40 -04:00
dependabot[bot] be69ec06f2 Bump rocm-docs-core[api_reference] from 1.21.1 to 1.22.0 in /docs/sphinx (#302)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.21.1 to 1.22.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.21.1...v1.22.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-version: 1.22.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-07-30 13:33:41 -04:00
systems-assistant[bot] 1a9a095ada Merge commit '4120c12ed587f7c6b3180276780452cb7aa25ce0' into develop 2025-07-30 17:08:46 +00:00
Bhardwaj, Gopesh 4120c12ed5 SWDEV-544115 Adding documentation for rocprofv3 advanced options (#516)
* SWDEV-544115 Adding documentaiton for rocprofv3 advanced options

* minor changes

* updating rocpd documentation

* updated changelog

* adressed Feedback
2025-07-30 22:25:40 +05:30
Joseph Macaranas 3cc6d1d29e Updating dates for migration 2025-07-30 11:26:50 -04:00
systems-assistant[bot] c9993f5447 Merge commit '996e8bbfb71310d9a1b641bc954b69138cf85daa' into develop 2025-07-30 15:21:37 +00:00
systems-assistant[bot] 7e0f02eec6 Merge commit '190562e8c65c9872c5c22391400931da8e4b5dae' into develop 2025-07-30 15:21:36 +00:00
systems-assistant[bot] c59ab2f572 Merge commit '1ba08cd4dfb7fe99a51765019210947dfcd199f7' into develop 2025-07-30 15:21:36 +00:00
systems-assistant[bot] 50286202d5 Merge commit '56d040156e1d18479295536f8c4ada37ce34932d' into develop 2025-07-30 15:21:35 +00:00
systems-assistant[bot] 1df639fbb2 Merge commit '8f3a2326136caefa935876155eddb61177ad362c' into develop 2025-07-30 15:21:33 +00:00
systems-assistant[bot] a7cb68e38d Merge commit '51c5343bf891848443cab2230615fdb287e3b918' into develop 2025-07-30 15:21:32 +00:00
Joseph Macaranas a1568172c9 Setting up json for syncs from individual repos 2025-07-30 11:15:21 -04:00
fxmarty-amd 56d040156e bugfix to make amd-smi usage backward compatible (#836)
* Update soc_base.py

Fixes https://github.com/ROCm/rocprofiler-compute/issues/835

Signed-off-by: fxmarty-amd <felmarty@amd.com>

* address comments

---------

Signed-off-by: fxmarty-amd <felmarty@amd.com>
2025-07-30 09:40:04 -04:00
Baraldi, Giovanni 1ba08cd4df Removing ATT buffer size limitation (#534)
* Removing SQTT buffer size limitation

* Update source/lib/rocprofiler-sdk/thread_trace/core.cpp

* Added testing for buffer size. Formatting.

* Add test as unstable

* Increase default buffer size

* Apply suggestions from code review

Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com>

* Fix typo from code review

* Update tests/thread-trace/agent.cpp

---------

Co-authored-by: Giovanni <gbaraldi@amd.com>
Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com>
2025-07-29 22:47:40 +02:00
Indic, Vladimir 2d8936362e PCS test: cast agent name to str (#546)
* PCS test: cast agent name to str
2025-07-29 12:11:15 -07:00
David Galiffi 190562e8c6 Update VERSION to 1.2.0 (#299)
Bump version now that `release/rocm-rel-7.0` has been created.
2025-07-29 14:04:48 -04:00
David Galiffi 8ad2aa55f2 Update VERSION to 3.3.0 (#838)
Bumping version now that `release/rocm-rel-7.0` has been created

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-07-29 13:02:20 -04:00
Shweta Khatri a5de07d1b8 rocr: Remove ISA check to disable stochastic support for GFX12.0 in ROCR
Feature support should be determined by KFD via the query-capabilities
IOCTL, not in ROCR.
2025-07-29 11:18:36 -04:00
David Galiffi de6120daf9 Fix avail-regex-negation ctest (#298)
Adjusted the regex to filter out new "PAGE*" domains added by the
SDK. This was causing the passing regex to fail.

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-07-29 02:44:40 -04:00
Xiaogang Chen 996e8bbfb7 hsakmt: Use udmabuf to allocate system memory
This patch uses udmabuf driver to allocate system memory instead of using amdgpu
driver for APU. With this function app can account its consumed system memory by
cgroup mechanism. This function is enabled by env variable HSA_USE_UDMABUF.

Signed-off-by: Xiaogang Chen<Xiaogang.Chen@amd.com>
2025-07-28 14:11:17 -07:00
vedithal-amd 80ea339217 Fix test cases (#837)
* Fix formatting
2025-07-28 16:19:45 -04:00
Aleksandar Djordjevic 26ae543012 ROCpd support [Part 1] (#279)
- Add rocpd support for
 - cpu_frequency
 - amd_smi
 - sampling
2025-07-28 11:33:52 -04:00
vedithal-amd 03d27c0ba0 Enable rocpd output format with rocprofiler sdk (#790)
* Add `rocpd` choice for `--format-rocprof-output` option
* Add rocpd_data.py which defines SQL queries to extract data from rocpd database
* Use sqlite3 package to read the database
* Add `--retain-rocpd-output` option in profile mode to retain raw
  rocpd database
* Add warning notice to say `--format-rocprof-output rocpd` will be
  default in future release

For rocpd output:
* Use only `pmc_perf.csv` instead of reading individual coll_level results csv files
* Post process csv files using pandas in analysis mode instead of profile mode
* Use ACCUM counters instead of SQ_ACCUM_PREV_HIRES

* Add test cases for rocpd output format
* Fix code formatting issues
* Update CHANGELOG
2025-07-28 11:02:28 -04:00