76333 Commits

Author SHA1 Message Date
Maisam Arif c72b239dce Merge amd-dev into amd-master 20240531
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ib9a365c295671771d3c806f4042482ee8875107d
2024-05-31 03:06:49 -05:00
Maisam Arif d2607a0dd0 Merge amd-dev into amd-master 20240531
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ib9a365c295671771d3c806f4042482ee8875107d


[ROCm/amdsmi commit: c72b239dce]
2024-05-31 03:06:49 -05:00
Maisam Arif 68d8c1ab46 Bump Version to 24.6.0.0 and Update Changelog for 6.2.0
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I7f20094514cbfa32e40a6e4da36785d94839768c
2024-05-31 03:05:42 -05:00
Maisam Arif 5e32624382 Bump Version to 24.6.0.0 and Update Changelog for 6.2.0
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I7f20094514cbfa32e40a6e4da36785d94839768c


[ROCm/amdsmi commit: 68d8c1ab46]
2024-05-31 03:05:42 -05:00
Maisam Arif e5d1ba4621 Use different sysfs for soc_pstate and xmgi_plpd
The sysfs is changed to use the pm_policy folder with multiple
dpm_policy files.

Change-Id: I40fac8de2d0cb127950d238b8196f6d2416778d0
2024-05-31 01:38:41 -04:00
Maisam Arif 7dfe4276cc Use different sysfs for soc_pstate and xmgi_plpd
The sysfs is changed to use the pm_policy folder with multiple
dpm_policy files.

Change-Id: I40fac8de2d0cb127950d238b8196f6d2416778d0


