Commit Graph

64521 Commits

Author SHA1 Message Date
Ioannis Assiouras b06dda1f09 SWDEV-492356 - Install artifacts needed by UUID tests at the top level directory
Change-Id: I960efecfdfc7a0c39a8beec6a334e6aa08095f9c
2024-11-22 11:02:23 +00:00
Benjamin Welton 39db3e8a1d Add rocprofiler_load_counter_definition (#1193)
Adds rocprofiler_load_counter_definition. This function allows a counter definition file to be supplied to rocprofiler-sdk directly. Takes in a string containing the counter definition YAML, its size (in bytes), and a flag value to state whether this is an append operation or not.

---------

Co-authored-by: Benjamin Welton <ben@amd.com>
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
Co-authored-by: usrihari123 <srihari.u@amd.com>

[ROCm/rocprofiler-sdk commit: 7ddc72ad45]
2024-11-22 01:55:47 -08:00
Benjamin Welton 7ddc72ad45 Add rocprofiler_load_counter_definition (#1193)
Adds rocprofiler_load_counter_definition. This function allows a counter definition file to be supplied to rocprofiler-sdk directly. Takes in a string containing the counter definition YAML, its size (in bytes), and a flag value to state whether this is an append operation or not.

---------

Co-authored-by: Benjamin Welton <ben@amd.com>
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
Co-authored-by: usrihari123 <srihari.u@amd.com>
2024-11-22 01:55:47 -08:00
Gopesh Bhardwaj 5bea1772ea SDK doc updates (#1183)
* correcting usage example

* rccl trace

* Adding Navi power state limitation

* Addressed feedback

* kernel-rename

* kokkos trace

* more information on kookos tracing

* Corecting tool library hardcoding

* summary domains

* Updating domain stats file

* updating images

* rocprofv3 default behavior update

* Removing README from API documentation

* Added missing description in Topics

* Fixed wrong rendering of README in API document

* Fixing Topics in API docs

* Removing API doc for details/rccl.h

* Addressed review comments

[ROCm/rocprofiler-sdk commit: 7ea9ced493]
2024-11-22 12:05:11 +05:30
Gopesh Bhardwaj 7ea9ced493 SDK doc updates (#1183)
* correcting usage example

* rccl trace

* Adding Navi power state limitation

* Addressed feedback

* kernel-rename

* kokkos trace

* more information on kookos tracing

* Corecting tool library hardcoding

* summary domains

* Updating domain stats file

* updating images

* rocprofv3 default behavior update

* Removing README from API documentation

* Added missing description in Topics

* Fixed wrong rendering of README in API document

* Fixing Topics in API docs

* Removing API doc for details/rccl.h

* Addressed review comments
2024-11-22 12:05:11 +05:30
Ioannis Assiouras a22553fb33 SWDEV-494409 - Fixed segfault caused by aligned_free called on unaligned memory
Change-Id: I8ddea5c309b568db25c92789bf71be341d19c3ba


[ROCm/clr commit: 2cc9f59774]
2024-11-22 03:08:04 +00:00
Ioannis Assiouras 2cc9f59774 SWDEV-494409 - Fixed segfault caused by aligned_free called on unaligned memory
Change-Id: I8ddea5c309b568db25c92789bf71be341d19c3ba
2024-11-22 03:08:04 +00:00
Saleel Kudchadker 7d8304e100 SWDEV-497886 - Fix unaligned size copy for kernel args
Change-Id: If6675b98178aeb35f376d6994555cbf941b048c3


[ROCm/clr commit: 2273a1dbdc]
2024-11-21 14:30:04 -05:00
Saleel Kudchadker 2273a1dbdc SWDEV-497886 - Fix unaligned size copy for kernel args
Change-Id: If6675b98178aeb35f376d6994555cbf941b048c3
2024-11-21 14:30:04 -05:00
Ioannis Assiouras b5d95b82c0 SWDEV-454316 - Disabled atomicMin/Max tests that fail on linux PSDB
Change-Id: If0605233b7b869d3b3eb97feab1fe3be77c7ceba


[ROCm/hip-tests commit: b1d409634b]
2024-11-21 18:16:07 +00:00
Ioannis Assiouras b1d409634b SWDEV-454316 - Disabled atomicMin/Max tests that fail on linux PSDB
Change-Id: If0605233b7b869d3b3eb97feab1fe3be77c7ceba
2024-11-21 18:16:07 +00:00
Vladimir Indic e11b553a26 PC sampling services provides dispatch id (#1209)
[ROCm/rocprofiler-sdk commit: 8d2ce4b475]
2024-11-21 11:10:31 -06:00
Vladimir Indic 8d2ce4b475 PC sampling services provides dispatch id (#1209) 2024-11-21 11:10:31 -06:00
Chen Gong 251fcbe49d rocprofiler: add valu utilization
SWDEV-475242

For the description of "FP32 Engine Activity" and "FP64 Engine Activity" in dcgm,
It seems that we do not have an equivalent to these pipe-utilizations on our hardware.

In rocprofiler, I think VALU Utilization is the closest to what we want.

Change-Id: Ibce8835ef4757084cdfd73258de6fc1606ca0158
Signed-off-by: Chen Gong <curry.gong@amd.com>
2024-11-21 15:24:01 +08:00
Chen Gong a8086b484d rocprofiler: add valu utilization
SWDEV-475242

For the description of "FP32 Engine Activity" and "FP64 Engine Activity" in dcgm,
It seems that we do not have an equivalent to these pipe-utilizations on our hardware.

In rocprofiler, I think VALU Utilization is the closest to what we want.

Change-Id: Ibce8835ef4757084cdfd73258de6fc1606ca0158
Signed-off-by: Chen Gong <curry.gong@amd.com>


[ROCm/rdc commit: 251fcbe49d]
2024-11-21 15:24:01 +08:00
Maneesh Gupta 7ff1426782 Revert "SWDEV-475482 - hipTexObjectCreate align with cuda"
This reverts commit 84fb57e7f9.

Reason for revert: Even though this change is valid, this would break backward compatibility.

Change-Id: I9c7cab83198c8d5c8485b11194099162e3e7a874


[ROCm/clr commit: ec6f83b544]
2024-11-21 00:55:32 -05:00
Maneesh Gupta ec6f83b544 Revert "SWDEV-475482 - hipTexObjectCreate align with cuda"
This reverts commit efce2f77c4.

Reason for revert: Even though this change is valid, this would break backward compatibility.

Change-Id: I9c7cab83198c8d5c8485b11194099162e3e7a874
2024-11-21 00:55:32 -05:00
Giovanni Lenzi Baraldi a9256ea070 SWDEV-484742+SWDEV-489158: Dynamic record size for counter collection (#1208)
* Rebased optizations for rocprofv3 tool

* Fixing merge conflicts

* Formatting

* Open from within mutex

* Small name changes

* Added operator

[ROCm/rocprofiler-sdk commit: 6ae441f785]
2024-11-20 15:43:11 -06:00
Giovanni Lenzi Baraldi 6ae441f785 SWDEV-484742+SWDEV-489158: Dynamic record size for counter collection (#1208)
* Rebased optizations for rocprofv3 tool

* Fixing merge conflicts

* Formatting

* Open from within mutex

* Small name changes

* Added operator
2024-11-20 15:43:11 -06:00
Giovanni Baraldi a5192bb9b3 Small fix for stitch.py
Change-Id: I8435aaeb4452b54e5563bbdb47b269f9d0a97b3a
2024-11-20 15:28:51 -06:00
Giovanni Baraldi 3979438e90 Small fix for stitch.py
Change-Id: I8435aaeb4452b54e5563bbdb47b269f9d0a97b3a


[ROCm/rocprofiler commit: a5192bb9b3]
2024-11-20 15:28:51 -06:00
Vladimir Indic 42c6ffc0eb Host trap PC sampling uses new record type (#1207)
* Host trap PC sampling uses new record type

* removing redundant field

* formatting

* simplifying templates in the parser - no need for HostTrap boolean

* reviving some parser tests

* hw_id decoding on GFX9

* HW id parser test

* parser CID test

* Parser multigpu test

* removing rocprofiler_pc_sampling_record_t and some fields from hw_id

* simplifying parser context

* keep bench test internally

* initializing gfx9_hw_id_t differently

* anonymous struct first

* avoiding inlining initialization of struct

[ROCm/rocprofiler-sdk commit: bc52c17e64]
2024-11-20 14:02:47 -06:00
Vladimir Indic bc52c17e64 Host trap PC sampling uses new record type (#1207)
* Host trap PC sampling uses new record type

* removing redundant field

* formatting

* simplifying templates in the parser - no need for HostTrap boolean

* reviving some parser tests

* hw_id decoding on GFX9

* HW id parser test

* parser CID test

* Parser multigpu test

* removing rocprofiler_pc_sampling_record_t and some fields from hw_id

* simplifying parser context

* keep bench test internally

* initializing gfx9_hw_id_t differently

* anonymous struct first

* avoiding inlining initialization of struct
2024-11-20 14:02:47 -06:00
Jonathan Kim 0f02ed6ffb kfdtest: exclude negative testing from gfx908
GFX 9.0.8 may not properly support pipe reset capabilities so disable
test for now.

Change-Id: I3061cdad87eb979ba884c194f4229c0cbb144ee2
2024-11-20 12:23:09 -05:00
Jonathan Kim 65ebb89e70 kfdtest: exclude negative testing from gfx908
GFX 9.0.8 may not properly support pipe reset capabilities so disable
test for now.

Change-Id: I3061cdad87eb979ba884c194f4229c0cbb144ee2


[ROCm/ROCR-Runtime commit: 0f02ed6ffb]
2024-11-20 12:23:09 -05:00
German Andryeyev a9daa4c8f4 SWDEV-486602 - Disable sysmem pool
Currently amd::Monitor can work in FILO mode for the active waits
and cause a delay in wakeup of some threads. That may have a problem
with the current sysmem pool design.

Change-Id: I145081478d1e0b282d8838855c5718f09cf54b69


[ROCm/clr commit: 9473f143c2]
2024-11-20 11:35:28 -05:00
German Andryeyev 9473f143c2 SWDEV-486602 - Disable sysmem pool
Currently amd::Monitor can work in FILO mode for the active waits
and cause a delay in wakeup of some threads. That may have a problem
with the current sysmem pool design.

Change-Id: I145081478d1e0b282d8838855c5718f09cf54b69
2024-11-20 11:35:28 -05:00
Giovanni Lenzi Baraldi 3291f05e2e Remove check for instance count in aql_tests (#1214)
[ROCm/rocprofiler-sdk commit: 55aea3ef10]
2024-11-20 12:45:30 +01:00
Giovanni Lenzi Baraldi 55aea3ef10 Remove check for instance count in aql_tests (#1214) 2024-11-20 12:45:30 +01:00
Ioannis Assiouras 3be38db6a3 SWDEV-490855 - Add test cases to evaluate kernel launch performance with increasing number of idle streams
Change-Id: I466c57190259d4f5995b06974cc7f589580400b0


[ROCm/hip-tests commit: 22e27ec97f]
2024-11-20 04:19:23 -05:00
Ioannis Assiouras 22e27ec97f SWDEV-490855 - Add test cases to evaluate kernel launch performance with increasing number of idle streams
Change-Id: I466c57190259d4f5995b06974cc7f589580400b0
2024-11-20 04:19:23 -05:00
Rahul Manocha 572eb13c5c SWDEV-454316 - Fix for Atomic Min Max Testcases
Change-Id: Ieca965e6e17f4b17769938228340791b9bbe45ab


[ROCm/hip-tests commit: 0c230d3cf0]
2024-11-19 23:32:30 -05:00
Rahul Manocha 0c230d3cf0 SWDEV-454316 - Fix for Atomic Min Max Testcases
Change-Id: Ieca965e6e17f4b17769938228340791b9bbe45ab
2024-11-19 23:32:30 -05:00
Rahul Manocha 66a1b8d8e4 SWDEV-488308 - Fix memleak in NoGpuTest_hipMemcpy
Change-Id: Id349f189ffd26763c4624e76d7ea4ba139f9d8bc


[ROCm/hip-tests commit: 45ef528bdd]
2024-11-19 23:31:14 -05:00
Rahul Manocha 45ef528bdd SWDEV-488308 - Fix memleak in NoGpuTest_hipMemcpy
Change-Id: Id349f189ffd26763c4624e76d7ea4ba139f9d8bc
2024-11-19 23:31:14 -05:00
Rahul Manocha 96e1ea007f SWDEV-488214 - Fix MemLeak in hipIpcMemAccess_Semaphores test
Change-Id: Iaf123e88cf3ab4e50403a26355a9440c414022ae


[ROCm/hip-tests commit: 1d01cb0b18]
2024-11-19 23:30:53 -05:00
Rahul Manocha 1d01cb0b18 SWDEV-488214 - Fix MemLeak in hipIpcMemAccess_Semaphores test
Change-Id: Iaf123e88cf3ab4e50403a26355a9440c414022ae
2024-11-19 23:30:53 -05:00
Rahul Manocha b56373fe04 SWDEV-488316 - Fix memleaks in PrintfTests
Change-Id: I53e392ac41023a108874d5c58633b53f7b7b0007


[ROCm/hip-tests commit: 5dcd005d33]
2024-11-19 23:30:35 -05:00
Rahul Manocha 5dcd005d33 SWDEV-488316 - Fix memleaks in PrintfTests
Change-Id: I53e392ac41023a108874d5c58633b53f7b7b0007
2024-11-19 23:30:35 -05:00
Rahul Manocha 0cbda7f51f SWDEV-488304 - Fix memleak in hipIpcEventHandle test
Change-Id: Iaa51c7ba4d1fed52d08ed6f956d807c0fb2cc470


[ROCm/hip-tests commit: 823cc198f9]
2024-11-19 23:30:16 -05:00
Rahul Manocha 823cc198f9 SWDEV-488304 - Fix memleak in hipIpcEventHandle test
Change-Id: Iaa51c7ba4d1fed52d08ed6f956d807c0fb2cc470
2024-11-19 23:30:16 -05:00
Rahul Manocha a6baaab8fc SWDEV-488306 - Fix memleak for NoGpuTst_hipHostRegister
Change-Id: I919d7f24c1c9bdc9902c5b5cbd7068e8cd48d5ec


[ROCm/hip-tests commit: 255b4f5e79]
2024-11-19 23:29:50 -05:00
Rahul Manocha 255b4f5e79 SWDEV-488306 - Fix memleak for NoGpuTst_hipHostRegister
Change-Id: I919d7f24c1c9bdc9902c5b5cbd7068e8cd48d5ec
2024-11-19 23:29:50 -05:00
Rahul Manocha 24eea67593 SWDEV-486443 - Skip managed memory test for windows
Change-Id: Id2d99c80e73979173ff7558bedafa723a1eec813


[ROCm/hip-tests commit: dcc3dd7029]
2024-11-19 23:29:17 -05:00
Rahul Manocha dcc3dd7029 SWDEV-486443 - Skip managed memory test for windows
Change-Id: Id2d99c80e73979173ff7558bedafa723a1eec813
2024-11-19 23:29:17 -05:00
Rahul Manocha 84fb57e7f9 SWDEV-475482 - hipTexObjectCreate align with cuda
Support zero width and height for hipTextObjectCreate to align
with cuda.

Change-Id: I5d4c48625faf5f060ed2a7e634ec65e4ecac9da5


[ROCm/clr commit: efce2f77c4]
2024-11-19 23:28:55 -05:00
Rahul Manocha efce2f77c4 SWDEV-475482 - hipTexObjectCreate align with cuda
Support zero width and height for hipTextObjectCreate to align
with cuda.

Change-Id: I5d4c48625faf5f060ed2a7e634ec65e4ecac9da5
2024-11-19 23:28:55 -05:00
Rahul Manocha d0d4027db9 SWDEV-479575 - Child Graph dependencies fixed
Change-Id: Iaf2d8f0ae86e6a701d10f5867b742036392e5a43


[ROCm/hip-tests commit: ed5b962e62]
2024-11-19 23:27:30 -05:00
Rahul Manocha ed5b962e62 SWDEV-479575 - Child Graph dependencies fixed
Change-Id: Iaf2d8f0ae86e6a701d10f5867b742036392e5a43
2024-11-19 23:27:30 -05:00
Rahul Manocha 2172f9e961 SWDEV-454895 - Fix for Atomic Memory Order testcase failures
Change-Id: I66f92b57527c364b18a695bc9475f4c3432e742b


[ROCm/hip-tests commit: 5672b0d380]
2024-11-19 23:26:20 -05:00