Commit-Graf

64385 Incheckningar

Upphovsman SHA1 Meddelande Datum
ammallya 37f8da676a Change depth to 250 for large PRs (#972) 2025-09-12 09:18:02 -07:00
amd-hsivasun 2b68ac750e Add rocprofiler-systems project dependency (#915) 2025-09-12 12:16:54 -04:00
marandje 3a37389f6a SWDEV-547554 - Resolve memory leaks in hiprtc tests (#967) 2025-09-12 18:12:15 +02:00
Kian Cossettini 5d582fcd37 [rocprofiler-systems] Add Fortran OpenMP CTests (#874)
* Added Fortran (amdflang) openmp tests using the openmp-vv project

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-09-12 09:52:16 -04:00
habajpai-amd 1c7293e6d0 Add bounds checks in transpose_a for both load and store so edge tiles dont read/write past MxN (#950) 2025-09-12 17:32:30 +05:30
Venkateshwar Reddy Kandula 26e7c4231e [rocprofiler-sdk] Add derived metrics for Navi4 (#238)
* add more derived metrics for navi4.

* addr comments

* addr comments, and add more derived counters.

* EOF.

* misc.

* remove duplicate counter.

* misc.

* Remove gfx12 architecture definition for ldslatency

* remove extra architectures for gfx12.

* use wgp for normalization

* move these changes to another PR.

---------

Co-authored-by: Venkateshwar Reddy Kandula <venkateshwar.kandula1306@gmail.com>
2025-09-12 02:30:10 -05:00
abchoudh-amd 7d847dde3f Split tests (#952) 2025-09-12 12:29:48 +05:30
Venkateshwar Reddy Kandula aa3313aa99 add dl lib to utility_tests (#961) 2025-09-12 10:28:52 +05:30
Marius Brehler 01828d1375 Force gzip to overwrite an existing changelog (#665)
If a compressed changelog exists from a previous build, reconfiguring
the project fails with
```
[rocm-core configure] CMake Error at utils.cmake:213 (message):
[rocm-core configure]   Failed to compress: gzip:
[rocm-core configure]   /home/ben/src/TheRock/build/base/rocm-core/build/DEBIAN/changelog.Debian.gz
[rocm-core configure]   already exists; not overwritten
```

Add `-f` to force overwriting.
2025-09-11 16:34:37 -07:00
systems-assistant[bot] c85200fc42 SWDEV-541096 - add hipEventWaitDefault and hipEventWaitExternal flags (#507)
Co-authored-by: Li, Todd tiantuo <Toddtiantuo.Li@amd.com>
2025-09-11 14:50:55 -07:00
Jatin Chaudhary 3742814d82 SWDEV-553757 - add __HIP__ and __clang__ check for __shfl functions (#872) 2025-09-11 21:57:39 +01:00
amd-hsivasun 892a56cb54 [Ex CI] Enable hip-tests (#957)
* [Ex CI] Enable hip-tests

* Add Pipeline Id

* Fixed typo

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-11 16:40:07 -04:00
amd-hsivasun 6b923ee1ac [Ex CI] Enable rocr-runtime (#925) 2025-09-11 16:25:09 -04:00
amd-hsivasun b79933cf20 [Ex CI] Enable rocprofiler-sdk (#944)
* [Ex CI] Enable rocprofiler-sdk

* Fixed typo

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-11 16:22:54 -04:00
Pengda Xie 05f12bf573 SWDEV-550582 - Ensure kernel launched to correct device in hip-tests (#852) 2025-09-11 12:24:35 -07:00
jamessiddeley-amd 62843ed900 [rocprof-compute] Wrap negative values in L2 - Fabric interface detailed metrics (#833)
* update gfx942 soc_config 1700

* add MAX wrapper for Write and Atomic (32B)

* removed trailing whitespace and EA* fix

* added to CHANGELOG.md

* edited changelog
2025-09-11 14:51:58 -04:00
marandje 4ebc4ff5ba SWDEV-553750 - Fix codeql errors in hip-tests (#895) 2025-09-11 18:11:11 +02:00
Alysa Liu 2b2b8329b5 rocr: Add copyright for new files (#886)
Signed-off-by: Alysa Liu <Alysa.Liu@amd.com>
2025-09-11 10:56:31 -04:00
systems-assistant[bot] 3e1e2408a9 SWDEV-541427 - Fix forked stream joining to parent stream that is not origin stream(BeginCaptureStream) (#449)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com>
Co-authored-by: Godavarthy Surya, Anusha <agodavar@amd.com>
2025-09-11 16:57:33 +05:30
systems-assistant[bot] 0647cf1d28 SWDEV-542700 - Return an error if stream capture is attempted on the null stream while a stream capture is active. (#450)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com>
Co-authored-by: Godavarthy Surya, Anusha <agodavar@amd.com>
2025-09-11 16:57:22 +05:30
sluzynsk-amd a141df3518 SWDEV-549708 - WarpTest memory leak fix (#838)
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
2025-09-11 11:22:38 +02:00
Gopesh Bhardwaj dd44ae3295 [Palamida scan] SWDEV-553053 Adding missing copyrights information (#836)
* SWDEV-553053 Adding missing copyrights information
2025-09-10 23:44:27 -07:00
Julian Jose 2d3803da89 Update using-rocprofv3 documentation (#331)
* Update using-rocprofv3 documentation

* Update using-rocprofv3.rst

* Update using-rocprofv3.rst

* Update projects/rocprofiler-sdk/source/docs/how-to/using-rocprofv3.rst

Co-authored-by: Swati Rawat <120587655+SwRaw@users.noreply.github.com>

* Update projects/rocprofiler-sdk/source/docs/how-to/using-rocprofv3.rst

Co-authored-by: Swati Rawat <120587655+SwRaw@users.noreply.github.com>

---------

Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com>
Co-authored-by: Swati Rawat <120587655+SwRaw@users.noreply.github.com>
2025-09-11 12:11:04 +05:30
Ammar ELWazir 069d5ecce2 [ROCProfiler SDK] Updating README Building & Installing Instructions (#931)
* Updating ROCProfiler SDK README

* Fixing ROCProfiler SDK License

* Fixing ROCProfiler SDK Installation Steps

---------

Co-authored-by: Joseph Macaranas <145489236+jayhawk-commits@users.noreply.github.com>
2025-09-11 12:08:49 +05:30
systems-assistant[bot] 5b9ba5bda0 Adding more unit tests to reach 80% (#177)
* Adding more unit tests to reach 80%

* Adding pmc and command builder tests

* tests for spm, sqtt and trace config

* removing non-existent struct members from test

* Adding logger tests

* aqlprofile_v2 tests

* spm builder tests

* Addressed feedback

---------

Co-authored-by: gobhardw <gopesh.bhardwaj@amd.com>
Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com>
2025-09-11 12:05:42 +05:30
Venkateshwar Reddy Kandula 66f0df465e [rocprofiler-sdk][Tests] add counter dimensions instance tests for rocprofiler_counter_info_v1_t API change (#637)
* Initial commit, counter dimensions tests, public API.

* Update projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/counters/tests/metrics_test.cpp

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

* Update projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/counters/tests/metrics_test.cpp

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

* Update projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/counters/tests/metrics_test.cpp

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

* Update projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/counters/tests/metrics_test.cpp

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

* Update projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/counters/tests/metrics_test.cpp

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

* Update projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/counters/tests/metrics_test.cpp

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

* add comments.

* Format.

* Format.

---------

Co-authored-by: Venkateshwar Reddy Kandula <venkateshwar.kandula1306@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-11 01:08:33 -05:00
Julian Jose 1a39135951 add missing copyright headers in rocprofiler-register (#893) 2025-09-11 10:02:07 +05:30
systems-assistant[bot] e5c155d3f3 SWDEV-547453 - Resolve memory leaks in module tests (#535) 2025-09-11 01:16:21 +02:00
marandje ea68344f2f SWDEV-553962 - Add p2p check to multidevice virtual memory tests (#898) 2025-09-11 01:15:18 +02:00
Dmitrii 8cb6278f32 CMAKE - Use gersemi instead of cmake-format (#772)
cmake-format has been unmaintained for 4+ years now. Please use gersemi
instead.

See RDC changes where we adopted gersemi:
- <https://github.com/ROCm/rdc/commit/680b7a8dd8699ab5264f10f5a3bc0b30410881be>
- <https://github.com/ROCm/rdc/commit/40545dcb49ebcfa0a6fe040a8862cf8b338ad6b5>

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-09-10 18:09:02 -05:00
Ioannis Assiouras 35629e433d SWDEV-546146 - Added support for hipMemLocationTypeHost in hipMemSetAccess (#682) 2025-09-10 23:06:20 +01:00
Joseph Macaranas dd1a2dbf8a Fix LICENSE path for opencl build (#939) 2025-09-10 17:54:22 -04:00
amd-hsivasun cf8173a892 [Ex CI] Enable rocm-smi-lib (#937) 2025-09-10 17:30:57 -04:00
systems-assistant[bot] b60c0ceddd [rocprofv3] Unconditionally collect stream and kernel rename data in rocprofv3 for rocpd (#171)
* Remove config checks for stream and kernel rename data collection

* Updated csv generation to check if kernel rename is on before calling get_kernel_name

* Update metadata to use kernel_rename bool argument

* Formatting + unconditionally store kernel name in rocpd

* Readded kernel rename parameter after rebase

* Fixed rebase conflicts

* Updated comment in line with github comments

* Added check in rocpd csv.cpp to output kernel name if region name is empty

* Add test for kernel rename

---------

Co-authored-by: Ian Trowbridge <Ian.Trowbridge@amd.com>
2025-09-10 16:03:15 -05:00
amd-hsivasun 156de36a92 [Ex CI] Enable rocminfo (#932) 2025-09-10 16:30:57 -04:00
systems-assistant[bot] bfdb3bc636 fix(python): fix comparison to None (#211)
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.

Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2025-09-10 14:50:32 -05:00
systems-assistant[bot] 39ea16e544 fix(E712): fix comparison to True/False (#212)
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.

Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2025-09-10 14:50:23 -05:00
systems-assistant[bot] f450ff0624 Update rocm_smi_device.cc of delete duplicate content (#214)
It has the duplicate content in line 488 in the same file.

Co-authored-by: qiwei_ji <qiwei_ji@outlook.com>
2025-09-10 14:50:13 -05:00
Bindhiya Kanangot Balakrishnan c7b6bb9600 SWDEV-476667 - Get pcie bw from GPU metric (#853)
The sysfs pcie bandwidth file pcie_bw is deprecated
in newer asics. This change will get pcie BW from
GPU metric for version 1.5 or later.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
2025-09-10 14:48:31 -05:00
Ammar ELWazir 2a9700fcd7 [ROCProfiler-Register/Systems/Compute] Fixing License file name usage (#927)
ROCProfiler-Register/Systems/Compute: The license file name in the CMake install module and other locations was originally LICENSE, but it was recently changed to LICENSE.md, requiring an update to the CMake install module and all other relevant locations.
2025-09-10 15:46:39 -04:00
Mythreya Kuricheti aa90a83e42 [aqlprofile] Misc formatting (#810)
* Remove dupicated code segment and apply formatting to some code regions
2025-09-10 12:11:53 -07:00
nunnikri b6ffa43226 SWDEV-553044 : Adding missing copyright header in rocm-core (#875)
SWDEV-553044 : Adding missing copyright header in rocm-core
2025-09-10 10:10:16 -07:00
Julia Jiang 8bc97e3273 SWDEV-551652 - Adding changelog for HIP 7.0.2 (#849) 2025-09-10 09:22:40 -07:00
Julia Jiang ae9a7f34c0 SWDEV-504376 - Update definition for hipHostAllocWriteCombined (#887) 2025-09-10 09:22:24 -07:00
Julia Jiang 4981fa2139 SWDEV-552580 - Update instructions to build HIP from source in monorepo (#806) 2025-09-10 09:21:27 -07:00
Joseph Macaranas 696881ae82 LICENSE clean up (#919)
- Clean up and standardization of MIT licenses after discussion with legal team.
- Update README.md with blurb for top-level files.
- MIT License explicitly mentioned for relevant projects.
- Removal of years.
- Copyright attribution should be to `Advanced Micro Devices, Inc.` and not `AMD ROCm(TM) Software`
- Removal of `All rights reserved.`
- Reduce line width of the text for readability.
- Add clear visual separators for additional licenses.
- Convert text files to markdown format for aforementioned separators.
- Update build scripts to point to renamed files.
- Fixed SMI doc references

Co-authored-by: Maisam Arif <Maisam.Arif@amd.com>
2025-09-10 12:06:14 -04:00
systems-assistant[bot] f34abcad37 SWDEV-548453 - Fix memory leak (#528) 2025-09-10 21:17:30 +05:30
amd-hsivasun bd12f54c72 [Ex CI] enable rocm-core (#916)
* Fix syntax error in azure_resolve_subtree_deps.py

* Fixed typo

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-10 11:47:00 -04:00
ywang103-amd 4c614d3d21 remove test_scientific_notation_trigger_above_upper_bound for its (#913) 2025-09-10 10:18:42 -04:00
Giovanni Lenzi Baraldi 9849073836 SWDEV-540648: Adding realtime clock to v3 tool. Update decoder header. (#666)
* SWDEV-540648: Adding realtime clock to v3 tool. Update header for decoder.

* Adding tests

* Review comments

* Review comment
2025-09-10 12:39:27 +02:00