* 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]
* 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>
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
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]
* 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]
* 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
* 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]
* Update README
- Overview
- Contributing
- Build and install
* Update workflows
- branches reflect new amd-mainline and amd-staging names instead of main and develop
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
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]
- 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]
- Support graph with different types of nodes with single
branch when DEBUG_CLR_GRAPH_PACKET_CAPTURE flag is enabled
Change-Id: I149a8629769cd0d5849ffefb04f1352668a685b6
Upstream soversion is at 5 for a while, but Debian's soversion has been set to
1 in the beginning of the rocm-smi-lib package. This is probably erroneous,
and the library should probably be better off being synchronized with upstream
so there is some kind of ABI compatibility between the two distributions.
.
FIXME: please use upstream soversion next time an ABI breakage justifies an
SOVERSION bump, instead of just incrementing the present version by one.
Author: Étienne Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2023-09-17
Change-Id: I6c4d28bd26889359c0b83c474d5ae58a81741cf4
Co-authored-by: Étienne Mollier <emollier@debian.org>
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
[ROCm/rocm_smi_lib commit: 1775ae4b8d]
Upstream soversion is at 5 for a while, but Debian's soversion has been set to
1 in the beginning of the rocm-smi-lib package. This is probably erroneous,
and the library should probably be better off being synchronized with upstream
so there is some kind of ABI compatibility between the two distributions.
.
FIXME: please use upstream soversion next time an ABI breakage justifies an
SOVERSION bump, instead of just incrementing the present version by one.
Author: Étienne Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2023-09-17
Change-Id: I6c4d28bd26889359c0b83c474d5ae58a81741cf4
Co-authored-by: Étienne Mollier <emollier@debian.org>
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
When built with LTO enabled, the linking of liboam.so chokes on the
following error, which is somewhat similar to the Debian bug #1030876
affecting PA-RISC, although the symptoms subtly differs in that it
suggests to build using -fPIC:
/usr/bin/ld: /tmp/cc0wF8Kx.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol `_ZTVSt9exception@@GLIBCXX_3.4' can not be used when making a shared object; recompile with -fPIC
The -fPIC argument is passed appropriately down to the build command,
however it looks to be erased by the late introduction of -fPIE flag
by upstream build system. Erasing this flag allows the build to go
through, both with LTO and on PA-RISC.
Bug: https://github.com/RadeonOpenCompute/rocm_smi_lib/issues/111
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015653
Change-Id: I8b35fd4b62cfa1a9ddb145362464df5dd276e2f5
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
[ROCm/rocm_smi_lib commit: c4c19e7917]
When built with LTO enabled, the linking of liboam.so chokes on the
following error, which is somewhat similar to the Debian bug #1030876
affecting PA-RISC, although the symptoms subtly differs in that it
suggests to build using -fPIC:
/usr/bin/ld: /tmp/cc0wF8Kx.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol `_ZTVSt9exception@@GLIBCXX_3.4' can not be used when making a shared object; recompile with -fPIC
The -fPIC argument is passed appropriately down to the build command,
however it looks to be erased by the late introduction of -fPIE flag
by upstream build system. Erasing this flag allows the build to go
through, both with LTO and on PA-RISC.
Bug: https://github.com/RadeonOpenCompute/rocm_smi_lib/issues/111
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015653
Change-Id: I8b35fd4b62cfa1a9ddb145362464df5dd276e2f5
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
- Address corner cases that can arise with the new
hipMemcpyDeviceToDeviceNoCU enum
- Better log
Change-Id: I6035b901f8d616741054b7a5ff4f67956329ac57
[ROCm/clr commit: 5662d4037c]
If we submit a systemScope Barrier, we should reset this flag as there
is no need for dispatch AQL again to flush caches/HDP
Change-Id: I55710feb4ba6650852e785b5cadfa64c6b9ce14e
[ROCm/clr commit: de2b06a7a7]
If we submit a systemScope Barrier, we should reset this flag as there
is no need for dispatch AQL again to flush caches/HDP
Change-Id: I55710feb4ba6650852e785b5cadfa64c6b9ce14e