Rakesh Roy
e2e169f47c
SWDEV-421667 - Print shared library name which doesn't contain CO for current device
...
- ML Frameworks link many ROCm component libraries
- It becomes a tedious task to figure out which library HIP is complaining about
- To improve debuggability print out the shared library name
Change-Id: I53c4d66393670356b8cafd3e48075e430f0a45ce
[ROCm/clr commit: 52001adf43 ]
2023-10-11 10:43:03 -04:00
jiabaxie
f25e5e01f3
SWDEV-405983 - adding in HIP_LAUNCH_BLOCKING
...
Change-Id: I3f9c8a745099aab05155ebe910e727693961a02f
[ROCm/clr commit: 28f0daa34f ]
2023-10-10 21:11:13 -04:00
Saleel Kudchadker
0ec2d8847d
SWDEV-301667 - Track last used SDMA engine per queue
...
- Track last SDMA engine per queue, this results in better scheduling
- Reset last SDMA engine upon batch completion. That ensures we dont get
blocked if the same engine is used by another concurrent copy
Change-Id: Id53111980da7ee41d5c932fb44e4aab5b1e065a3
[ROCm/clr commit: bf8baeecb3 ]
2023-10-10 12:13:11 -04:00
Anusha GodavarthySurya
661b3381da
SWDEV-408701 - Avoid adding duplicates when no node is captured in cross stream
...
Change-Id: Iccbddaf9db73238aa938f8b3e8ec410f4a86d524
[ROCm/clr commit: c7e4e9c2f4 ]
2023-10-09 13:15:47 -04:00
Rakesh Roy
34aa551075
SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
...
This reverts commit 088704abeb .
Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt
Change-Id: I59f6aeb8b82261b77eb978e53407bc56be1d0cf1
[ROCm/clr commit: 2535fac296 ]
2023-10-09 06:30:19 -04:00
Sourabh Betigeri
d596ec2073
SWDEV-369792 - Fix to use the roclr context already created when creating hip::Device rather than creating a new context in hip
...
Change-Id: I6dbccb1a17dee0e9a72ec52cb1a5bb096315fa0f
[ROCm/clr commit: 01aa3557f4 ]
2023-10-07 14:32:32 -04:00
German Andryeyev
bd63f3f614
SWDEV-424603 - Use OR for CPU wait request
...
Make sure rocclr doesn't overwrite the client's request
for a wait.
Change-Id: I0addf18ea408b7f4ecaa1e04b2877cc0bbbfcc0d
[ROCm/clr commit: fe7b36f3cb ]
2023-10-06 16:51:44 -04:00
Jaydeep Patel
38fec06989
SWDEV-425490 - ptrdiff_t differs on windows and linux.
...
Change-Id: I5b943e869a6552870aa268be898182e806161b3c
[ROCm/clr commit: 46de4256e0 ]
2023-10-06 16:04:52 -04:00
Alex Xie
b444ee5b3b
SWDEV-423579 - Move header file to ROCclr
...
This header file is used by ROCclr and might be used by HIP too.
ROCclr folder is a right place for this header file.
Change-Id: Ie2307331f9bd445f3c295d2ccbfc4924b0fa9510
[ROCm/clr commit: 124de0c519 ]
2023-10-06 14:54:50 -04:00
German Andryeyev
d593231137
SWDEV-424603 - Force CPU wait if profiling
...
Some pytorch tests use a tracer plugin and rely on profiling information
to be reported right after hipDeviceSynchronize()
Change-Id: Ib021a1e7b1a30b3c24de72627c471810f7f7878d
[ROCm/clr commit: 5438b6362e ]
2023-10-06 11:33:06 -04:00
Ioannis Assiouras
08c94b9a3d
SWDEV-420989 - Initialize tiled_info meta_group_rank and meta_group_size
...
Change-Id: I6792e928702d0fef81f18e74eaead3ad3a8fbb7b
[ROCm/clr commit: 43126bc19b ]
2023-10-06 05:43:04 -04:00
Satyanvesh Dittakavi
6e2d845def
SWDEV-424273 - Address MIGraphX tests staging failure
...
Change-Id: I5f51b62a0046f567603008974fda029d40d7656b
[ROCm/clr commit: f64ead62be ]
2023-10-05 15:55:54 -04:00
kjayapra-amd
96580585c3
SWDEV-419688 - Do not run GWS init kernel for targets > gfx12 and MI300.
...
Change-Id: I8e7441268978be71ab8a5a33e7f8bcf69660e500
(cherry picked from commit 36d37ef614909c0f215512aac0c133408d787080)
[ROCm/clr commit: 6a8bc3c718 ]
2023-10-05 14:57:56 -04:00
taosang2
c9b9210059
SWDEV-299127 - Support External Mipmap
...
Support hipExternalMemoryGetMappedMipmappedArray().
Add ImageExternalBuffer to differiate ImageBuffer.
Currently we only support tiling_optimal mode as
vulkan driver doesn't provide tiling information.
Change-Id: I7e3524cdde53e4df9f728894bcebf4bd3f58d4d9
[ROCm/clr commit: 6398f604b0 ]
2023-10-05 09:58:17 -04:00
Anusha GodavarthySurya
0404df28ef
SWDEV-422207 - Capture AQL Packets for graph Kernel nodes during graph Inst. And enqueue AQL packet during launch
...
Change-Id: I1e5f7f9e2a70bd500d190193cb6ba0867f5a63e7
[ROCm/clr commit: e63c280d4d ]
2023-10-05 00:34:29 -04:00
Julia Jiang
f77b4f705a
SWDEV-425362 - Fix GL section on HIP API module
...
Change-Id: I6824758a4744739a596a96e04053eec8e16516cc
[ROCm/clr commit: 3eb46ae588 ]
2023-10-04 14:26:45 -04:00
Rahul Garg
fadcf07d9d
SWDEV-422771 - Sync up CHANGELOGS
...
Change-Id: Ide70179e0c72f7e6c8d1534ae5992a0a075db971
[ROCm/clr commit: f08f5988c3 ]
2023-10-04 14:09:06 -04:00
Jatin Chaudhary
e09e1594e8
SWDEV-420894 - Remove directed test link from CMakeLists.txt
...
Change-Id: Iece57a1624b921d556a300c8f442ee12fd8a4948
[ROCm/clr commit: ab6d34ae77 ]
2023-10-04 05:01:49 -04:00
Ioannis Assiouras
dda3517ead
SWDEV-425129 - Revert "SWDEV-420822 - [ABI Break] Merge hipFunction_attribute into hipFuncAttribute"
...
This reverts commit 1502016756 .
Change-Id: I02d6e77f0874fc37f22de267435917edd4fdede3
[ROCm/clr commit: bf31109241 ]
2023-10-03 11:32:19 +01:00
German Andryeyev
ee34d05add
SWDEV-424249 - Check if HwEvent is available
...
Allocate marker only if HW event doesn't exist for the last command.
Change-Id: I3e7284202365a9c75313fb5403f0c1908ab51d1e
[ROCm/clr commit: 596b496c16 ]
2023-10-02 11:27:16 -04:00
Ioannis Assiouras
1502016756
SWDEV-420822 - [ABI Break] Merge hipFunction_attribute into hipFuncAttribute
...
Change-Id: I9b9f7979e9b8dd422d9064c17c79a25bf7248d30
[ROCm/clr commit: c469f18e91 ]
2023-10-01 06:52:12 -04:00
Ioannis Assiouras
3019f041c9
SWDEV-398472 - [ABI Break] Added new include file for openGL interop APIs
...
Change-Id: Ic6debaadbffd6e773015cb365943bd0ae6f71966
[ROCm/clr commit: ae9a956fd3 ]
2023-09-30 11:46:32 -04:00
Ioannis Assiouras
447ea938b9
Revert "SWDEV-414194 - Make hip-lang available on nvidia platform"
...
This reverts commit 14f3d8bcd6 .
After changes in upstream cmake hip-lang-config.cmake will not be required on nvidia platform.
Change-Id: I711601dac1064ea17f58437da8ffbc50678eda08
[ROCm/clr commit: 31201b6e25 ]
2023-09-29 06:07:53 -04:00
kjayapra-amd
4937fa6b5d
SWDEV-424569 - Fixing a merge error, which removed amd::Program->release().
...
Change-Id: Ib43dfc528ce217cb23d5eb38a0f87c241ae274a6
[ROCm/clr commit: c3a39ef32a ]
2023-09-28 11:41:04 -04:00
Ajay
a9e57c70b5
SWDEV-1 - fix build errors for file descriptor
...
Change-Id: I38b3962744f20ce758c32077f2c725013c666a35
[ROCm/clr commit: 3337f6912d ]
2023-09-27 20:00:05 -04:00
Satyanvesh Dittakavi
43670ec526
SWDEV-421415 - Pass the right hip major, minor versions to hiprtc builtins
...
Change-Id: I2ff5787039891d1d3390c996d37bf342e0a88705
[ROCm/clr commit: f5a9a36cf3 ]
2023-09-26 00:52:54 -04:00
Jatin Chaudhary
b624ca8896
SWDEV-410898 - Add includes in files that use them
...
Change-Id: I14d9ea233d57c7267da3f9688305b949ced71a53
[ROCm/clr commit: 0668f20780 ]
2023-09-25 08:45:22 -04:00
Satyanvesh Dittakavi
3c89a1a293
SWDEV-402080 - Add options such as -Rpass=inline to exe_options in RTC if the user passes it
...
Change-Id: I12fcf200ed9d3112b014f3d426d5fe504eeca163
[ROCm/clr commit: 2764b85ca5 ]
2023-09-25 04:03:44 -04:00
pghafari
e9134ca616
SWDEV-414833 - adding hipDeviceAttributeIsLargeBar
...
to hipDeviceGetAttribute
Change-Id: Icde0ab9326b1759c66f9a3acbadfb9a01cf6a5be
[ROCm/clr commit: 9008a53c98 ]
2023-09-25 00:31:30 -04:00
German Andryeyev
2d492a201b
SWDEV-423317 - Enable GPU wait for hip sync calls
...
hipStreamSynchronize and hipDeviceSynchronize won't longer wait
for CPU commands in DD mode
Change-Id: I079c8bbfc34ddc6d3e2d74c92a34665877e512a5
[ROCm/clr commit: fbea58ba11 ]
2023-09-22 13:04:27 -04:00
Jatin Chaudhary
f62807d411
SWDEV-421819 - Add ptrdiff_t and clock_t.
...
Rework types inside new __HIP_NO_STD_DEFS__ guard
Change-Id: I2b67381c01ba497b323864afe0a8d1402e396748
[ROCm/clr commit: 49bb6a4072 ]
2023-09-22 05:07:52 -04:00
pghafari
f088f06be6
SWDEV-369567 - [ABI Break] updating gridY and Z max dimension check
...
Change-Id: If515fda4938d3c5f455a02b4a65adaad76dc0aed
[ROCm/clr commit: 96f41fad07 ]
2023-09-22 04:52:27 -04:00
sdashmiz
0e64e42c60
SWDEV-330665 - [ABI Break] check for attribute
...
- Add support for DevAttrHostRegisterSupported
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ica8d323eda97b65ef0088aa99c84dd36cfe4edf3
[ROCm/clr commit: 8705322f10 ]
2023-09-22 04:51:24 -04:00
Satyanvesh Dittakavi
9ee9f04cdd
SWDEV-407358 - Address MIGraphx -Werror issue with unsafe buffer access
...
Change-Id: If4189dfbf12b670af60782f09ff8cf9b9867c299
[ROCm/clr commit: 16fb3ca923 ]
2023-09-22 04:50:32 -04:00
Ioannis Assiouras
fb17aa5c41
SWDEV-401489 - [ABI Break] Removed hipModuleLaunchKernelExt
...
Change-Id: I0b31d9db755f8a89ead203dbd238a93c18b76855
[ROCm/clr commit: fe2d747bcc ]
2023-09-21 23:50:16 -04:00
kjayapra-amd
142492d9eb
SWDEV-422580 - Adding pcie.function to the PCI address string in hipGetDevicePCIBusId.
...
Change-Id: Iaa73b6028ac7b1d05cc310405d6fe622d764320f
[ROCm/clr commit: 369fdc4d87 ]
2023-09-21 12:22:05 -04:00
Sourabh Betigeri
5d160eb7ee
SWDEV-326798 - [ABI Break] Fixes null stream sync behavior
...
Change-Id: I84ad21f61779145c198dc68bf0fe02a57d34bf64
[ROCm/clr commit: 3f88fe850b ]
2023-09-21 11:57:58 -04:00
Jatin Chaudhary
6abb81112d
SWDEV-422808 - Add E5M2 and E4M3 for nvidia headers
...
Change-Id: Ib40e75c1b2e18d75164607a46e95fc322363c08e
[ROCm/clr commit: 15ba5c0004 ]
2023-09-21 11:57:04 -04:00
Satyanvesh Dittakavi
be8dbcf736
SWDEV-375607 - Fix hipGraphExecUpdate behavior
...
Addresses the below scenarios like parameters mismatch
in memcopy node, difference in the count of nodes, difference
in the dependencies of the nodes.
Change-Id: I31c6516fb27cc1007809f1b50306fdb0c2356ccc
[ROCm/clr commit: f16d336e32 ]
2023-09-21 11:17:49 -04:00
Satyanvesh Dittakavi
78a3dc739d
SWDEV-395996 - Add HIPRTC support for missing hip headers
...
hip headers such as hip_math_constants.h, library_types.h,
hip_common.h, channel_descriptor.h, device_functions.h, hip_complex.h,
hip_texture_types.h, math_functions.h, surface_types.h
are added in HIPRTC
Change-Id: I4a4c198449ceb609c3ff55e00b43056c1f085431
[ROCm/clr commit: d7d0f11318 ]
2023-09-21 03:11:06 -04:00
German
c3d48d80fa
SWDEV-404889 - Debugger support, trap handler
...
Add trap handler code into runtime and compile/load during
device initialization. The current interface for trap handler in
PAL is obsolete and the new interface will be provided later.
Change-Id: I1fa702c5d1f2e6731f781369c980d546cf422328
[ROCm/clr commit: e1d34cb24f ]
2023-09-19 16:05:02 -04:00
Ioannis Assiouras
7d69dd7598
SWDEV-416741 - Improve logging in find_package(hip)
...
Change-Id: Iaaaa595c668e5a8e977c9d2d31beca481748f637
[ROCm/clr commit: 5e51335ef6 ]
2023-09-18 19:10:38 -04:00
Ajay
c9c3d951f2
SWDEV-421102 - make clr compatible with c++20
...
Change-Id: Ia692817232caa3ee97dc0b2139645a0474b582e1
[ROCm/clr commit: 2bae1b1387 ]
2023-09-18 11:28:29 -04:00
David Salinas
f1325c1adf
SWDEV-421615 - Correct required perl modules
...
Change-Id: I4e7e19e666042c0e8bfdb0ae0bfb2fc8d3ffa565
[ROCm/clr commit: bf88980e0a ]
2023-09-15 11:46:48 -04:00
Jaydeep Patel
e688bfee2c
SWDEV-415914 - Use settings from device's setting object.
...
Change-Id: I4b0cbab361e9e2d5b8164066ec37de1fa212e783
[ROCm/clr commit: d18ae85833 ]
2023-09-14 19:16:50 +00:00
Julia Jiang
78ced05253
SWDEV-401314 - Fix failure on MI300 for progvar_prog_scope_misc basic test
...
Change-Id: I56701b050023199a3e56dc5a78553c0c330b8537
[ROCm/clr commit: 42799c9f21 ]
2023-09-14 11:32:25 -04:00
kjayapra-amd
22bc3d52a3
SWDEV-417244 - Create Unique File Desc Store and guarantee no duplicates fds are opened.
...
Change-Id: I7be7fee52b673f0b1b3facdfbd847b57f2a47cde
[ROCm/clr commit: 85b645731c ]
2023-09-13 17:03:18 -04:00
Alex Xie
c0bb71bd74
SWDEV-421710 - Remove unused GL function pointers
...
Change-Id: Ifd77314b51d4b1494428bf8b611051245dbc3feb
[ROCm/clr commit: 2804aa8e34 ]
2023-09-12 18:17:04 -04:00
Jaydeep Patel
5b450d5551
SWDEV-418038 - Drop GPU_ENABLE_WAVE32_MODE from RTC.
...
Change-Id: Iac11f26714e8b3bae14cbf69933ef7c8c8be47da
[ROCm/clr commit: a37c95d7ed ]
2023-09-08 02:13:41 -04:00
Anusha GodavarthySurya
f464a6ade6
SWDEV-301667 - Optimize performance when graph has single branch
...
Three for loops iterate over all graph nodes for UpdateStream, FillCommands and
EnqueueCommands has performance drop for large graphs.
Change-Id: I077accf3a4680d5d944b73200fd6498a7a48f25c
[ROCm/clr commit: 530dc6de2a ]
2023-09-07 23:35:36 -04:00