76333 Commit
Autore SHA1 Messaggio Data
Jonathan R. Madsen 7e31d9f450 ROCm environment fixes + workflow updates (#117)
* Improve dlopen of ROCm libraries + rocprofiler test

- Use PROJECT_BINARY_DIR in tests
- Added rocprofiler test

* Revert OMNITRACE_FORCE_ROCPROFILER_INIT

* omnitrace-avail --all test

* Fix ROCP_METRICS for ROCm 5.2.0

* Fix ROCP_METRICS for ROCm 5.2.0

* Restrict containers workflow to AMDResearch/omnitrace

* Bump version to 1.3.1

* Update cpack workflow

- generate release draft
- upload installers as release assets

* Test rocprofiler w/o roctracer enabled

* Fix formatting

* verbose message
2022-07-27 06:36:52 -05:00
Maneesh Gupta a2790df62c Revert "SWDEV-264166 - Remove gcnArch"
This reverts commit d12900e000.

Reason for revert: Moved out to future release

Change-Id: I36b046c8681371baa9e0ccb69d46dad633ee5706


[ROCm/clr commit: d328d72fab]
2022-07-27 05:22:48 -04:00
Maneesh Gupta d328d72fab Revert "SWDEV-264166 - Remove gcnArch"
This reverts commit ab303e6440.

Reason for revert: Moved out to future release

Change-Id: I36b046c8681371baa9e0ccb69d46dad633ee5706
2022-07-27 05:22:48 -04:00
Jaydeep Patel 17090bc850 SWDEV-338376 - CUDA VMM API mappings
Change-Id: I47595dbf57fcce352d23842dbbc2b98b4ec97fb5


[ROCm/hipother commit: 013fa23988]
2022-07-27 02:35:13 -04:00
Jaydeep Patel 013fa23988 SWDEV-338376 - CUDA VMM API mappings
Change-Id: I47595dbf57fcce352d23842dbbc2b98b4ec97fb5
2022-07-27 02:35:13 -04:00
Jaydeep Patel 2de8ca99ff SWDEV-338376 - CUDA VMM API mappings
Change-Id: I47595dbf57fcce352d23842dbbc2b98b4ec97fb5


[ROCm/clr commit: fa786c606a]
2022-07-27 02:35:13 -04:00
Jaydeep Patel fa786c606a SWDEV-338376 - CUDA VMM API mappings
Change-Id: I47595dbf57fcce352d23842dbbc2b98b4ec97fb5
2022-07-27 02:35:13 -04:00
Laurent Morichetti 24fc862144 Add agent enumeration
Intercept the first call to hsa_iterate_agents in order to number them.
The index assigned to agents will be used by a future commit.

Change-Id: I8db365f8fe913b6cde16a4dccb9bf09600846521


[ROCm/roctracer commit: 84ad727c38]
2022-07-27 02:16:42 -04:00
Laurent Morichetti 84ad727c38 Add agent enumeration
Intercept the first call to hsa_iterate_agents in order to number them.
The index assigned to agents will be used by a future commit.

Change-Id: I8db365f8fe913b6cde16a4dccb9bf09600846521
2022-07-27 02:16:42 -04:00
Laurent Morichetti 748d8b5cec Cleanup roctracer_hsa.h
Remove declarations that are not meant to be part of the public API.

Change-Id: I47d9e83bf41bdb2f7ac25a1507200b51c616049b


[ROCm/roctracer commit: 05d3cf3529]
2022-07-27 02:16:15 -04:00
Laurent Morichetti 05d3cf3529 Cleanup roctracer_hsa.h
Remove declarations that are not meant to be part of the public API.

Change-Id: I47d9e83bf41bdb2f7ac25a1507200b51c616049b
2022-07-27 02:16:15 -04:00
Laurent Morichetti 09472d6563 Fix HSA intercept
Move the HSA intercept to the OnLoad function, so that it is available
as soon as the ROCR is loaded.

Layer the HSA API wrappers on top of the basic HSA activity intercept.

Change-Id: Ie636d59755543cda181e76ec29f0b55081136b63


[ROCm/roctracer commit: e282a82e29]
2022-07-27 02:15:43 -04:00
Laurent Morichetti e282a82e29 Fix HSA intercept
Move the HSA intercept to the OnLoad function, so that it is available
as soon as the ROCR is loaded.

Layer the HSA API wrappers on top of the basic HSA activity intercept.

Change-Id: Ie636d59755543cda181e76ec29f0b55081136b63
2022-07-27 02:15:43 -04:00
Jaydeep Patel d3daf1ea8b SWDEV-329516 - Don't clear error if setKernels returns false.
Change-Id: I75f69bcdf01bad63a9273dc37afd69644f6b3b22


[ROCm/clr commit: efedf08327]
2022-07-27 06:01:00 +00:00
Jaydeep Patel efedf08327 SWDEV-329516 - Don't clear error if setKernels returns false.
Change-Id: I75f69bcdf01bad63a9273dc37afd69644f6b3b22
2022-07-27 06:01:00 +00:00
Jaydeep Patel 6f564f9e76 SWDEV-347592 - hipMemAllocationType must be hipMemAllocationTypePinned.
Change-Id: I36a5c37c6d66587c6804b60a5f0a88efb60801a4


[ROCm/clr commit: 465421e71c]
2022-07-26 23:46:02 -04:00
Jaydeep Patel 465421e71c SWDEV-347592 - hipMemAllocationType must be hipMemAllocationTypePinned.
Change-Id: I36a5c37c6d66587c6804b60a5f0a88efb60801a4
2022-07-26 23:46:02 -04:00
Ammar ELWazir 0c3a97a5db SWDEV-342613: Tracer Tool Optimizations Ready for plugins
This commit is for code cleanup and for optimizing kernel name search
in the API callback, making sure to get the kernel name accurately
for the hip functions that have any kernel names

Change-Id: Ie9ab917c895748bfb8eee9ddfcbcad81a0b9a9fa


[ROCm/roctracer commit: 054456bcf8]
2022-07-26 18:58:31 -05:00
Ammar ELWazir 054456bcf8 SWDEV-342613: Tracer Tool Optimizations Ready for plugins
This commit is for code cleanup and for optimizing kernel name search
in the API callback, making sure to get the kernel name accurately
for the hip functions that have any kernel names

Change-Id: Ie9ab917c895748bfb8eee9ddfcbcad81a0b9a9fa
2022-07-26 18:58:31 -05:00
Laurent Morichetti 7f47eb9d02 Add TraceBuffer entry construction/destruction
Change-Id: I354f36b0d7a0baea0efb75d5e81f169b5f969542


[ROCm/roctracer commit: 2513f9f51f]
2022-07-26 16:23:59 -07:00
Laurent Morichetti 2513f9f51f Add TraceBuffer entry construction/destruction
Change-Id: I354f36b0d7a0baea0efb75d5e81f169b5f969542
2022-07-26 16:23:59 -07:00
Jenkins f1cb31067d SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I126fc5009ed46697b2af46b4726902895251b0b4


[ROCm/hip commit: 2d920e7053]
2022-07-26 19:10:36 -04:00
Jenkins 2d920e7053 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I126fc5009ed46697b2af46b4726902895251b0b4
2022-07-26 19:10:36 -04:00
Jason Tang d12900e000 SWDEV-264166 - Remove gcnArch
Change-Id: Ief4bdbdd5373adb73a291633067c9a8e11f05a32


[ROCm/clr commit: ab303e6440]
2022-07-26 11:49:19 -04:00
Jason Tang ab303e6440 SWDEV-264166 - Remove gcnArch
Change-Id: Ief4bdbdd5373adb73a291633067c9a8e11f05a32
2022-07-26 11:49:19 -04:00
ROCm CI Service Account 5b7a6a36e3 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependencies api (#2827)
Change-Id: I017ba7891c84adb4d24d857b31800723bd43ed59

[ROCm/hip-tests commit: 258a7727b0]
2022-07-26 15:09:35 +05:30
ROCm CI Service Account 258a7727b0 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependencies api (#2827)
Change-Id: I017ba7891c84adb4d24d857b31800723bd43ed59
2022-07-26 15:09:35 +05:30
ROCm CI Service Account 5a1ce6df32 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependencies api (#2827)
Change-Id: I017ba7891c84adb4d24d857b31800723bd43ed59

[ROCm/hip commit: 1c4822f24a]
2022-07-26 15:09:35 +05:30
ROCm CI Service Account 1c4822f24a SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependencies api (#2827)
Change-Id: I017ba7891c84adb4d24d857b31800723bd43ed59
2022-07-26 15:09:35 +05:30
ROCm CI Service Account 8d1ab3c5cb SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependentNodes api (#2826)
Change-Id: Ie9a81fa8829d48ace19ac3fa522f957504c3ccc0

[ROCm/hip-tests commit: 095355fe93]
2022-07-26 15:08:04 +05:30
ROCm CI Service Account 095355fe93 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependentNodes api (#2826)
Change-Id: Ie9a81fa8829d48ace19ac3fa522f957504c3ccc0
2022-07-26 15:08:04 +05:30
ROCm CI Service Account ef089bf80d SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependentNodes api (#2826)
Change-Id: Ie9a81fa8829d48ace19ac3fa522f957504c3ccc0

[ROCm/hip commit: a2e3642e5b]
2022-07-26 15:08:04 +05:30
ROCm CI Service Account a2e3642e5b SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependentNodes api (#2826)
Change-Id: Ie9a81fa8829d48ace19ac3fa522f957504c3ccc0
2022-07-26 15:08:04 +05:30
ROCm CI Service Account bf6eaefef0 SWDEV-343380 - Added hipDrvGetErrorName/String (#2825)
Change-Id: I1f6df9e801d02e56635c6e9546b71e08b31ea7ce

[ROCm/hip commit: e411ebc467]
2022-07-26 15:07:42 +05:30
ROCm CI Service Account e411ebc467 SWDEV-343380 - Added hipDrvGetErrorName/String (#2825)
Change-Id: I1f6df9e801d02e56635c6e9546b71e08b31ea7ce
2022-07-26 15:07:42 +05:30
Chauncey Hui be8954c04e SWDEV-2 - Change OpenCL version number from 3486 to 3487
[ROCm/clr commit: 31468d0426]
2022-07-26 03:00:08 -04:00
Chauncey Hui 31468d0426 SWDEV-2 - Change OpenCL version number from 3486 to 3487 2022-07-26 03:00:08 -04:00
ROCm CI Service Account 1dd565158b SWDEV-344691 - hipMalloc3DArray fails if width is more than capacity. (#2819)
Change-Id: I3eeaa9ef2b3197b3e5c5f03ccc1ba069dfb64fb7

[ROCm/hip-tests commit: 6c17b7f77e]
2022-07-26 12:14:26 +05:30
ROCm CI Service Account 6c17b7f77e SWDEV-344691 - hipMalloc3DArray fails if width is more than capacity. (#2819)
Change-Id: I3eeaa9ef2b3197b3e5c5f03ccc1ba069dfb64fb7
2022-07-26 12:14:26 +05:30
ROCm CI Service Account f9c415a7c7 SWDEV-344691 - hipMalloc3DArray fails if width is more than capacity. (#2819)
Change-Id: I3eeaa9ef2b3197b3e5c5f03ccc1ba069dfb64fb7

[ROCm/hip commit: 7db8bde590]
2022-07-26 12:14:26 +05:30
ROCm CI Service Account 7db8bde590 SWDEV-344691 - hipMalloc3DArray fails if width is more than capacity. (#2819)
Change-Id: I3eeaa9ef2b3197b3e5c5f03ccc1ba069dfb64fb7
2022-07-26 12:14:26 +05:30
ROCm CI Service Account e0810e7eaf SWDEV-338376 - Driver Alias for Resourcetype (#2821)
Change-Id: I621fe95020a3b2d82034cf5979e834b6e13f2981

[ROCm/hip commit: d029b1e039]
2022-07-26 11:47:18 +05:30
ROCm CI Service Account d029b1e039 SWDEV-338376 - Driver Alias for Resourcetype (#2821)
Change-Id: I621fe95020a3b2d82034cf5979e834b6e13f2981
2022-07-26 11:47:18 +05:30
ROCm CI Service Account 9dca17a831 SWDEV-327563 - Enable fixed tests linux and windows v2 (#2822)
Change-Id: I094b5c8bda458917a074af9b8638074362c1aa56

[ROCm/hip-tests commit: bc9d0e6661]
2022-07-26 11:47:03 +05:30
ROCm CI Service Account bc9d0e6661 SWDEV-327563 - Enable fixed tests linux and windows v2 (#2822)
Change-Id: I094b5c8bda458917a074af9b8638074362c1aa56
2022-07-26 11:47:03 +05:30
ROCm CI Service Account 1cc7e34fe2 SWDEV-327563 - Enable fixed tests linux and windows v2 (#2822)
Change-Id: I094b5c8bda458917a074af9b8638074362c1aa56

[ROCm/hip commit: 21ec83b734]
2022-07-26 11:47:03 +05:30
ROCm CI Service Account 21ec83b734 SWDEV-327563 - Enable fixed tests linux and windows v2 (#2822)
Change-Id: I094b5c8bda458917a074af9b8638074362c1aa56
2022-07-26 11:47:03 +05:30
ROCm CI Service Account 27939adba8 SWDEV-344211 - Fix hipHostMalloc tests (#2823)
- Increase allocation size to 30MB to make sure new page table allocations happen
- Change validation criteria to check for increase in VRAM usage for visible HIP devices

Change-Id: Ie5bf1a89ceda0ff50140f426235047adcca0fdea

[ROCm/hip-tests commit: 2c52240b0e]
2022-07-26 11:46:32 +05:30
ROCm CI Service Account 2c52240b0e SWDEV-344211 - Fix hipHostMalloc tests (#2823)
- Increase allocation size to 30MB to make sure new page table allocations happen
- Change validation criteria to check for increase in VRAM usage for visible HIP devices

Change-Id: Ie5bf1a89ceda0ff50140f426235047adcca0fdea
2022-07-26 11:46:32 +05:30
ROCm CI Service Account fcec9b6b6a SWDEV-344211 - Fix hipHostMalloc tests (#2823)
- Increase allocation size to 30MB to make sure new page table allocations happen
- Change validation criteria to check for increase in VRAM usage for visible HIP devices

Change-Id: Ie5bf1a89ceda0ff50140f426235047adcca0fdea

[ROCm/hip commit: c5d856348e]
2022-07-26 11:46:32 +05:30