76333 Коммитов

Автор SHA1 Сообщение Дата
David Yat Sin eb664927dd Add LoongArch64 Support
Patch submitted by user Xinmudotmoe on github

Change-Id: I58fd035b4ec4856f20d63747ababd49fa9764348


[ROCm/ROCR-Runtime commit: 1a7de9588e]
2023-10-26 11:36:16 -04:00
Parag Bhandari 8b9d8b966d Add gfx1031 support for building
Change-Id: Ie88d76404a09de07d66a84083a7a8549bff3d050
2023-10-26 11:33:02 -04:00
Parag Bhandari 54208cd7d0 Add gfx1031 support for building
Change-Id: Ie88d76404a09de07d66a84083a7a8549bff3d050


[ROCm/rocprofiler commit: 8b9d8b966d]
2023-10-26 11:33:02 -04:00
Giovanni Lenzi Baraldi 760e79267a Gbaraldi/pcparser (#58)
* Sample PC sampling parser library

* Fixed error message

* Added correlation_id tests. Fixed correlation_id.

* Fixed some tests.

* Added read_index to dispatch_pkt_id

* Added some comments

* Added more comments

* Moved test.cpp to a move descriptive file

* Added gfxip selection

* Added parser checks. Added GFXIP selection switch.

* Fixed dispatch_pkt_wrap with Joe's comments

* Performance improvement of 25%~100%

* Attempt at reducing overhead of dispatch bookkeeping

* Fixed cache invalidate

* Fixed error message descriptions

* Added GFX12

* Renamed files. Create C-only header.

* Formatting

* Other performance improvement

* source formatting (clang-format v11) (#63)

Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com>

* Added copyright

* Format-11

* Performance improvement. Added some GFX9 snap tests. Fixed hostTrap selector.

* Clang format.

* Added more gfx9 field tests

* Clang format

* Added parserv2 for pcsampling

* Added multibuffer test

* Created records processor

* Changed bFlipBuffer name

* pcs parser moved to lib/rocprofiler dir

* pcs parser compiles; one test moved

* pcs parser: tests copied from samples folder

The tests currently reside in the single .cpp.
They should be modularized and refactored to distinct unit tests
from integration test.

gfx9 test can fail sometimes. I did not have time
to deal with it.

Since Giovanni will continue working on this, I did not remove
pcs parser from the samples folder.

* cmake formatting (cmake-format) (#149)

Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>

* source formatting (clang-format v11) (#150)

Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>

* pcs parser: failing test removed for now

* pcs parser: fixing static errors and separating template definitions from implementation

* cmake formatting (cmake-format) (#152)

Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>

* source formatting (clang-format v11) (#153)

Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>

* pcs parser: fixing CI/CD errors

* source formatting (clang-format v11) (#154)

Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>

* pcs parser: parsers removed from samples

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com>
Co-authored-by: vlaindic <vladimir.indic@amd.com>
Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>

[ROCm/rocprofiler-sdk commit: 07aa54c5aa]
2023-10-26 08:14:02 -07:00
Giovanni Lenzi Baraldi 07aa54c5aa Gbaraldi/pcparser (#58)
* Sample PC sampling parser library

* Fixed error message

* Added correlation_id tests. Fixed correlation_id.

* Fixed some tests.

* Added read_index to dispatch_pkt_id

* Added some comments

* Added more comments

* Moved test.cpp to a move descriptive file

* Added gfxip selection

* Added parser checks. Added GFXIP selection switch.

* Fixed dispatch_pkt_wrap with Joe's comments

* Performance improvement of 25%~100%

* Attempt at reducing overhead of dispatch bookkeeping

* Fixed cache invalidate

* Fixed error message descriptions

* Added GFX12

* Renamed files. Create C-only header.

* Formatting

* Other performance improvement

* source formatting (clang-format v11) (#63)

Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com>

* Added copyright

* Format-11

* Performance improvement. Added some GFX9 snap tests. Fixed hostTrap selector.

* Clang format.

* Added more gfx9 field tests

* Clang format

* Added parserv2 for pcsampling

* Added multibuffer test

* Created records processor

* Changed bFlipBuffer name

* pcs parser moved to lib/rocprofiler dir

* pcs parser compiles; one test moved

* pcs parser: tests copied from samples folder

The tests currently reside in the single .cpp.
They should be modularized and refactored to distinct unit tests
from integration test.

gfx9 test can fail sometimes. I did not have time
to deal with it.

Since Giovanni will continue working on this, I did not remove
pcs parser from the samples folder.

* cmake formatting (cmake-format) (#149)

Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>

* source formatting (clang-format v11) (#150)

Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>

* pcs parser: failing test removed for now

* pcs parser: fixing static errors and separating template definitions from implementation

* cmake formatting (cmake-format) (#152)

Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>

* source formatting (clang-format v11) (#153)

Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>

* pcs parser: fixing CI/CD errors

* source formatting (clang-format v11) (#154)

Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>

* pcs parser: parsers removed from samples

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com>
Co-authored-by: vlaindic <vladimir.indic@amd.com>
Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>
2023-10-26 08:14:02 -07:00
Ammar ELWazir b5fd31fb9b Fixing Versioned HIP Call
Change-Id: Ib768f8a53ffc6cc3bb89e6c867918b6440ce1cab
2023-10-26 14:50:16 +00:00
Ammar ELWazir 37ca411965 Fixing Versioned HIP Call
Change-Id: Ib768f8a53ffc6cc3bb89e6c867918b6440ce1cab


[ROCm/rocprofiler commit: b5fd31fb9b]
2023-10-26 14:50:16 +00:00
Ammar ELWazir c7f68524bf Fixing ROCM Patch Version issue (#30)
[ROCm/rocprofiler-register commit: 5aa94a7160]
2023-10-26 09:04:39 -05:00
Ammar ELWazir 5aa94a7160 Fixing ROCM Patch Version issue (#30) 2023-10-26 09:04:39 -05:00
guanyu12 ffcdf5aab4 Merge amd-staging into amd-master 20231026
Signed-off-by: guanyu12 <guanyu12@amd.com>
Change-Id: I57e13f063345d6932d285257815638096f23d1d6


[ROCm/rocm_smi_lib commit: fe6bf6444a]
2023-10-26 14:51:27 +08:00
guanyu12 fe6bf6444a Merge amd-staging into amd-master 20231026
Signed-off-by: guanyu12 <guanyu12@amd.com>
Change-Id: I57e13f063345d6932d285257815638096f23d1d6
2023-10-26 14:51:27 +08:00
guanyu12 b30304aca0 Merge amd-dev into amd-master 20231026
Signed-off-by: guanyu12 <guanyu12@amd.com>
Change-Id: Ib2aee67ad342022e202258fcc881082fee49e60f
2023-10-26 14:44:39 +08:00
guanyu12 f5ebf4b37e Merge amd-dev into amd-master 20231026
Signed-off-by: guanyu12 <guanyu12@amd.com>
Change-Id: Ib2aee67ad342022e202258fcc881082fee49e60f


[ROCm/amdsmi commit: b30304aca0]
2023-10-26 14:44:39 +08:00
Ranjith Ramakrishnan 8babd28a50 SWDEV-427554 - Temporarily disable building of unittest in ASAN builds
Unittest is failing in ASAN builds. To unblock ASAN builds, disabling the same as a workaround
The test will run in non-asan builds

Change-Id: Ib3c8d7a2c77aa83e9c6260e9b47ccb0564f789e8
2023-10-25 17:45:54 -07:00
Ranjith Ramakrishnan 57d8b98c56 SWDEV-427554 - Temporarily disable building of unittest in ASAN builds
Unittest is failing in ASAN builds. To unblock ASAN builds, disabling the same as a workaround
The test will run in non-asan builds

Change-Id: Ib3c8d7a2c77aa83e9c6260e9b47ccb0564f789e8


[ROCm/rocprofiler commit: 8babd28a50]
2023-10-25 17:45:54 -07:00
Galantsev, Dmitrii 336ef57ed8 CMake - Configure __version__ for python scripts
Change-Id: I646dc27b5dc93e8dde38ff09ae9c826dfc7faaa7
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-10-25 18:03:18 -05:00
Galantsev, Dmitrii 33bfb69a7d CMake - Configure __version__ for python scripts
Change-Id: I646dc27b5dc93e8dde38ff09ae9c826dfc7faaa7
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 336ef57ed8]
2023-10-25 18:03:18 -05:00
Kiriti Gowda 34f1cc3b8f Dynamic Link Libraries - updates (#23)
* DRM - deps updates

* Link Libraries - Updates & cleanup

* LibDRM - Find in SLES fix

* Make Test - Fix Failures

[ROCm/rocdecode commit: 2af10a5d80]
2023-10-25 18:56:36 -04:00
Kiriti Gowda 2af10a5d80 Dynamic Link Libraries - updates (#23)
* DRM - deps updates

* Link Libraries - Updates & cleanup

* LibDRM - Find in SLES fix

* Make Test - Fix Failures
2023-10-25 18:56:36 -04:00
Julia Jiang c342617926 SWDEV-428174 - Adding LUID support on Windows
Change-Id: I51690a14a0867a07abeae45fdb5548e8496ffea1


[ROCm/hip commit: 3c533390e3]
2023-10-25 13:51:46 -04:00
Julia Jiang 3c533390e3 SWDEV-428174 - Adding LUID support on Windows
Change-Id: I51690a14a0867a07abeae45fdb5548e8496ffea1
2023-10-25 13:51:46 -04:00
Jonathan R. Madsen 97081a743a C++ filesystem and link to dl library in test exe (#29)
* Add lib/rocprofiler-register/details/filesystem.hpp

- this provides backwards compatibility for compiler which do not have <filesystem>
  - use <experimental/filesystem> when not available

* Update tests/CMakeLists.txt

- test executables link to dl library (via CMAKE_DL_LIBS)

* Update CI workflow

- include ubuntu-20.04 jobs

[ROCm/rocprofiler-register commit: 24041c4d87]
2023-10-25 12:49:13 -05:00
Jonathan R. Madsen 24041c4d87 C++ filesystem and link to dl library in test exe (#29)
* Add lib/rocprofiler-register/details/filesystem.hpp

- this provides backwards compatibility for compiler which do not have <filesystem>
  - use <experimental/filesystem> when not available

* Update tests/CMakeLists.txt

- test executables link to dl library (via CMAKE_DL_LIBS)

* Update CI workflow

- include ubuntu-20.04 jobs
2023-10-25 12:49:13 -05:00
Jonathan R. Madsen 26b7abc638 Update README and workflows (#27)
* Update README

- Overview
- Contributing
- Build and install

* Update workflows

- branches reflect new amd-mainline and amd-staging names instead of main and develop

[ROCm/rocprofiler-register commit: 40f37f9597]
2023-10-25 12:49:13 -05:00
Jonathan R. Madsen 40f37f9597 Update README and workflows (#27)
* Update README

- Overview
- Contributing
- Build and install

* Update workflows

- branches reflect new amd-mainline and amd-staging names instead of main and develop
2023-10-25 12:49:13 -05:00
Wenkai Du 446c8cbf66 msccl: reduce debug output when using NCCL_DEBUG=INFO (#932)
[ROCm/rccl commit: fb0eccb57b]
2023-10-25 08:05:19 -07:00
Wenkai Du fb0eccb57b msccl: reduce debug output when using NCCL_DEBUG=INFO (#932) 2023-10-25 08:05:19 -07:00
gobhardw ec8c8ccc44 SWDEV-408936 solving rocprof hang due to early initialization
Change-Id: Ia9c52f3b4c7ff191054cef40208f26b28f021378


[ROCm/roctracer commit: d4c2546336]
2023-10-25 20:02:27 +05:30
gobhardw d4c2546336 SWDEV-408936 solving rocprof hang due to early initialization
Change-Id: Ia9c52f3b4c7ff191054cef40208f26b28f021378
2023-10-25 20:02:27 +05:30
Sylvain Jeaugey e412c464c1 Merge tag 'v2.19.3-1'
[ROCm/rccl commit: 0e35f5d390]
2023-10-25 06:51:36 -07:00
Sylvain Jeaugey 0e35f5d390 Merge tag 'v2.19.3-1' 2023-10-25 06:51:36 -07:00
gobhardw 623d614d77 SWDEV-421283 : Fixing README for ATT
Change-Id: I4a85987b036dd27e344d0d2049ca8d22bf846dc2

Removed mention of deprecated SIMD_MASK
Removed duplicated ATT section

Change-Id: I4a85987b036dd27e344d0d2049ca8d22bf846dc2
2023-10-25 06:42:37 -04:00
gobhardw a668f1b56e SWDEV-421283 : Fixing README for ATT
Change-Id: I4a85987b036dd27e344d0d2049ca8d22bf846dc2

Removed mention of deprecated SIMD_MASK
Removed duplicated ATT section

Change-Id: I4a85987b036dd27e344d0d2049ca8d22bf846dc2


[ROCm/rocprofiler commit: 623d614d77]
2023-10-25 06:42:37 -04:00
Saleel Kudchadker d03b38ba62 SWDEV-422207 - Fix profiling check
Change-Id: Ia6ca28f0b593ea1680732684dd10f40c0043c973


[ROCm/clr commit: 182f6e2e6d]
2023-10-25 05:37:55 +00:00
Saleel Kudchadker 182f6e2e6d SWDEV-422207 - Fix profiling check
Change-Id: Ia6ca28f0b593ea1680732684dd10f40c0043c973
2023-10-25 05:37:55 +00:00
gobhardw 296c935874 SWDEV-427842: Fixing ATT csv mode
Change-Id: I7b8f37867d7aaf6da1301d91028990c343e555f1

- Updated README for kernel name truncation.
- Updated CHANGELOG.
- By default enabled truncation for ATT because csv file names should be smaller

Change-Id: I7b8f37867d7aaf6da1301d91028990c343e555f1
2023-10-25 00:06:13 -04:00
gobhardw c505fd6a2b SWDEV-427842: Fixing ATT csv mode
Change-Id: I7b8f37867d7aaf6da1301d91028990c343e555f1

- Updated README for kernel name truncation.
- Updated CHANGELOG.
- By default enabled truncation for ATT because csv file names should be smaller

Change-Id: I7b8f37867d7aaf6da1301d91028990c343e555f1


[ROCm/rocprofiler commit: 296c935874]
2023-10-25 00:06:13 -04:00
Wen-Heng (Jack) Chung 769f00db5c Introduce allgather for MSCCL on 8 sockets up to 320KB. (#931)
[ROCm/rccl commit: bfb8642450]
2023-10-24 18:41:12 -05:00
Wen-Heng (Jack) Chung bfb8642450 Introduce allgather for MSCCL on 8 sockets up to 320KB. (#931) 2023-10-24 18:41:12 -05:00
Wen-Heng (Jack) Chung 89a8493ef8 Introduce allgather MSCCL XML specification for MI250X up to 320KB. (#930)
[ROCm/rccl commit: 3f9ffe4788]
2023-10-24 18:35:55 -05:00
Wen-Heng (Jack) Chung 3f9ffe4788 Introduce allgather MSCCL XML specification for MI250X up to 320KB. (#930) 2023-10-24 18:35:55 -05:00
Wen-Heng (Jack) Chung fc2a13c077 Introduce 1-shot allreduce for MI250X Hayabusa. (#929)
[ROCm/rccl commit: 72d5fbddfd]
2023-10-24 16:31:18 -05:00
Wen-Heng (Jack) Chung 72d5fbddfd Introduce 1-shot allreduce for MI250X Hayabusa. (#929) 2023-10-24 16:31:18 -05:00
jeffqjiangNew ea743aa3af Merge a few fixes and updates of HEVC parsing into main. (#24)
* rocDecode/HEVC parsing: Implemented correct logic to set active VPS, SPS and PPS: start from slice header and up. Added video image size change detection. Fixed slice_segment_address bits calculation in slice segment header parsing.

* rocDecode/HEVC: Changed variable naming to Google style.

* rocDecode/HEVC: Added VPS, SPS, PPS, and slice segment header content logging functions for debug purposes.

* rocDecode/HEVC: Compacted opening bracket lines to keep coding style consistency.

* * rocDecode/HEVC: Fixed an issue in profile-tier-level parsing where 44 bits are skipped in an incorrect way using ReadBits() which can only consume 32 bits max. Also formated SPS parsing code by using pointer instead of array element.

* * rocDecode/HEVC: Fixed the incorrect array size for sps_max_dec_pic_buffering_minus1, sps_max_num_reorder_pics and sps_max_num_reorder_pics in SPS structure define.

* * rocDecode/HEVC: Modified scaling list parsing to make sure we explicitly follow the spec.

* * rocDecode/HEVC: Added a few syntax elements to short team RPS structure, updated RPS parsing function and logging function.

* * rocDecode/HEVC: In PPS parsing function, use structure pointer instead of structure array element to improve coding clarity.

* * rocDecode/HEVC: Compacted the opening bracket lines. No functional changes.

[ROCm/rocdecode commit: 8347fc7b0c]
2023-10-24 16:20:56 -04:00
jeffqjiangNew 8347fc7b0c Merge a few fixes and updates of HEVC parsing into main. (#24)
* rocDecode/HEVC parsing: Implemented correct logic to set active VPS, SPS and PPS: start from slice header and up. Added video image size change detection. Fixed slice_segment_address bits calculation in slice segment header parsing.

* rocDecode/HEVC: Changed variable naming to Google style.

* rocDecode/HEVC: Added VPS, SPS, PPS, and slice segment header content logging functions for debug purposes.

* rocDecode/HEVC: Compacted opening bracket lines to keep coding style consistency.

* * rocDecode/HEVC: Fixed an issue in profile-tier-level parsing where 44 bits are skipped in an incorrect way using ReadBits() which can only consume 32 bits max. Also formated SPS parsing code by using pointer instead of array element.

* * rocDecode/HEVC: Fixed the incorrect array size for sps_max_dec_pic_buffering_minus1, sps_max_num_reorder_pics and sps_max_num_reorder_pics in SPS structure define.

* * rocDecode/HEVC: Modified scaling list parsing to make sure we explicitly follow the spec.

* * rocDecode/HEVC: Added a few syntax elements to short team RPS structure, updated RPS parsing function and logging function.

* * rocDecode/HEVC: In PPS parsing function, use structure pointer instead of structure array element to improve coding clarity.

* * rocDecode/HEVC: Compacted the opening bracket lines. No functional changes.
2023-10-24 16:20:56 -04:00
Anusha GodavarthySurya d0b8c99103 SWDEV-422207 - Handle nonkernel nodes for graph opt
- Support graph with different types of nodes with single
branch when DEBUG_CLR_GRAPH_PACKET_CAPTURE flag is enabled

Change-Id: I149a8629769cd0d5849ffefb04f1352668a685b6


[ROCm/clr commit: 38d2c56784]
2023-10-24 18:36:06 +00:00
Anusha GodavarthySurya 38d2c56784 SWDEV-422207 - Handle nonkernel nodes for graph opt
- Support graph with different types of nodes with single
branch when DEBUG_CLR_GRAPH_PACKET_CAPTURE flag is enabled

Change-Id: I149a8629769cd0d5849ffefb04f1352668a685b6
2023-10-24 18:36:06 +00:00
Galantsev, Dmitrii 2b603be71b README - Add argcomplete instructions
Change-Id: I76a35e38735e71cd30ba62a177bed53300b63515
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-10-24 12:48:37 -04:00
Galantsev, Dmitrii 92400d8e31 README - Add argcomplete instructions
Change-Id: I76a35e38735e71cd30ba62a177bed53300b63515
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 2b603be71b]
2023-10-24 12:48:37 -04:00
Maisam Arif d6abcfa92d Enabled amd-smi auto completion using argcomplete
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I0ea48b1b3a10e738d1fe91db85bc61ad51b85de2
2023-10-24 12:39:12 -04:00