Commit Graph

64836 Commits

Author SHA1 Message Date
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
Arif, Maisam d7e8c02428 [SWDEV-524528] Nullptr check correction for TestErrCntRead (#38)
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>

[ROCm/rocm_smi_lib commit: 91f30c5756]
2025-03-28 12:14:28 -05:00
Arif, Maisam 91f30c5756 [SWDEV-524528] Nullptr check correction for TestErrCntRead (#38)
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2025-03-28 12:14:28 -05:00
Baraldi, Giovanni 6301f46d13 SWDEV-520093+SWDEV-521137+SWDEV-523996: Fix for missing AMDGPU_HSA_V6 (#20)
* Adding AMDGPU_HSA_V6

* Fix segment

* Fix conflicts

* ident fix

* Symbol lookup fix

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
2025-03-28 10:02:49 -07:00
Baraldi, Giovanni 1a3e33774c SWDEV-520093+SWDEV-521137+SWDEV-523996: Fix for missing AMDGPU_HSA_V6 (#20)
* Adding AMDGPU_HSA_V6

* Fix segment

* Fix conflicts

* ident fix

* Symbol lookup fix

---------

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

[ROCm/rocprofiler commit: 6301f46d13]
2025-03-28 10:02:49 -07:00
Mallya, Ameya Keshava f7601f0fe5 Added KWS check for amd-mainline
[ROCm/hipother commit: fa53966bc5]
2025-03-28 09:22:20 -07:00
Mallya, Ameya Keshava fa53966bc5 Added KWS check for amd-mainline 2025-03-28 09:22:20 -07:00
Mallya, Ameya Keshava 265ef6e71a Added KWS check for amd-mainline (#9)
[ROCm/rocminfo commit: 5c8c974e71]
2025-03-28 09:19:43 -07:00
Mallya, Ameya Keshava 5c8c974e71 Added KWS check for amd-mainline (#9) 2025-03-28 09:19:43 -07:00
Mallya, Ameya Keshava 5dfa8fb922 Added KWS check for amd-mainline (#3)
[ROCm/rocm-core commit: ecb7d612c7]
2025-03-28 08:40:22 -07:00
Mallya, Ameya Keshava ecb7d612c7 Added KWS check for amd-mainline (#3) 2025-03-28 08:40:22 -07:00
Mallya, Ameya Keshava f17b7e8c3e Added KWS check for amd-mainline 2025-03-28 08:39:23 -07:00
Mallya, Ameya Keshava be0f948018 Added KWS check for amd-mainline
[ROCm/rocprofiler commit: f17b7e8c3e]
2025-03-28 08:39:23 -07:00
Mallya, Ameya Keshava 38e4d2c78b Added KWS check for amd-mainline
[ROCm/rocm-core commit: 5da6a07d56]
2025-03-28 08:38:44 -07:00
Mallya, Ameya Keshava 5da6a07d56 Added KWS check for amd-mainline 2025-03-28 08:38:44 -07:00