Galantsev, Dmitrii
ee3caa23ed
Merge amd-staging into amd-master 20240808
...
Change-Id: I15b180364b79de72a74ae52fbce7009122a01415
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2024-08-08 16:38:24 -05:00
Maisam Arif
055b023d2e
Bump version tool:2.3.1+hash
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ic67456d7484c2f5a0ce0e086e56b29e20d9d9745
2024-08-08 01:40:55 -05:00
Giovanni LB
00163488d7
Fixing perfetto tracks for multigpu
...
Change-Id: I0b18180218fc19c8a478112e9a374e863fd3741c
2024-08-08 00:59:48 -04:00
Giovanni LB
a34d5dbc16
Fixing perfetto tracks for multigpu
...
Change-Id: I0b18180218fc19c8a478112e9a374e863fd3741c
[ROCm/rocprofiler commit: 00163488d7 ]
2024-08-08 00:59:48 -04:00
gobhardw
1a63cba43d
issue 40 typos fix
...
Change-Id: I486301c42bc5691a4d8a852e0ce168f8ca7776a0
2024-08-07 16:09:31 -04:00
gobhardw
b363586f82
issue 40 typos fix
...
Change-Id: I486301c42bc5691a4d8a852e0ce168f8ca7776a0
[ROCm/rocprofiler commit: 1a63cba43d ]
2024-08-07 16:09:31 -04:00
David Galiffi
b12bd4f522
Create ROCm 6.2 Installers ( #369 )
...
* Add ROCm 6.2 to CPACK workflow.
* Update APT-Get packages
- hipcc is no longer included in hip-runtime-amd meta packages. This change standardizes the installs with the other OSes.
* Bump version to 1.11.4
---------
Signed-off-by: David Galiffi <David.Galiffi@amd.com >
[ROCm/rocprofiler-systems commit: 6b0627f5b7 ]
2024-08-07 15:10:30 -04:00
David Galiffi
6b0627f5b7
Create ROCm 6.2 Installers ( #369 )
...
* Add ROCm 6.2 to CPACK workflow.
* Update APT-Get packages
- hipcc is no longer included in hip-runtime-amd meta packages. This change standardizes the installs with the other OSes.
* Bump version to 1.11.4
---------
Signed-off-by: David Galiffi <David.Galiffi@amd.com >
2024-08-07 15:10:30 -04:00
Ian Trowbridge
cd2ff0250e
SWDEV-474739: Added flag to optionally remove serialization for counter collection mode
...
Change-Id: I2e91fd51287fe923ec6a97b491f84f0dd9d51f62
2024-08-07 11:36:16 -05:00
Ian Trowbridge
f731ae7593
SWDEV-474739: Added flag to optionally remove serialization for counter collection mode
...
Change-Id: I2e91fd51287fe923ec6a97b491f84f0dd9d51f62
[ROCm/rocprofiler commit: cd2ff0250e ]
2024-08-07 11:36:16 -05:00
David Yat Sin
2853bf03f0
Add new system event for memory errors
...
Currently, the only error type is HSA_AMD_MEMORY_ERROR_MEMORY_IN_USE,
which happens when a user application incorrectly tries to free memory
that is currently being used by underlying device hardware.
Change-Id: I8ce352eb9719694135fba1fa56d62368036b2e5e
Signed-off-by: Chris Freehill <cfreehil@amd.com >
2024-08-07 02:59:00 +00:00
Saleel Kudchadker
26e105d9ab
Initial external logging API
...
New API to accept a file stream for logging
Co-authored-by: David Yat Sin <David.YatSin@amd.com >
Change-Id: Ie09c35ae14ca86a97eb25f61251be287c55d7169
Signed-off-by: Chris Freehill <cfreehil@amd.com >
2024-08-07 02:59:00 +00:00
Jonathan R. Madsen
64af2d71ef
Fix hsa_amd_vmem_address_reserve_align_fn addition
...
- https://gerrit-git.amd.com/c/hsa/ec/hsa-runtime/+/1058280 erroneously placed the new function pointer in the middle of the struct instead of the end
Change-Id: I49d1fa86a86764138250cd0471df1915a756d1ca
Signed-off-by: Chris Freehill <cfreehil@amd.com >
2024-08-07 02:59:00 +00:00
Chris Freehill
c48b858093
Update documentation
...
Sync with the latest changes from upstream repo
Change-Id: I309880f5c7f77c58a8b186db320bbc0f0e634089
2024-08-07 02:58:34 +00:00
SrirakshaNag
b57f5ccee1
fixing rocprofv3 doc ( #1007 )
...
[ROCm/rocprofiler-sdk commit: 403ab6efb1 ]
2024-08-06 12:39:09 -05:00
SrirakshaNag
403ab6efb1
fixing rocprofv3 doc ( #1007 )
2024-08-06 12:39:09 -05:00
Ranjith Ramakrishnan
aa8a83815e
Prevent the modification of interpreter directives
...
CPACK is converting /usr/bin/env python3 to /usr/libexec/platform-python in RHEL8.
Undefining __brp_mangle_shebangs will prevent the same
Change-Id: I0803d0a6cc1ddc991e8e9a8e6617436930ef013a
2024-08-06 10:54:27 -04:00
Ranjith Ramakrishnan
1b828b735b
SWDEV-476075 - Prevent the modification of interpreter directives
...
CPACK is converting /usr/bin/env python3 to /usr/libexec/platform-python in RHEL8.
Undefining __brp_mangle_shebangs will prevent the same
Change-Id: Id285e2cea1de583853cec17eccf0a3a794cca643
2024-08-05 09:50:04 -07:00
Giovanni LB
c4adefccde
SWDEV-476512: Further rocsys fixes
...
Change-Id: I9ae8534a2b6b23f76514920a6c4d39025bc882bc
2024-08-05 10:42:00 -04:00
Giovanni LB
6defbd0f2e
SWDEV-476512: Further rocsys fixes
...
Change-Id: I9ae8534a2b6b23f76514920a6c4d39025bc882bc
[ROCm/rocprofiler commit: c4adefccde ]
2024-08-05 10:42:00 -04:00
David Galiffi
5e5a9cabc9
This fixes the CPACK workflow failures for Ubuntu and RHEL ( #368 )
...
* Add texinfo to Ubuntu and RHEL docker files
* Add the `bison` package to Ubuntu dockerfile
* Update the CI docker files too.
---------
Signed-off-by: David Galiffi <David.Galiffi@amd.com >
[ROCm/rocprofiler-systems commit: d0d97490b4 ]
2024-08-02 16:03:19 -04:00
David Galiffi
d0d97490b4
This fixes the CPACK workflow failures for Ubuntu and RHEL ( #368 )
...
* Add texinfo to Ubuntu and RHEL docker files
* Add the `bison` package to Ubuntu dockerfile
* Update the CI docker files too.
---------
Signed-off-by: David Galiffi <David.Galiffi@amd.com >
2024-08-02 16:03:19 -04:00
srawat
2dc1c0d9f5
rocprofv3 doc updates ( #982 )
...
* updating rocprofv3
* using rocprofv3
* review updates
* naming standardization
* Update source/docs/how-to/using-rocprofv3.rst
Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com >
* review comments
* adding API references
* kernel filtering
* Remove Sphinx warn as error
To bypass false warning for linking between rst and md
* remove unused (duplicate) refs in _toc.yml.in
---------
Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com >
Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com >
Co-authored-by: Sam Wu <22262939+samjwu@users.noreply.github.com >
Co-authored-by: Peter Jun Park <peter.park@amd.com >
[ROCm/rocprofiler-sdk commit: 69caa62b60 ]
2024-08-02 14:08:04 -05:00
srawat
69caa62b60
rocprofv3 doc updates ( #982 )
...
* updating rocprofv3
* using rocprofv3
* review updates
* naming standardization
* Update source/docs/how-to/using-rocprofv3.rst
Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com >
* review comments
* adding API references
* kernel filtering
* Remove Sphinx warn as error
To bypass false warning for linking between rst and md
* remove unused (duplicate) refs in _toc.yml.in
---------
Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com >
Co-authored-by: Leo Paoletti <164940351+lpaoletti@users.noreply.github.com >
Co-authored-by: Sam Wu <22262939+samjwu@users.noreply.github.com >
Co-authored-by: Peter Jun Park <peter.park@amd.com >
2024-08-02 14:08:04 -05:00
Zhang Ava
481928965f
Merge amd-staging into amd-master 20240801
...
Signed-off-by: Zhang Ava <niandong.zhang@amd.com >
Change-Id: I8c9b1a2805e83e5de5873ef8fafaf38143c2ebd8
2024-08-02 13:12:38 +08:00
ajanicijamd
a705483ebc
Fix compilation with GCC 13 and Ubuntu 24.04 ( #362 )
...
* Modified submodules dyninst and timemory.
* Modified PAPI submodule to fix GCC 13 build for Ubuntu 24.04.
* Updated PAPI submodule URL.
* Fixed papi submodule URL.
* Using latest tag (papi-7-1-0-t) for papi submodule.
* Update submodule dyninst to new version
* Added a mirror to elfutils
[ROCm/rocprofiler-systems commit: c11abc4ea1 ]
2024-08-01 16:37:06 -04:00
ajanicijamd
c11abc4ea1
Fix compilation with GCC 13 and Ubuntu 24.04 ( #362 )
...
* Modified submodules dyninst and timemory.
* Modified PAPI submodule to fix GCC 13 build for Ubuntu 24.04.
* Updated PAPI submodule URL.
* Fixed papi submodule URL.
* Using latest tag (papi-7-1-0-t) for papi submodule.
* Update submodule dyninst to new version
* Added a mirror to elfutils
2024-08-01 16:37:06 -04:00
David Galiffi
1dc1ba86d3
Add release branches to workflow ( #365 )
...
Signed-off-by: David Galiffi <David.Galiffi@amd.com >
[ROCm/rocprofiler-systems commit: c078168944 ]
2024-08-01 15:39:36 -04:00
David Galiffi
c078168944
Add release branches to workflow ( #365 )
...
Signed-off-by: David Galiffi <David.Galiffi@amd.com >
2024-08-01 15:39:36 -04:00
Jonathan R. Madsen
8cea0cae2e
Tracing Documentation ( #997 )
...
* Update callback_services.md
* Callback tracing services
* Intercept table
* Buffer tracing
[ROCm/rocprofiler-sdk commit: cfbac19640 ]
2024-08-01 13:29:35 +05:30
Jonathan R. Madsen
cfbac19640
Tracing Documentation ( #997 )
...
* Update callback_services.md
* Callback tracing services
* Intercept table
* Buffer tracing
2024-08-01 13:29:35 +05:30
Jonathan R. Madsen
6c6adddb5c
Reorganize thread trace codeobj headers ( #1001 )
...
* include/rocprofiler-sdk/cxx/codeobj
- Relocated from include/rocprofiler-sdk/amd_detail/rocprofiler-sdk-codeobj
* Update include/rocprofiler-sdk/cxx
- cmake updates
- correct namespace rocprofiler::codeobj rocprofiler::sdk::codeobj
* Update codeobj tests and samples
[ROCm/rocprofiler-sdk commit: 20e07caad4 ]
2024-08-01 00:10:09 -05:00
Jonathan R. Madsen
20e07caad4
Reorganize thread trace codeobj headers ( #1001 )
...
* include/rocprofiler-sdk/cxx/codeobj
- Relocated from include/rocprofiler-sdk/amd_detail/rocprofiler-sdk-codeobj
* Update include/rocprofiler-sdk/cxx
- cmake updates
- correct namespace rocprofiler::codeobj rocprofiler::sdk::codeobj
* Update codeobj tests and samples
2024-08-01 00:10:09 -05:00
SrirakshaNag
03ff04bbe3
Adding changes for handling abort signals ( #979 )
...
* Adding changes for handling abort signals
* Fix the test failure
* Fixing CmakeLists error
* Addressing review comments
* fixing warnings
* fixing execute test
* Fixing abort app test
* Address review comments
* Apply suggestions from code review
* Apply suggestions from code review
* Fixes for testing issues
* Adding kernel filtering test
* Removing text input file
* fix formatting issues
* misc fix
* Suppress signal-unsafe error in ThreadSanitizer
- rename signal handler to rocprofv3_error_signal_handler to ensure specific filtering
* Fix rocprofv3 aborted-app validation
---------
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com >
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com >
[ROCm/rocprofiler-sdk commit: 94b5d9be3f ]
2024-08-01 09:16:01 +05:30
SrirakshaNag
94b5d9be3f
Adding changes for handling abort signals ( #979 )
...
* Adding changes for handling abort signals
* Fix the test failure
* Fixing CmakeLists error
* Addressing review comments
* fixing warnings
* fixing execute test
* Fixing abort app test
* Address review comments
* Apply suggestions from code review
* Apply suggestions from code review
* Fixes for testing issues
* Adding kernel filtering test
* Removing text input file
* fix formatting issues
* misc fix
* Suppress signal-unsafe error in ThreadSanitizer
- rename signal handler to rocprofv3_error_signal_handler to ensure specific filtering
* Fix rocprofv3 aborted-app validation
---------
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com >
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com >
2024-08-01 09:16:01 +05:30
Giovanni LB
7edee28288
SWDEV-477001: Fixing line offset and copy command for webui
...
Change-Id: I830bc7afd552e314f931514e938ba2214a765e63
2024-08-01 00:32:58 -03:00
Giovanni LB
9915421ec0
SWDEV-477001: Fixing line offset and copy command for webui
...
Change-Id: I830bc7afd552e314f931514e938ba2214a765e63
[ROCm/rocprofiler commit: 7edee28288 ]
2024-08-01 00:32:58 -03:00
Ranjith Ramakrishnan
c9201f7736
SWDEV-469004 - Append additonal path to system path
...
rocm-smi is installed in /opt/rocm-ver/bin , but not as a soft link in wheel package
For rocm-smi to work from bin directory, it need the extra path to find rsmiBindings.py
Change-Id: I41388f680cb2ab9f11dc135639b0d30b66082392
2024-07-31 19:52:46 -04:00
Maisam Arif
c2235eea35
[SWDEV-464799] Handle UnicodeEncodeError with non UTF-8 locales
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ifb8e6e3c7891c4f70faba5441fb87cc4ba2302f3
2024-07-31 17:01:01 -04:00
Gopesh Bhardwaj
7310f8912a
Bump up version to 0.5.0 for AFAR VI ( #998 )
...
* Bump up version to 0.5.0 for AFAR VI
* updating changlog
* updating CI
[ROCm/rocprofiler-sdk commit: 018f3ce056 ]
2024-07-31 11:16:37 -05:00
Gopesh Bhardwaj
018f3ce056
Bump up version to 0.5.0 for AFAR VI ( #998 )
...
* Bump up version to 0.5.0 for AFAR VI
* updating changlog
* updating CI
2024-07-31 11:16:37 -05:00
SrirakshaNag
937b9344bb
fix iteration range and add tests ( #993 )
...
* fix iteration range and add tests
* addressing review comments on tests
[ROCm/rocprofiler-sdk commit: 4d7b8ece80 ]
2024-07-31 09:10:44 +05:30
SrirakshaNag
4d7b8ece80
fix iteration range and add tests ( #993 )
...
* fix iteration range and add tests
* addressing review comments on tests
2024-07-31 09:10:44 +05:30
Jonathan R. Madsen
ef22b7a484
rocprofv3 OTF2 Output Support ( #995 )
...
* CMake support for OTF2 library
* Preliminary OTF2 generation implementation
* Completed OTF2 Support
- HSA API
- HIP API
- Marker API
- Async Memory Copies
- Kernel Dispatch
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix location type for dispatches
* Testing for OTF2 output
* Add OTF2 to requirements.txt
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix getting kernel name
* OTF2 testing with rocprofv3/tracing-hip-in-libraries
* Format external/otf2/CMakeLists.txt
* Update external/otf2/CMakeLists.txt
- guard CMP0135 for cmake < 3.24
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix duplicate string ref issue
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix header includes
* Update CI workflow
- sudo install pypi requirements for core-rpm for $HOME/.local installs
* Update pytest_utils/otf2_reader.py
- modifications for reading trace
* Update pytest_utils/otf2_reader.py
- misc cleanup
* Update CI workflow
- fix installer artifact naming
* Update pytest_utils/otf2_reader.py
- handle slightly overlapping kernel timestamps for MI300
* OTF2 attributes for category
* Testing with OTF2Reader category attributes
* Fix memory leak in OTF2 generation
- leaking OTF2_AttributeList
[ROCm/rocprofiler-sdk commit: 16d535ef48 ]
2024-07-30 19:57:19 -05:00
Jonathan R. Madsen
16d535ef48
rocprofv3 OTF2 Output Support ( #995 )
...
* CMake support for OTF2 library
* Preliminary OTF2 generation implementation
* Completed OTF2 Support
- HSA API
- HIP API
- Marker API
- Async Memory Copies
- Kernel Dispatch
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix location type for dispatches
* Testing for OTF2 output
* Add OTF2 to requirements.txt
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix getting kernel name
* OTF2 testing with rocprofv3/tracing-hip-in-libraries
* Format external/otf2/CMakeLists.txt
* Update external/otf2/CMakeLists.txt
- guard CMP0135 for cmake < 3.24
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix duplicate string ref issue
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix header includes
* Update CI workflow
- sudo install pypi requirements for core-rpm for $HOME/.local installs
* Update pytest_utils/otf2_reader.py
- modifications for reading trace
* Update pytest_utils/otf2_reader.py
- misc cleanup
* Update CI workflow
- fix installer artifact naming
* Update pytest_utils/otf2_reader.py
- handle slightly overlapping kernel timestamps for MI300
* OTF2 attributes for category
* Testing with OTF2Reader category attributes
* Fix memory leak in OTF2 generation
- leaking OTF2_AttributeList
2024-07-30 19:57:19 -05:00
gobhardw
0b21b2dd7d
rocsys fixes
...
Change-Id: I6a7a5bc93f80c9285c1eb7a4b2e97015c1598b0e
2024-07-30 13:12:43 -04:00
gobhardw
977fd3861d
rocsys fixes
...
Change-Id: I6a7a5bc93f80c9285c1eb7a4b2e97015c1598b0e
[ROCm/rocprofiler commit: 0b21b2dd7d ]
2024-07-30 13:12:43 -04:00
Gopesh Bhardwaj
21e22a07e8
Headline Fix ( #996 )
...
* Headline Fix
* updating code owners list
* Exclude CODEOWNERS
[ROCm/rocprofiler-sdk commit: 3cd080e63b ]
2024-07-30 22:01:07 +05:30
Gopesh Bhardwaj
3cd080e63b
Headline Fix ( #996 )
...
* Headline Fix
* updating code owners list
* Exclude CODEOWNERS
2024-07-30 22:01:07 +05:30
Benjamin Welton
41ee6cc741
SQ Counter Documentation ( #978 )
...
* SQ Counter Documentation
Improve documentation of SQ counters. Attempts to
make what the counters are outputting (and where
applicable what the counter means in terms o
performance) more clear.
* pre-format
* Address comments + YAML formatting
* More definition fixes
---------
Co-authored-by: Benjamin Welton <ben@amd.com >
Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com >
[ROCm/rocprofiler-sdk commit: 27a408f5cc ]
2024-07-30 07:46:10 -05:00