Commit Graph

64650 Commits

Author SHA1 Message Date
Mallya, Ameya Keshava 5fa2a43222 fixed syntax to mainline
[ROCm/hip-tests commit: d6f98eb109]
2025-04-01 09:52:08 -07:00
Mallya, Ameya Keshava d6f98eb109 fixed syntax to mainline 2025-04-01 09:52:08 -07:00
Mallya, Ameya Keshava 29be7230eb fixed syntax to mainline
[ROCm/clr commit: 98f1db181c]
2025-04-01 09:51:41 -07:00
Mallya, Ameya Keshava 98f1db181c fixed syntax to mainline 2025-04-01 09:51:41 -07:00
Mallya, Ameya Keshava 7aa37c3f93 fixed syntax to mainline
[ROCm/hip commit: e4f1c126ad]
2025-04-01 09:51:18 -07:00
Mallya, Ameya Keshava e4f1c126ad fixed syntax to mainline 2025-04-01 09:51:18 -07:00
Mallya, Ameya Keshava e9a978e671 fixed syntax to mainline
[ROCm/hipother commit: 0dbfdc4182]
2025-04-01 09:50:48 -07:00
Mallya, Ameya Keshava 0dbfdc4182 fixed syntax to mainline 2025-04-01 09:50:48 -07:00
Mallya, Ameya Keshava b209c43419 Fix to mainline
[ROCm/rocprofiler-register commit: b96aab5b36]
2025-04-01 09:47:28 -07:00
Mallya, Ameya Keshava b96aab5b36 Fix to mainline 2025-04-01 09:47:28 -07:00
xuchen-amd abc1c336f6 Improve chip id logic (#648)
* Improve chip id logic, add missing physical and virtual chip ids.

[ROCm/rocprofiler-compute commit: e77dd1a1ab]
2025-04-01 12:18:07 -04:00
xuchen-amd e77dd1a1ab Improve chip id logic (#648)
* Improve chip id logic, add missing physical and virtual chip ids.
2025-04-01 12:18:07 -04:00
Mallya, Ameya Keshava 2a39be043e Removing NPI
[ROCm/hipother commit: f9ee9b6eaa]
2025-04-01 09:04:06 -07:00
Mallya, Ameya Keshava f9ee9b6eaa Removing NPI 2025-04-01 09:04:06 -07:00
Mallya, Ameya Keshava 2f9ca8deb2 !verify functionality
[ROCm/hipother commit: 0b4ce00f83]
2025-04-01 09:03:43 -07:00
Mallya, Ameya Keshava 0b4ce00f83 !verify functionality 2025-04-01 09:03:43 -07:00
Mallya, Ameya Keshava 9122c05c35 !verify functionality
[ROCm/hip commit: b8c158d0b0]
2025-04-01 09:01:39 -07:00
Mallya, Ameya Keshava b8c158d0b0 !verify functionality 2025-04-01 09:01:39 -07:00
Betigeri, Sourabh 7aee38f180 [hip] Data types for hipLaunchKernelExC with cooperative launch support (#42)
[ROCm/hip commit: 0dfd257dc2]
2025-04-01 08:33:22 -07:00
Betigeri, Sourabh 0dfd257dc2 [hip] Data types for hipLaunchKernelExC with cooperative launch support (#42) 2025-04-01 08:33:22 -07:00
Ben Richard b2bf0bb912 rocprof-sys-run: Change terminal color back to normal after printing usage (#155)
* Change terminal color back to normal after printing usage

* Format source

---------

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

[ROCm/rocprofiler-systems commit: ee11f5b206]
2025-04-01 11:06:40 -04:00
Ben Richard ee11f5b206 rocprof-sys-run: Change terminal color back to normal after printing usage (#155)
* Change terminal color back to normal after printing usage

* Format source

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-04-01 11:06:40 -04:00
ywang103-amd 6e1cab4e03 re-write fucntion that detects whether v1 is in use to avoid false negative result when ROCPROF is not set (#647)
[ROCm/rocprofiler-compute commit: 7b38766caa]
2025-03-31 16:40:53 -04:00
ywang103-amd 7b38766caa re-write fucntion that detects whether v1 is in use to avoid false negative result when ROCPROF is not set (#647) 2025-03-31 16:40:53 -04:00
Mallya, Ameya Keshava b827c1ec09 Adding !verify features
[ROCm/rocprofiler-register commit: 603038d4d6]
2025-03-31 13:35:09 -07:00
Mallya, Ameya Keshava 603038d4d6 Adding !verify features 2025-03-31 13:35:09 -07:00
Mallya, Ameya Keshava 91b5449851 Adding !verify features
[ROCm/rocprofiler-sdk commit: 8178bbc782]
2025-03-31 13:33:42 -07:00
Mallya, Ameya Keshava 8178bbc782 Adding !verify features 2025-03-31 13:33:42 -07:00
Mallya, Ameya Keshava f117699bef !verify functionality
[ROCm/clr commit: ae1d0ef8a1]
2025-03-31 13:14:08 -07:00
Mallya, Ameya Keshava ae1d0ef8a1 !verify functionality 2025-03-31 13:14:08 -07:00
Mallya, Ameya Keshava 39e8911fbc Adding !verify features
Signed-off-by: Mallya, Ameya Keshava <AmeyaKeshava.Mallya@amd.com>
2025-03-31 13:05:52 -07:00
Mallya, Ameya Keshava 7adfc15d58 Adding !verify features
Signed-off-by: Mallya, Ameya Keshava <AmeyaKeshava.Mallya@amd.com>

[ROCm/ROCR-Runtime commit: 39e8911fbc]
2025-03-31 13:05:52 -07:00
Mallya, Ameya Keshava 6d058df048 Adding !verify features
[ROCm/hip-tests commit: f2aaec260c]
2025-03-31 12:51:03 -07:00
Mallya, Ameya Keshava f2aaec260c Adding !verify features 2025-03-31 12:51:03 -07:00
Baraldi, Giovanni b382041b4f SWDEV-523436: Fix logging of code object id=0. Add perfevent test. (#318)
* SWDEV-523436: Fix logging of code object id=0. Add perfevent test.

* Apply suggestions from code review

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>

[ROCm/rocprofiler-sdk commit: 48c672e23e]
2025-03-31 10:34:53 -07:00
Baraldi, Giovanni 48c672e23e SWDEV-523436: Fix logging of code object id=0. Add perfevent test. (#318)
* SWDEV-523436: Fix logging of code object id=0. Add perfevent test.

* Apply suggestions from code review

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
2025-03-31 10:34:53 -07:00
David Galiffi a2d567a467 Update dyninst submodule (#153)
Fix GGC 13 build failure caused by a missing include of <array>

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

[ROCm/rocprofiler-systems commit: beae5e5b44]
2025-03-31 11:10:48 -04:00
David Galiffi beae5e5b44 Update dyninst submodule (#153)
Fix GGC 13 build failure caused by a missing include of <array>

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-03-31 11:10:48 -04:00
David Galiffi 63ec6ec48d Additional AMD-SMI Updates (#149)
- Check AMDSMI header version to fix compilation failure with v2.0 header change
- Fix ROCM-SMI references in documentation and tests
- Check AMDSMI library version at runtime and output in logs
- Fix a possible exception occurring when an in-flight sample is outstanding while the component is shutting down.

[ROCm/rocprofiler-systems commit: 7bb45aba1c]
2025-03-31 11:07:50 -04:00
David Galiffi 7bb45aba1c Additional AMD-SMI Updates (#149)
- Check AMDSMI header version to fix compilation failure with v2.0 header change
- Fix ROCM-SMI references in documentation and tests
- Check AMDSMI library version at runtime and output in logs
- Fix a possible exception occurring when an in-flight sample is outstanding while the component is shutting down.
2025-03-31 11:07:50 -04:00
Lancelot SIX 6a4785f650 Fix Stochastic sampling trap handler
The trap handler should read the PERF_SNAPSHOT_DATA after all of
PERF_SNAPSHOT_DATA, PERF_SNAPSHOT_PC_LO and PERF_SNAPSHOT_PC_HI.  This
patch fixes this.

Change-Id: I7f78e16d7a0d8bfebb34906b4dff73c2eaeb5658
2025-03-31 10:20:19 +01:00
Lancelot SIX fff4455589 Fix Stochastic sampling trap handler
The trap handler should read the PERF_SNAPSHOT_DATA after all of
PERF_SNAPSHOT_DATA, PERF_SNAPSHOT_PC_LO and PERF_SNAPSHOT_PC_HI.  This
patch fixes this.

Change-Id: I7f78e16d7a0d8bfebb34906b4dff73c2eaeb5658


[ROCm/ROCR-Runtime commit: 6a4785f650]
2025-03-31 10:20:19 +01:00
Lancelot SIX eece210a5c trap_handler.s: Clear PERF_SNAPSHOT/HOST_TRAP before returning
Make sure to clear the HOST_TRAP and PERF_SNAPSHOT bits before returning
from the second level trap handler.  As those bits are sticky, this
ensures future re-entry to the trap handler (for context save for
example) will not be confused with a sampling trap.

Change-Id: I05e5e58779a650b324ac6e30d574dc6931340f13
Signed-off-by: Lancelot SIX <lancelot.six@amd.com>
2025-03-31 10:20:19 +01:00
Lancelot SIX 23254f7a1d trap_handler.s: Clear PERF_SNAPSHOT/HOST_TRAP before returning
Make sure to clear the HOST_TRAP and PERF_SNAPSHOT bits before returning
from the second level trap handler.  As those bits are sticky, this
ensures future re-entry to the trap handler (for context save for
example) will not be confused with a sampling trap.

Change-Id: I05e5e58779a650b324ac6e30d574dc6931340f13
Signed-off-by: Lancelot SIX <lancelot.six@amd.com>


[ROCm/ROCR-Runtime commit: eece210a5c]
2025-03-31 10:20:19 +01:00
Yuan, Perry 3bdca8b8b6 Implement CPU discovery support (#77)
* Implement CPU discovery support

SWDEV-482949:

enable the CPU model name info support to the RDC, rdci command
can detect GPU and CPU modules at the same time.
It will query the CPU info through the amdsmi interface like below:

1 GPUs found.
-----------------------------------------------------------------
GPU Index        Device Information
0               AMD Radeon PRO W7800
=================================================================
1 CPUs found.
-----------------------------------------------------------------
CPU Index        Device Information
0               AMD Ryzen Threadripper PRO 7995WX 96-Cores
-----------------------------------------------------------------

Change-Id: Ibc6533c9a61000cd86c45b1bae14c3eb6788c119
Signed-off-by: Perry Yuan <perry.yuan@amd.com>

* CMAKE - Add required version for amdsmi

Change-Id: I341a89351d196ec66cce215a5d1d3953302fcc66
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>

---------

Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Co-authored-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-03-31 10:58:36 +08:00
Yuan, Perry f0f44d977f Implement CPU discovery support (#77)
* Implement CPU discovery support

SWDEV-482949:

enable the CPU model name info support to the RDC, rdci command
can detect GPU and CPU modules at the same time.
It will query the CPU info through the amdsmi interface like below:

1 GPUs found.
-----------------------------------------------------------------
GPU Index        Device Information
0               AMD Radeon PRO W7800
=================================================================
1 CPUs found.
-----------------------------------------------------------------
CPU Index        Device Information
0               AMD Ryzen Threadripper PRO 7995WX 96-Cores
-----------------------------------------------------------------

Change-Id: Ibc6533c9a61000cd86c45b1bae14c3eb6788c119
Signed-off-by: Perry Yuan <perry.yuan@amd.com>

* CMAKE - Add required version for amdsmi

Change-Id: I341a89351d196ec66cce215a5d1d3953302fcc66
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>

---------

Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Co-authored-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>

[ROCm/rdc commit: 3bdca8b8b6]
2025-03-31 10:58:36 +08:00
Galantsev, Dmitrii 80ee980cdb CMAKE - Fix build types
Addresses issue https://github.com/ROCm/rdc/issues/43

Change-Id: I456184358524a6feef4bf83eecb655678c3bc42d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-03-30 18:54:54 -05:00
Galantsev, Dmitrii 874a7b438f CMAKE - Fix build types
Addresses issue https://github.com/ROCm/rdc/issues/43

Change-Id: I456184358524a6feef4bf83eecb655678c3bc42d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: 80ee980cdb]
2025-03-30 18:54:54 -05:00
Fei Zheng ee5df82698 Support host-trap PC Sampling on CLI (beta version)
[ROCm/rocprofiler-compute commit: 9bacad0876]
2025-03-28 16:51:49 -06:00
Fei Zheng 9bacad0876 Support host-trap PC Sampling on CLI (beta version) 2025-03-28 16:51:49 -06:00