[ROCm/amdsmi commit: e5d1ba4621]
2024-05-31 01:38:41 -04:00
Aryan Salmanpour 048d2d8fca Add support for YUV440 (#28)
* Add support for YUV440

* Add YUV440 to RGB kernels

* code clean up

[ROCm/rocjpeg commit: d0b812bc26]
2024-05-30 22:00:07 -04:00
Aryan Salmanpour d0b812bc26 Add support for YUV440 (#28)
* Add support for YUV440

* Add YUV440 to RGB kernels

* code clean up
2024-05-30 22:00:07 -04:00
Galantsev, Dmitrii 0d40412479 SWDEV-464886 - Fix ASAN REGEX error in cmake
Change-Id: Iaa5deed3ac833ebf1a010b98cfd4493359653ffe
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rocm_smi_lib commit: 10f3c2325c]
2024-05-30 16:42:00 -05:00
Galantsev, Dmitrii 10f3c2325c SWDEV-464886 - Fix ASAN REGEX error in cmake
Change-Id: Iaa5deed3ac833ebf1a010b98cfd4493359653ffe
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-05-30 16:42:00 -05:00
gilbertlee-amd b35e2b8c4b Addressing possible out-of-bounds mem access during channel duplication (#1193)
[ROCm/rccl commit: 354e0b29a6]
2024-05-30 14:02:14 -06:00
gilbertlee-amd 354e0b29a6 Addressing possible out-of-bounds mem access during channel duplication (#1193) 2024-05-30 14:02:14 -06:00
Galantsev, Dmitrii bd1b14c176 SWDEV-464886 - Fix REGEX error in cmake
Simplify rocm-core dependency handling

Change-Id: I07de1d40e4a3c90481c2de3abe9aac3dbfdd6d93
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rocm_smi_lib commit: 2096c8225c]
2024-05-30 14:54:44 -05:00
Galantsev, Dmitrii 2096c8225c SWDEV-464886 - Fix REGEX error in cmake
Simplify rocm-core dependency handling

Change-Id: I07de1d40e4a3c90481c2de3abe9aac3dbfdd6d93
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-05-30 14:54:44 -05:00
Maisam Arif 80eeff3dd4 SWDEV-461038 - Enabled Passthrough as BM for CLI Commands
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I1ae6a065f10ce580b45b79c0a8588853f5f304f7
2024-05-30 15:47:14 -04:00
Maisam Arif 58177acb0b SWDEV-461038 - Enabled Passthrough as BM for CLI Commands
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I1ae6a065f10ce580b45b79c0a8588853f5f304f7


[ROCm/amdsmi commit: 80eeff3dd4]
2024-05-30 15:47:14 -04:00
Maisam Arif b39b39ef3c Temporary generator.py patch for amdsmi_bdf_t
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I93157127524b87e2e1445dcdc8588e62530bf68c
2024-05-30 15:35:38 -04:00
Maisam Arif d2719fa4f6 Temporary generator.py patch for amdsmi_bdf_t
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I93157127524b87e2e1445dcdc8588e62530bf68c


[ROCm/amdsmi commit: b39b39ef3c]
2024-05-30 15:35:38 -04:00
Dalibor Stanisavljevic 458dc8f180 SWDEV-457337 - Header aligment
Missing AMDSMI_STATUS prefix

Change-Id: I15d050a146c92f6897d48317d8fec51d046535d1
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com>
2024-05-30 15:35:38 -04:00
Dalibor Stanisavljevic 5153032416 SWDEV-457337 - Header aligment
Missing AMDSMI_STATUS prefix

Change-Id: I15d050a146c92f6897d48317d8fec51d046535d1
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com>


[ROCm/amdsmi commit: 458dc8f180]
2024-05-30 15:35:38 -04:00
Ammar ELWazir 2be8f71790 Temp: Disabling Perfetto Test
Change-Id: I602e3e752d508a45d42bf22e40b78d53a8e436d0
2024-05-30 12:49:15 -05:00
Ammar ELWazir 4a716c8a66 Temp: Disabling Perfetto Test
Change-Id: I602e3e752d508a45d42bf22e40b78d53a8e436d0


[ROCm/rocprofiler commit: 2be8f71790]
2024-05-30 12:49:15 -05:00
Aryan Salmanpour 4f5187a2ae Add support for handling exceptions while using the std::filesystem::recursive_directory_iterator (#27)
[ROCm/rocjpeg commit: b7edd5de5b]
2024-05-30 09:08:35 -04:00
Aryan Salmanpour b7edd5de5b Add support for handling exceptions while using the std::filesystem::recursive_directory_iterator (#27) 2024-05-30 09:08:35 -04:00
Maisam Arif 3aa62b082a Fixed None event being read in AmdSmiEventReader
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I2141421a133c867a5c91d7d18b73141513f1868b
2024-05-30 03:28:00 -04:00
Maisam Arif 8bcf57fd99 Fixed None event being read in AmdSmiEventReader
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I2141421a133c867a5c91d7d18b73141513f1868b


[ROCm/amdsmi commit: 3aa62b082a]
2024-05-30 03:28:00 -04:00
Maisam Arif 927b9c644b Moved --clear-sram-data to 'amd-smi reset'
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I46eaf7f887b15d6a8d8a31155bb3e448ef0ec04a
2024-05-30 02:26:40 -05:00
Maisam Arif 486db45f90 Moved --clear-sram-data to 'amd-smi reset'
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I46eaf7f887b15d6a8d8a31155bb3e448ef0ec04a


[ROCm/amdsmi commit: 927b9c644b]
2024-05-30 02:26:40 -05:00
Ammar ELWazir ec60eb0e23 Update pc_sampling.md (#896)
* Update pc_sampling.md

* Update pc_sampling.md

[ROCm/rocprofiler-sdk commit: 1bda31993f]
2024-05-30 00:42:09 -05:00
Ammar ELWazir 1bda31993f Update pc_sampling.md (#896)
* Update pc_sampling.md

* Update pc_sampling.md
2024-05-30 00:42:09 -05:00
guanyu12 dc9b10151f Merge amd-staging into amd-master 20240530
Signed-off-by: guanyu12 <guanyu12@amd.com>
Change-Id: Ia5eb36449a72cbfd579942b62d1168dc7598ef65


[ROCm/rocm_smi_lib commit: 96b2ccde76]
2024-05-30 11:34:52 +08:00
guanyu12 96b2ccde76 Merge amd-staging into amd-master 20240530
Signed-off-by: guanyu12 <guanyu12@amd.com>
Change-Id: Ia5eb36449a72cbfd579942b62d1168dc7598ef65
2024-05-30 11:34:52 +08:00
Jonathan R. Madsen 12ae4e6ce4 Migrate to rocprofiler-sdk:: namespace in CMake everywhere (#892)
- remove all usage/support for rocprofiler:: namespace

[ROCm/rocprofiler-sdk commit: a76f61a0a3]
2024-05-29 22:28:43 -05:00
Jonathan R. Madsen a76f61a0a3 Migrate to rocprofiler-sdk:: namespace in CMake everywhere (#892)
- remove all usage/support for rocprofiler:: namespace
2024-05-29 22:28:43 -05:00
Jonathan R. Madsen ada9d97b78 Miscellanous AFAR 5 Updates (#891)
* Dispatch table copy/update uses ROCP_TRACE instead of ROCP_INFO

* Update rocprofiler-sdk CMake config

- rocprofiler::rocprofiler is alias to rocprofiler-sdk::rocprofiler-sdk instead of other way around

* Prefer rocprofiler-sdk::rocprofiler-sdk over rocprofiler::rocprofiler

* Fix WITH_UNWIND for glog

- requires a value of "none" instead of boolean now

* Update include/rocprofiler-sdk/registration.h

- explicit struct names to permit forward decl

* Update include/rocprofiler-sdk/cxx/serialization.hpp

- ROCPROFILER_SDK_CEREAL_NAMESPACE_BEGIN and ROCPROFILER_SDK_CEREAL_NAMESPACE_END to enable customized namespace

[ROCm/rocprofiler-sdk commit: 5525b400c3]
2024-05-29 16:45:56 -05:00
Jonathan R. Madsen 5525b400c3 Miscellanous AFAR 5 Updates (#891)
* Dispatch table copy/update uses ROCP_TRACE instead of ROCP_INFO

* Update rocprofiler-sdk CMake config

- rocprofiler::rocprofiler is alias to rocprofiler-sdk::rocprofiler-sdk instead of other way around

* Prefer rocprofiler-sdk::rocprofiler-sdk over rocprofiler::rocprofiler

* Fix WITH_UNWIND for glog

- requires a value of "none" instead of boolean now

* Update include/rocprofiler-sdk/registration.h

- explicit struct names to permit forward decl

* Update include/rocprofiler-sdk/cxx/serialization.hpp

- ROCPROFILER_SDK_CEREAL_NAMESPACE_BEGIN and ROCPROFILER_SDK_CEREAL_NAMESPACE_END to enable customized namespace
2024-05-29 16:45:56 -05:00
Ranjith Ramakrishnan fd2eef084c SWDEV-451976 - Use cmake target for installing libraries
The installation of libraries should use the target signature rather than programs.
The TARGETS form will provide the right permission for the libraries

Change-Id: Iaaaeff960a8d85df92f5025e905082642d2225d9


[ROCm/clr commit: 775a077cb1]
2024-05-29 16:56:08 -04:00
Ranjith Ramakrishnan 775a077cb1 SWDEV-451976 - Use cmake target for installing libraries
The installation of libraries should use the target signature rather than programs.
The TARGETS form will provide the right permission for the libraries

Change-Id: Iaaaeff960a8d85df92f5025e905082642d2225d9
2024-05-29 16:56:08 -04:00
Aryan Salmanpour 4386ac884b Add support for handling exceptions while using the std::filesystem::recursive_directory_iterator (#358)
* FAdd support for handling exceptions while using the filesystem::recursive_directory_iterator

* use a common namesapce

[ROCm/rocdecode commit: 04a19c0aa9]
2024-05-29 16:32:51 -04:00
Aryan Salmanpour 04a19c0aa9 Add support for handling exceptions while using the std::filesystem::recursive_directory_iterator (#358)
* FAdd support for handling exceptions while using the filesystem::recursive_directory_iterator

* use a common namesapce
2024-05-29 16:32:51 -04:00
Saurabh Verma 4fb92ff114 Adding AID dimension for UMC support (#886)
* Adding AID dimension for UMC support

* fix for parser.reduction test

[ROCm/rocprofiler-sdk commit: 665fd567eb]
2024-05-29 15:09:56 -05:00
Saurabh Verma 665fd567eb Adding AID dimension for UMC support (#886)
* Adding AID dimension for UMC support

* fix for parser.reduction test
2024-05-29 15:09:56 -05:00
Gopesh Bhardwaj df0f64634a Update README.md (#888)
Updating ill formatted README

[ROCm/rocprofiler-sdk commit: c0542cbfb2]
2024-05-29 12:36:13 -05:00
Gopesh Bhardwaj c0542cbfb2 Update README.md (#888)
Updating ill formatted README
2024-05-29 12:36:13 -05:00
Gopesh Bhardwaj 80e48b11e0 Doc updates for AFAR V (#875)
* Doc updates for AFAR V

* doc updates

* Updating All AFAR history

* updating table with --output-format

* updating doc for yaml and json support

* Update source/docs/pc_sampling.md

* Update README.md

* Update source/docs/pc_sampling.md

Co-authored-by: Vladimir Indic <139573562+vlaindic@users.noreply.github.com>

* Update pc_sampling.md

---------

Co-authored-by: Ammar ELWazir <ammar.elwazir@amd.com>
Co-authored-by: Vladimir Indic <139573562+vlaindic@users.noreply.github.com>

[ROCm/rocprofiler-sdk commit: 6c41b8d73a]
2024-05-29 12:01:02 -05:00
Gopesh Bhardwaj 6c41b8d73a Doc updates for AFAR V (#875)
* Doc updates for AFAR V

* doc updates

* Updating All AFAR history

* updating table with --output-format

* updating doc for yaml and json support

* Update source/docs/pc_sampling.md

* Update README.md

* Update source/docs/pc_sampling.md

Co-authored-by: Vladimir Indic <139573562+vlaindic@users.noreply.github.com>

* Update pc_sampling.md

---------

Co-authored-by: Ammar ELWazir <ammar.elwazir@amd.com>
Co-authored-by: Vladimir Indic <139573562+vlaindic@users.noreply.github.com>
2024-05-29 12:01:02 -05:00
Giovanni Lenzi Baraldi e3ee7a5d0c Enable ATT continuous mode and code object tracing registration (#850)
* Adding ATT continuous mode and ATT code object tracking

* Fixing aql_packet.cpp

* Updating to aqlprofile codeobj changes

* Removing kernel packet from ATT dispatch callback

* Changing getSymbolMap() to return relative vaddr

* Tidy fixes

* Formatting

* Fix shadowing

* Fixing packet test

* Updating tests

* Simplifying multi-agent traces

* Adding dynamic codeobj tracking

* leftover book-keeping for codeobj markers

* Formatting

* Formatting

* Temporary removing codeobj marker

* Formatting

* Re-enabling codeobj tracking

* Making copy of coreapi table

* Fixing issues with toolData lifetile

* Formatting

* Fixing issues with ASAN

* Improving memory profile

* Removing misplaced annotation

* Fixing queue type and allowing shared_locks in globalThreadTracer

* Update logging

* Changing ATT formats to be more in line with the SDk (#883)

* Fixing some merge conflicts

* Fixing cmakelists

* Fixing merge conflicts

* Formatting

[ROCm/rocprofiler-sdk commit: 1b95089c28]
2024-05-29 11:09:28 -05:00
Giovanni Lenzi Baraldi 1b95089c28 Enable ATT continuous mode and code object tracing registration (#850)
* Adding ATT continuous mode and ATT code object tracking

* Fixing aql_packet.cpp

* Updating to aqlprofile codeobj changes

* Removing kernel packet from ATT dispatch callback

* Changing getSymbolMap() to return relative vaddr

* Tidy fixes

* Formatting

* Fix shadowing

* Fixing packet test

* Updating tests

* Simplifying multi-agent traces

* Adding dynamic codeobj tracking

* leftover book-keeping for codeobj markers

* Formatting

* Formatting

* Temporary removing codeobj marker

* Formatting

* Re-enabling codeobj tracking

* Making copy of coreapi table

* Fixing issues with toolData lifetile

* Formatting

* Fixing issues with ASAN

* Improving memory profile

* Removing misplaced annotation

* Fixing queue type and allowing shared_locks in globalThreadTracer

* Update logging

* Changing ATT formats to be more in line with the SDk (#883)

* Fixing some merge conflicts

* Fixing cmakelists

* Fixing merge conflicts

* Formatting
2024-05-29 11:09:28 -05:00
Benjamin Welton cc44c48952 Test fix for AQLProfile changes (#882)
* Test fix for AQLProfile changes

AQL profile recently changed where the ordering
of packets now needs to be read then stop (instead
of stop and read previously). This change supports
the newer model.

* Update source/lib/rocprofiler-sdk/counters/dispatch_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* test barrier

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

[ROCm/rocprofiler-sdk commit: 2225153c23]
2024-05-29 10:35:49 -05:00
Benjamin Welton 2225153c23 Test fix for AQLProfile changes (#882)
* Test fix for AQLProfile changes

AQL profile recently changed where the ordering
of packets now needs to be read then stop (instead
of stop and read previously). This change supports
the newer model.

* Update source/lib/rocprofiler-sdk/counters/dispatch_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* test barrier

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-29 10:35:49 -05:00