76333 Коммитов

Автор SHA1 Сообщение Дата
Aryan Salmanpour 77481cf7e0 Close fds after importing the surVAAPI face to HIP memory (#55)
[ROCm/rocdecode commit: 730b80b600]
2023-11-10 18:24:21 -05:00
Aryan Salmanpour 730b80b600 Close fds after importing the surVAAPI face to HIP memory (#55) 2023-11-10 18:24:21 -05:00
Sam Wu 2ef675b9db SWDEV-425457 - Correct typo in link to ESMI Library README
Change-Id: Ia16ba0175b0cd3d4a38bab71eb0f1281878d81d2
2023-11-10 18:23:53 -05:00
Sam Wu 643042695d SWDEV-425457 - Correct typo in link to ESMI Library README
Change-Id: Ia16ba0175b0cd3d4a38bab71eb0f1281878d81d2


[ROCm/amdsmi commit: 2ef675b9db]
2023-11-10 18:23:53 -05:00
jeffqjiangNew 30c4df3af1 Added picture decode submission to VA-API driver. (#54)
* * rocDeocde/HEVC: Added several "reserved" fields to structs to match the corresponding VA-API structs.

* * rocDecode/HEVC: Added decode submission to VA-API driver.

* * rocDecode/HEVC: Corrected data buffer id type.

[ROCm/rocdecode commit: 3c7f29dab4]
2023-11-10 17:15:47 -05:00
jeffqjiangNew 3c7f29dab4 Added picture decode submission to VA-API driver. (#54)
* * rocDeocde/HEVC: Added several "reserved" fields to structs to match the corresponding VA-API structs.

* * rocDecode/HEVC: Added decode submission to VA-API driver.

* * rocDecode/HEVC: Corrected data buffer id type.
2023-11-10 17:15:47 -05:00
Aryan Salmanpour 9ac1a081de Add support for rocDecMapVideoFrame API (#53)
[ROCm/rocdecode commit: 7a90c0c054]
2023-11-10 17:02:57 -05:00
Aryan Salmanpour 7a90c0c054 Add support for rocDecMapVideoFrame API (#53) 2023-11-10 17:02:57 -05:00
Deepak Mewar 0c790752ac modified local esmi functions called from amdsmi_init
for gtest compatibility

Change-Id: I627c9887a1f1e340c358f060818a1a7d74ce33f9
2023-11-10 15:50:42 -05:00
Deepak Mewar 591221eee6 modified local esmi functions called from amdsmi_init
for gtest compatibility

Change-Id: I627c9887a1f1e340c358f060818a1a7d74ce33f9


[ROCm/amdsmi commit: 0c790752ac]
2023-11-10 15:50:42 -05:00
Deepak Mewar 14c50c9b4e another set of esmi python wrappers updated to amdsmi python library
Change-Id: I33557b9021ecfdab76daaf65ad63f624115aa322
2023-11-10 15:50:42 -05:00
Deepak Mewar dbc139a8b4 another set of esmi python wrappers updated to amdsmi python library
Change-Id: I33557b9021ecfdab76daaf65ad63f624115aa322


[ROCm/amdsmi commit: 14c50c9b4e]
2023-11-10 15:50:42 -05:00
Rajy Rawther 59c03a8df3 fix exception handling to gracefully exit (#49)
* fix exception handling to gracefully exit

* addressed review comments

[ROCm/rocdecode commit: 55ebf353cc]
2023-11-10 15:44:40 -05:00
Rajy Rawther 55ebf353cc fix exception handling to gracefully exit (#49)
* fix exception handling to gracefully exit

* addressed review comments
2023-11-10 15:44:40 -05:00
Saleel Kudchadker be743bcd59 SWDEV-422207 - Optimize graph end detection
- Do not use extra barrier to detect graph end. If its a kernel node we
can use a completion signal for the last packet. Saves roughly 6us for
Phantom testcase per graph launch.

Change-Id: I5e0c2479d9964fbeda86ed97533f6718f49a7f91


[ROCm/clr commit: c3bd229f4f]
2023-11-10 11:57:02 -05:00
Saleel Kudchadker c3bd229f4f SWDEV-422207 - Optimize graph end detection
- Do not use extra barrier to detect graph end. If its a kernel node we
can use a completion signal for the last packet. Saves roughly 6us for
Phantom testcase per graph launch.

Change-Id: I5e0c2479d9964fbeda86ed97533f6718f49a7f91
2023-11-10 11:57:02 -05:00
Saleel Kudchadker 85b95f0a45 SWDEV-301667 - Add error logging
Change-Id: I814399dc0e7083bb7fb0ed8bf46dd96bdf664965


[ROCm/clr commit: f06368fd04]
2023-11-10 11:55:54 -05:00
Saleel Kudchadker f06368fd04 SWDEV-301667 - Add error logging
Change-Id: I814399dc0e7083bb7fb0ed8bf46dd96bdf664965
2023-11-10 11:55:54 -05:00
Lakshmi Kumar def60bd433 Add a sample for measuring the video decoding performance using multi-forks (#51)
* fork example

* review comments

* change logic to find vcn

[ROCm/rocdecode commit: 146d243f69]
2023-11-10 11:28:24 -05:00
Lakshmi Kumar 146d243f69 Add a sample for measuring the video decoding performance using multi-forks (#51)
* fork example

* review comments

* change logic to find vcn
2023-11-10 11:28:24 -05:00
Lakshmi Kumar a1d39cf9f9 Add a sample for measuring the video decoding performance using multi-threads (#50)
* introducing perf example

* chnages for google standards

* adding exception handling

* review comments

* change logic to find vcn devices

* adding comments

[ROCm/rocdecode commit: 5bac02fab3]
2023-11-10 11:23:44 -05:00
Lakshmi Kumar 5bac02fab3 Add a sample for measuring the video decoding performance using multi-threads (#50)
* introducing perf example

* chnages for google standards

* adding exception handling

* review comments

* change logic to find vcn devices

* adding comments
2023-11-10 11:23:44 -05:00
Ioannis Assiouras f6490e6ca6 SWDEV-431568 - use typedef struct for hipExternalMemoryMipmappedArrayDesc
Change-Id: Iee81c823f9794aa26ee3dd8700d3adb60348db22


[ROCm/hipother commit: 2813f262d3]
2023-11-10 14:59:17 +00:00
Ioannis Assiouras 2813f262d3 SWDEV-431568 - use typedef struct for hipExternalMemoryMipmappedArrayDesc
Change-Id: Iee81c823f9794aa26ee3dd8700d3adb60348db22
2023-11-10 14:59:17 +00:00
Giovanni LB 0648bcdc4b SWDEV-414768: Fixes for perfetto kernel-trace
Change-Id: Icd2eab4a46c5f51c73ff9a37df490c20ef22ee93
2023-11-10 09:21:54 -03:00
Giovanni LB 9b82a542a5 SWDEV-414768: Fixes for perfetto kernel-trace
Change-Id: Icd2eab4a46c5f51c73ff9a37df490c20ef22ee93


[ROCm/rocprofiler commit: 0648bcdc4b]
2023-11-10 09:21:54 -03:00
Giovanni LB 9e625eb58a SWDEV-430460: Updated readme and fixed att.csv being generated only on current dir.
Change-Id: I81522a79e61ff0f35f74035b48ff594d7a05a424
2023-11-10 06:07:48 -03:00
Giovanni LB 2d3edde2a4 SWDEV-430460: Updated readme and fixed att.csv being generated only on current dir.
Change-Id: I81522a79e61ff0f35f74035b48ff594d7a05a424


[ROCm/rocprofiler commit: 9e625eb58a]
2023-11-10 06:07:48 -03:00
Giovanni LB b1b55a0370 SWDEV-431750: Fixing ATT parsing of s_swappc and s_setpc
Change-Id: I1bc649f0a8c5b9c2f4991cf7b82890dca681a5c7
2023-11-10 04:34:05 -03:00
Giovanni LB a88e4c9d34 SWDEV-431750: Fixing ATT parsing of s_swappc and s_setpc
Change-Id: I1bc649f0a8c5b9c2f4991cf7b82890dca681a5c7


[ROCm/rocprofiler commit: b1b55a0370]
2023-11-10 04:34:05 -03:00
Maisam Arif 74e91fdac8 Merge amd-dev into amd-master 20231109
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ic114730c9b40758c435cc2beaab5c466294e8373
2023-11-09 18:50:44 -06:00
Maisam Arif 1b02671af2 Merge amd-dev into amd-master 20231109
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ic114730c9b40758c435cc2beaab5c466294e8373


[ROCm/amdsmi commit: 74e91fdac8]
2023-11-09 18:50:44 -06:00
Maisam Arif 695d4ee065 Correct pyyaml package dependency
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Iea055d6af87b465060b0ca8c95f855d101143241
2023-11-09 16:16:44 -06:00
Maisam Arif 68fa5a6550 Correct pyyaml package dependency
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Iea055d6af87b465060b0ca8c95f855d101143241


[ROCm/amdsmi commit: 695d4ee065]
2023-11-09 16:16:44 -06:00
jeffqjiangNew 0b39cc1c2c * rocDecode/HEVC: Fixed a regression introduced by PR#30. We should not abort parsing when we see NAL unit types that we are not interested in. Instead, we should just ignore and continue. (#48)
[ROCm/rocdecode commit: 80845837af]
2023-11-09 14:57:22 -05:00
jeffqjiangNew 80845837af * rocDecode/HEVC: Fixed a regression introduced by PR#30. We should not abort parsing when we see NAL unit types that we are not interested in. Instead, we should just ignore and continue. (#48) 2023-11-09 14:57:22 -05:00
jeffqjiangNew 7db33e7837 Decode callback implementation step 3: completion. (#47)
* * rocDecode/HEVC: Filled HEVC picture parameter structures for decode callback. Added some missing inferences in tile size and weighted prediction table parsing.

* * rocDecode/HEVC: Changed CurrPicIdx assignment from POC to pic_idx.

* * rocDecode/HEVC: Rmoved one TODO comment, which has been done.

* * rocDecode/HEVC: Corrected two typos in comment.

* * rocDecode/HEVC: No need to set up scaling lists in decode callback when scaling list is not enabled.

[ROCm/rocdecode commit: 8ed03b5ad0]
2023-11-09 13:52:02 -05:00
jeffqjiangNew 8ed03b5ad0 Decode callback implementation step 3: completion. (#47)
* * rocDecode/HEVC: Filled HEVC picture parameter structures for decode callback. Added some missing inferences in tile size and weighted prediction table parsing.

* * rocDecode/HEVC: Changed CurrPicIdx assignment from POC to pic_idx.

* * rocDecode/HEVC: Rmoved one TODO comment, which has been done.

* * rocDecode/HEVC: Corrected two typos in comment.

* * rocDecode/HEVC: No need to set up scaling lists in decode callback when scaling list is not enabled.
2023-11-09 13:52:02 -05:00
Rahul Garg ec87cda815 SWDEV-388256 - Add hipExtGetLastError
Change-Id: I588f155b2755306e452501d565a1fac17f0a90ce


[ROCm/hip commit: 3dfbd7f2a8]
2023-11-09 12:56:52 -05:00
Rahul Garg 3dfbd7f2a8 SWDEV-388256 - Add hipExtGetLastError
Change-Id: I588f155b2755306e452501d565a1fac17f0a90ce
2023-11-09 12:56:52 -05:00
Maisam Arif c17330acab Merge amd-dev into amd-master 20231109
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I87a015a7da44449b8c3db192401cf105dc1dce2b
2023-11-09 09:57:16 -06:00
Maisam Arif cc73051e8b Merge amd-dev into amd-master 20231109
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I87a015a7da44449b8c3db192401cf105dc1dce2b


[ROCm/amdsmi commit: c17330acab]
2023-11-09 09:57:16 -06:00
gobhardw f513e30b9f SWDEV-431667: Fixing counter listing
Change-Id: Ibcb80edcdc4e61f3d57911598ee7950f09b2e85e
2023-11-09 15:49:20 +00:00
gobhardw 773b707ec6 SWDEV-431667: Fixing counter listing
Change-Id: Ibcb80edcdc4e61f3d57911598ee7950f09b2e85e


[ROCm/rocprofiler commit: f513e30b9f]
2023-11-09 15:49:20 +00:00
Aryan Salmanpour d44d320717 Add support for rocDecGetDecodeStatus API (#46)
[ROCm/rocdecode commit: 6ab31ce40e]
2023-11-09 08:47:58 -05:00
Aryan Salmanpour 6ab31ce40e Add support for rocDecGetDecodeStatus API (#46) 2023-11-09 08:47:58 -05:00
Satyanvesh Dittakavi 2119d83bfb SWDEV-430963 - Address MIGraphX failures due to unsafe buffer access usage
Compiler seem to be stricter in compiler staging builds related to
safe buffer programming when compared to other component staging builds.
This seem to result in additional errors when -Werror is enabled
in MIGraphX tests.

Removes all the clang pragmas to ignore several type of warnings in all
the headers and adds a single pragma which ignores all warnings using
#pragma clang diagnostic ignored "-Weverything" in hiprtc builtins.

Change-Id: I95f302bb285b2451b19dd5dfdb7df29164b0f750


[ROCm/clr commit: b5d286a6d3]
2023-11-09 04:39:49 -04:00
Satyanvesh Dittakavi b5d286a6d3 SWDEV-430963 - Address MIGraphX failures due to unsafe buffer access usage
Compiler seem to be stricter in compiler staging builds related to
safe buffer programming when compared to other component staging builds.
This seem to result in additional errors when -Werror is enabled
in MIGraphX tests.

Removes all the clang pragmas to ignore several type of warnings in all
the headers and adds a single pragma which ignores all warnings using
#pragma clang diagnostic ignored "-Weverything" in hiprtc builtins.

Change-Id: I95f302bb285b2451b19dd5dfdb7df29164b0f750
2023-11-09 04:39:49 -04:00
Maisam Arif e0a1a6ca96 Fixed python3 lib install for DEB & RPM
Upgraded python3-yaml into a dependency; needed for cli
	Added checks before uninstalling amdsmi system
	Made argcomplete activation only for installing user
	Corrected returns outside of function to exit
	Removed returns if python3 library install fails

Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I299dc01e07029b255a3469fd63fdc8ffec943828
2023-11-09 00:17:44 -06:00
Maisam Arif 6e39064453 Fixed python3 lib install for DEB & RPM
Upgraded python3-yaml into a dependency; needed for cli
	Added checks before uninstalling amdsmi system
	Made argcomplete activation only for installing user
	Corrected returns outside of function to exit
	Removed returns if python3 library install fails

Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I299dc01e07029b255a3469fd63fdc8ffec943828


[ROCm/amdsmi commit: e0a1a6ca96]
2023-11-09 00:17:44 -06:00