76333 Commits
Author SHA1 Message Date
Jaydeep Patel a6e72de83d SWDEV-403768 - Check mem type is managed and result mem addresses are not null.
Change-Id: Ib40c468a981e0dd42b2da65aeb7543b11af4bc90
2023-06-16 08:49:21 -04:00
Jaydeep Patel 600ad0e9dc SWDEV-403770 - Add validations.
Change-Id: If36202ba9777d2a0d6f8ee92982dbff92bafe81a


[ROCm/clr commit: 0a20da39cd]
2023-06-16 02:37:25 -04:00
Jaydeep Patel 0a20da39cd SWDEV-403770 - Add validations.
Change-Id: If36202ba9777d2a0d6f8ee92982dbff92bafe81a
2023-06-16 02:37:25 -04:00
Jonathan R. Madsen a0812bfa0b Fix rocprofiler usage in ROCm >= 5.5.x (#288)
Fix rocprofiler usage in ROCm >= 5.5.x

- starting with ROCm 5.5.0, rocprofiler throws exception if OnLoad + dlopen librocprofiler
- CI skipped for this PR since CI does not support GPU usage (tested locally)

[ROCm/rocprofiler-systems commit: 223536896b]
2023-06-15 23:28:45 -05:00
Jonathan R. Madsen 223536896b Fix rocprofiler usage in ROCm >= 5.5.x (#288)
Fix rocprofiler usage in ROCm >= 5.5.x

- starting with ROCm 5.5.0, rocprofiler throws exception if OnLoad + dlopen librocprofiler
- CI skipped for this PR since CI does not support GPU usage (tested locally)
2023-06-15 23:28:45 -05:00
Jonathan R. Madsen 97011ea642 Fix thread index values (#287)
* Update PTL

- PTL submodule waits for threads to start before proceeding

* Initialize perfetto after init_bundle

- perfetto thread creation after pthread_create wrapped

* backtrace component update

- exclude gotcha call-tree

* callchain component update

- callchain::get sorts based on timestamp
- callchain::sample supports duplicate IPs (recursion)

* Bump version to 1.10.1

[ROCm/rocprofiler-systems commit: de9f0e4c10]
2023-06-15 22:37:33 -05:00
Jonathan R. Madsen de9f0e4c10 Fix thread index values (#287)
* Update PTL

- PTL submodule waits for threads to start before proceeding

* Initialize perfetto after init_bundle

- perfetto thread creation after pthread_create wrapped

* backtrace component update

- exclude gotcha call-tree

* callchain component update

- callchain::get sorts based on timestamp
- callchain::sample supports duplicate IPs (recursion)

* Bump version to 1.10.1
2023-06-15 22:37:33 -05:00
Hao Zhou 39f5a8dd83 Merge amd-staging into amd-master 20230616
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: Iff54607e329acbadb2960bfa24c0b046c9d37962
2023-06-16 11:18:37 +08:00
Hao Zhou 58daecf99e Merge amd-staging into amd-master 20230616
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: Iff54607e329acbadb2960bfa24c0b046c9d37962


[ROCm/amdsmi commit: 39f5a8dd83]
2023-06-16 11:18:37 +08:00
ROCm CI Service Account d55aca723a SWDEV-402082 - Disable Unit_hipGraphInstantiateWithFlags_FlagAutoFreeOnLaunch_check due to PAL Backend issue (SWDEV-391554) (#281)
Change-Id: I1c06c018741eea9d270a8ca60d5a69114b71c840


[ROCm/hip-tests commit: 0577c019f9]
2023-06-15 18:27:32 -07:00
ROCm CI Service Account 0577c019f9 SWDEV-402082 - Disable Unit_hipGraphInstantiateWithFlags_FlagAutoFreeOnLaunch_check due to PAL Backend issue (SWDEV-391554) (#281)
Change-Id: I1c06c018741eea9d270a8ca60d5a69114b71c840
2023-06-15 18:27:32 -07:00
Jonathan R. Madsen 973f5bc348 kokkosp update: disable deep copy tracing by default (#286)
kokkosp update

- disable tracing deep copies by default because inconsistent begin/end corrupts call-stack hierarchy
- tracing deep copy operations can be enabled via `OMNITRACE_KOKKOSP_DEEP_COPY`

[ROCm/rocprofiler-systems commit: 262f1e9299]
2023-06-15 17:55:38 -05:00
Jonathan R. Madsen 262f1e9299 kokkosp update: disable deep copy tracing by default (#286)
kokkosp update

- disable tracing deep copies by default because inconsistent begin/end corrupts call-stack hierarchy
- tracing deep copy operations can be enabled via `OMNITRACE_KOKKOSP_DEEP_COPY`
2023-06-15 17:55:38 -05:00
Jonathan R. Madsen a527ebcf4e Install rocm-dev for hipcc in ubuntu-jammy workflow (#285)
Install rocm-dev for hipcc in ubuntu-jammy workflow

[ROCm/rocprofiler-systems commit: 2c684de367]
2023-06-15 15:58:32 -05:00
Jonathan R. Madsen 2c684de367 Install rocm-dev for hipcc in ubuntu-jammy workflow (#285)
Install rocm-dev for hipcc in ubuntu-jammy workflow
2023-06-15 15:58:32 -05:00
Jenkins 780560b6d8 Merge 'develop' into 'amd-staging'
Change-Id: Ia30389aaa36502c1388d39dc28c69e5393a74e3b


[ROCm/hip-tests commit: de6cba7466]
2023-06-15 19:52:18 +00:00
Jenkins de6cba7466 Merge 'develop' into 'amd-staging'
Change-Id: Ia30389aaa36502c1388d39dc28c69e5393a74e3b
2023-06-15 19:52:18 +00:00
sdashmiz 2216908962 SWDEV-403638 - Fix warnings
- disable deprecated function use warning
- disalbe size_t to .type' warning
- disable conversion from 'type1' to 'type2' warning

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I64161fd37cf56de3d132102103267ae8da40193a


[ROCm/clr commit: 38a67df312]
2023-06-15 12:17:22 -04:00
sdashmiz 38a67df312 SWDEV-403638 - Fix warnings
- disable deprecated function use warning
- disalbe size_t to .type' warning
- disable conversion from 'type1' to 'type2' warning

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I64161fd37cf56de3d132102103267ae8da40193a
2023-06-15 12:17:22 -04:00
sdashmiz 2e960fae8f SWDEV-403063 - Clean up hip graph
- Replace dynamic allocation with embedded struct in hip graph

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Idfe3f7393fa50d6e510d4c88f779408f96d3accb


[ROCm/clr commit: cc85289739]
2023-06-15 12:17:09 -04:00
sdashmiz cc85289739 SWDEV-403063 - Clean up hip graph
- Replace dynamic allocation with embedded struct in hip graph

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Idfe3f7393fa50d6e510d4c88f779408f96d3accb
2023-06-15 12:17:09 -04:00
German af5944dc71 SWDEV-311270 - Add IPC support for memory pools
Initial implementation for hipMemPoolExportToShareableHandle,
hipMemPoolImportFromShareableHandle,
hipMemPoolExportPointer and hipMemPoolImportPointer

Change-Id: I0ebdc48e9163b394ded560adca6c38bbc5aee7d1


[ROCm/clr commit: 1a0c3e4dc4]
2023-06-15 11:36:52 -04:00
German 1a0c3e4dc4 SWDEV-311270 - Add IPC support for memory pools
Initial implementation for hipMemPoolExportToShareableHandle,
hipMemPoolImportFromShareableHandle,
hipMemPoolExportPointer and hipMemPoolImportPointer

Change-Id: I0ebdc48e9163b394ded560adca6c38bbc5aee7d1
2023-06-15 11:36:52 -04:00
Kent Russell 9a22bade89 kfdtest.exclude: Blacklist CuMaskingEven on all ASICs
This has slowly become less and less reliable on more and more ASICs,
so just blacklist it altogether. Using wall clock for performance
is not a reliable method for testing performance, so skip it to avoid
more failure reports on various systems.

Change-Id: I1a5744604e4620bc7675a629d146ba4ffba669d2
2023-06-15 11:24:04 -04:00
Kent Russell 410f1dbe2d kfdtest.exclude: Blacklist CuMaskingEven on all ASICs
This has slowly become less and less reliable on more and more ASICs,
so just blacklist it altogether. Using wall clock for performance
is not a reliable method for testing performance, so skip it to avoid
more failure reports on various systems.

Change-Id: I1a5744604e4620bc7675a629d146ba4ffba669d2


[ROCm/ROCR-Runtime commit: 9a22bade89]
2023-06-15 11:24:04 -04:00
gobhardw 882f5e9967 Fixing SEGFAULT when running profiler from outside build
Change-Id: Idd8d2562157536e8c386421920b9045615a85635
2023-06-15 20:26:19 +05:30
gobhardw 1f8971c066 Fixing SEGFAULT when running profiler from outside build
Change-Id: Idd8d2562157536e8c386421920b9045615a85635


[ROCm/rocprofiler commit: 882f5e9967]
2023-06-15 20:26:19 +05:30
Wenkai Du 2ae74ac7cb Merge pull request #40 from ROCmSoftwarePlatform/fix_merge
Fix merge error

[ROCm/rccl-tests commit: 6f6c7f8cdd]
2023-06-15 07:35:35 -07:00
Wenkai Du 6f6c7f8cdd Merge pull request #40 from ROCmSoftwarePlatform/fix_merge
Fix merge error
2023-06-15 07:35:35 -07:00
Jaydeep Patel d6086f9d69 SWDEV-403766 - Release mem obj while device reset.
Change-Id: I8a93061c9c4ed692bf7ba1b872af370f79a13a5d


[ROCm/clr commit: ec75a3e60e]
2023-06-15 09:52:50 -04:00
Jaydeep Patel ec75a3e60e SWDEV-403766 - Release mem obj while device reset.
Change-Id: I8a93061c9c4ed692bf7ba1b872af370f79a13a5d
2023-06-15 09:52:50 -04:00
Jatin Chaudhary 8a84b97b1f SWDEV-400136 - change make_complex function name to make_hipComplex
Change-Id: Ia276610286df80ec35fe11f303eb9919eeda87dd


[ROCm/hipother commit: c0e2bd2278]
2023-06-15 09:02:38 -04:00
Jatin Chaudhary c0e2bd2278 SWDEV-400136 - change make_complex function name to make_hipComplex
Change-Id: Ia276610286df80ec35fe11f303eb9919eeda87dd
2023-06-15 09:02:38 -04:00
Jatin Chaudhary 8913c4de4f SWDEV-400136 - change make_complex function name to make_hipComplex
Change-Id: Ia276610286df80ec35fe11f303eb9919eeda87dd


[ROCm/clr commit: f7f70a0880]
2023-06-15 09:02:38 -04:00
Jatin Chaudhary f7f70a0880 SWDEV-400136 - change make_complex function name to make_hipComplex
Change-Id: Ia276610286df80ec35fe11f303eb9919eeda87dd
2023-06-15 09:02:38 -04:00
Maisam Arif 0a1e486214 CMAKE: Changed dependency to suggestion for centos
Updated pyproject.toml to depend on clang via pip
	Changed python38 dependency to a suggestion for rpm builds
Change-Id: Idf3bd94aafaf715f600dead0a3a9cb95cff29368
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2023-06-15 00:51:45 -05:00
Maisam Arif 5ecabf2276 CMAKE: Changed dependency to suggestion for centos
Updated pyproject.toml to depend on clang via pip
	Changed python38 dependency to a suggestion for rpm builds
Change-Id: Idf3bd94aafaf715f600dead0a3a9cb95cff29368
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>


[ROCm/amdsmi commit: 0a1e486214]
2023-06-15 00:51:45 -05:00
Saleel Kudchadker 87652b6c93 SWDEV-384557 - Use toggle for SDMA query
- Use HIP_USE_SDMA_QUERY env var toggle for new API use. Env var is 0 by
default

Change-Id: If725a0c41e15f78a1a6c3f47942954fe9240b4db


[ROCm/clr commit: 8d193c32bb]
2023-06-15 01:02:24 -04:00
Saleel Kudchadker 8d193c32bb SWDEV-384557 - Use toggle for SDMA query
- Use HIP_USE_SDMA_QUERY env var toggle for new API use. Env var is 0 by
default

Change-Id: If725a0c41e15f78a1a6c3f47942954fe9240b4db
2023-06-15 01:02:24 -04:00
Jacob Lambert 52eaffa1a4 Revert "SWDEV-371628 - Shift device lib linking into clang driver"
This reverts commit 2e664d2492.

Reason for revert: Performance regressions and failures observed. Need to investigate those and before re-applying patch

Change-Id: I42ba0605797f9bdcfb5d5102927dd01405cf05e3


[ROCm/clr commit: 8047d8e3e8]
2023-06-15 00:56:08 -04:00
Jacob Lambert 8047d8e3e8 Revert "SWDEV-371628 - Shift device lib linking into clang driver"
This reverts commit a4c5c44008.

Reason for revert: Performance regressions and failures observed. Need to investigate those and before re-applying patch

Change-Id: I42ba0605797f9bdcfb5d5102927dd01405cf05e3
2023-06-15 00:56:08 -04:00
Hao Zhou 34cd6e7c40 Merge amd-staging into amd-master 20230615
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I67e22b2d06c8a9cd21aa3034bc78627d2fd0c586


[ROCm/rocm_smi_lib commit: 741740b04b]
2023-06-15 10:15:40 +08:00
Hao Zhou 741740b04b Merge amd-staging into amd-master 20230615
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I67e22b2d06c8a9cd21aa3034bc78627d2fd0c586
2023-06-15 10:15:40 +08:00
Nusrat Islam 834634194e Merge pull request #775 from nusislam/unroll-1
device: use unroll factor based on platforms

[ROCm/rccl commit: fd6553bcf8]
2023-06-14 17:42:38 -05:00
Nusrat Islam fd6553bcf8 Merge pull request #775 from nusislam/unroll-1
device: use unroll factor based on platforms
2023-06-14 17:42:38 -05:00
Wenkai Du a87b64d7c0 Fix merge error
[ROCm/rccl-tests commit: 652a24d38d]
2023-06-14 20:26:33 +00:00
Wenkai Du 652a24d38d Fix merge error 2023-06-14 20:26:33 +00:00
David Yat Sin 5e4490f180 Update documentation for IPC handles
Explicitly mention that IPC handles can only be created on GPU agents.

Change-Id: I19bc3578d6e5243c795bf6fbf981ea4bd3bfc2e8
2023-06-14 16:21:26 -04:00
David Yat Sin 8c3acb3974 Update documentation for IPC handles
Explicitly mention that IPC handles can only be created on GPU agents.

Change-Id: I19bc3578d6e5243c795bf6fbf981ea4bd3bfc2e8


[ROCm/ROCR-Runtime commit: 5e4490f180]
2023-06-14 16:21:26 -04:00
Jonathan R. Madsen d38a04a7ea Remove docker hiplibsdk from amdgpu-install (#283)
Remove docker hiplibsdk from amdgpu-install

- amdgpu-install use case hiplibsdk is not necessary and bloats the install
- same as above for package rocm-hip-sdk

[ROCm/rocprofiler-systems commit: 2ce0cb4a19]
2023-06-14 15:09:35 -05:00