Commit Graph

1252 Commits

Author SHA1 Message Date
haoyuan2 167810d6c8 SWDEV-318872 - workaround explicit loading functional issue in Blender
Change-Id: I6857a8724f164641bc8d656367736e0fa16a158e
2022-01-24 14:55:08 -05:00
Sarbojit Sarkar e34fd8abe1 SWDEV-317925 - Fix for remove dependency issue
Change-Id: Ifbd3e9892f328d9c0d029c81d7bd08d9d444a318
2022-01-23 23:11:32 -05:00
Sarbojit Sarkar 7fe2a6e62f SWDEV-317974 - Fixed missing dependent node issue
Change-Id: Ia143c9ef93c465a5be67238d7f802c274da751bc
2022-01-23 23:10:58 -05:00
pghafari 44e0c246f8 SWDEV-245531 - GLInterop adding register image
Change-Id: I075bec49b7ad5f78336586b9d55e259717c4c000
2022-01-23 14:59:18 -05:00
ajay bafc5bb30f SWDEV-314307 - hipStreamWaitEvent to wait on remote IPC events
Change-Id: Id97524ae9bc86d38376af2b0240f10d0dd5cc584
2022-01-19 20:10:02 +00:00
Maneesh Gupta ff1f1ba867 Revert "SWDEV-316155 - Fix for P2P sample failure"
This reverts commit 845b923507.

Reason for revert: Fixed via a different patch

Change-Id: I1743afdd7b8516b39501839d74bbed6bdb797e0c
2022-01-13 02:27:47 -05:00
Satyanvesh Dittakavi dcd0322f52 SWDEV-318128 - Add Null checks in hipGraphExecHostNodeSetParams API
Change-Id: I1363b16646b7629c827ace4db4c7b0da32486edb
2022-01-13 02:16:24 -05:00
Sarbojit Sarkar 017603703b SWDEV-313905 - Fix segfault
Change-Id: I7b7bbe80a169014b5d4a8de134351b9f8bf11735
2022-01-11 23:40:25 -05:00
Sarbojit Sarkar c4f6037ae8 SWDEV-315545 - Fix for hipMemsetAsync crash
Change-Id: I39ad0dacf4357aa6f9d0c6cf92a6a7d14bd219c0
2022-01-10 06:48:10 -05:00
Sarbojit Sarkar 845b923507 SWDEV-316155 - Fix for P2P sample failure
Change-Id: I95a70d44949c59319a9a09f84be771740c3f0521
2022-01-06 06:35:15 -05:00
haoyuan2 bd719ceb20 check if the input mode is valid, SWDEV-306130
Change-Id: I72fda84ca3159b00062d98d49be62cae48701a32
2021-12-28 21:09:31 -05:00
Satyanvesh Dittakavi a6b2294b93 Revert "SWDEV-304151 - Reset file descriptor after Module Load"
This reverts commit 3b157b3d5f.

Reason for revert: To address SWDEV-316216

Change-Id: Ib8e6ac4b87c5e52757cd8f45958f39f012823c60
2021-12-23 06:11:43 +00:00
anusha GodavarthySurya e3585209d7 SWDEV-313856, SWDEV-313907, SWDEV-313915 - Export StreamCapture APIs, handle few graph negitive senarios, set event, parallelstreams for endcapture
Change-Id: I3c6008e1a1195cd2e1a14ef24c943ef6b54033ab
2021-12-14 05:54:13 -05:00
haoyuan2 d1a491b30b SWDEV-311585 - workaround dynamic loading functional issue in Blender
Change-Id: I815724c0bdcb712e40ec1ed11b9632fab7243f69
2021-12-10 11:52:15 -08:00
haoyuan2 981ef060fb SWDEV-290298 - add a flag to indicate the primary context active status
Change-Id: Id13d132923fcef697b689e75b6aa04060923a2ad
2021-12-09 23:32:16 -05:00
Satyanvesh Dittakavi c9532093ce SWDEV-309286 - Add check to limit host malloc upto system memory size
Change-Id: I4a0f55d6f7faa323b16d9b8fb12e876900da1bbc
2021-12-07 12:02:29 -05:00
Sarbojit Sarkar 9a51909058 SWDEV-313905 - Fix for hipLaunchCooperativeKernel crash
Change-Id: I41205171a9607962ab6b66f2ebc6f8dc9db7f158
2021-12-05 23:15:06 -05:00
Sarbojit Sarkar 9a3cb1608b SWDEV-313722 - Fix for segfault while using rocprof
Change-Id: Ia00868e058069ee73ce4a852ab2529d8f785a4b7
2021-12-05 23:14:26 -05:00
Tao Sang 5acc8b5102 SWDEV-303204 - Disable texture/image Apis on some devices
If the target device doesn't support image,
compiler will send out unavailable error if device texture apis
are called; and host texture apis will return hipErrorNotSupported.
Remove useless include/hip/amd_detail/texture_functions.h.
Add hipDeviceAttributeImageSupport attribute to check image
support in runtime.
Add __HIP_NO_IMAGE_SUPPORT(=1) macro in device code to indicate
texture apis not supported.
Change-Id: Ia891493e681a61980a2444859a90e046a9ebea39
2021-12-04 08:14:08 -05:00
haoyuan2 1101cfedf5 SWDEV-311856 - check if the function pointer is valid
Change-Id: Iaa5bd7f8321434ce63d0bcf2791d3c65577b453d
2021-12-04 04:40:09 -05:00
Jatin Chaudhary bf28ecb048 SWDEV-307838 - Push clang diagnostics to be ignored
Change-Id: I7487170b44994079bfe7167b6211489a0c7fef2b
2021-12-03 02:48:34 -05:00
Jatin Chaudhary 546d6c18bf SWDEV-308889 - Add HIP_INCLUDE_HIP_HIP_RUNTIME_H define to stop including hip_runtime header in hiprtc code
Change-Id: Ic8f05dcfe61195a500718122f5fbd178c9df6be8
2021-12-02 22:48:30 -05:00
anusha GodavarthySurya e90cb3b07b SWDEV-305766 - Added new debug APIs to get build information
Change-Id: Ibbf0c010cd8f7e6e659f2c4ba932cc8436574431
2021-12-02 12:20:51 -05:00
anusha GodavarthySurya 1564f2cd77 SWDEV-306833 - Refactor HIPEvent IPC code
Change-Id: I118e41ac843d14fa3b42b4eb538c5d112dff1c03
2021-12-02 12:20:40 -05:00
sdashmiz 981125aacc SWDEV-312099 - hipsteam capture API status report fix
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Iee0bbad978f3ca89ff81e5a8583c0aa9cfcb4098
2021-12-02 11:04:00 -05:00
anusha GodavarthySurya ff00f2cea7 SWDEV-284895 - unload program object before releasing it
Change-Id: Ib10c9877043d90de8e292db319bb9def43df8061
2021-12-01 20:25:26 -05:00
anusha GodavarthySurya 671fe75c26 SWDEV-240806 - Added Implementation for hipGraphInstantiateWithFlags and hipGraphExecMemsetNodeSetParams
Change-Id: I71683abb25234bf4e73be52a717d792c32e9aaa6
2021-11-30 13:04:08 -05:00
Sarbojit Sarkar 2cbdadd037 SWDEV-310181 - Fix for hipMemcpy2DFromArray dtest failure
Change-Id: I4284cc543c5ebd5f09254d570230a25742e9dc3c
2021-11-29 22:56:09 -05:00
sdashmiz 15a6fc8a7c SWDEV-311117: graph fetch node correct behavior
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie2794bbbf2eb171240eb7125c561026edb9ac042
2021-11-29 15:14:11 -05:00
pghafari 24e984fd57 SWDEV-310292 - checking hip initialization
Change-Id: I83c9a0d511699c150abe61c3053cc4de2f7f1205
2021-11-29 14:59:19 -05:00
Sarbojit Sarkar d3c829aec2 SWDEV-313024 - added missing stream validation check
Change-Id: Iba541776b3d0975d3fa008000df12845b2fcf970
2021-11-29 00:13:35 -05:00
anusha GodavarthySurya 54259ebb4a SWDEV-308265 - Fix PCH __hipGetPCH
Change-Id: I65ba201eaa3a7d569f3be41942213cda40c7f09e
2021-11-28 23:41:46 -05:00
shadi e5a8719417 SWDEV-310910-add-property-details-in-dll
Signed-off-by: shadi <shadi.dashmiz@amd.com>
Change-Id: Ifd373cbb16398416c56511148b14e9c2fe11ad9e
2021-11-22 09:50:04 -05:00
Saleel Kudchadker 0d5bc833c3 SWDEV-299893 - Set preferred node affinity
Set affinity to the node nearest to default GPU at init. Afterthat
set it to NUMA node thats nearest to whatever GPU is set with
hipSetDevice
Change-Id: I85749258ea7c25385096ffe4089a70c948f332c7

Change-Id: I99a92c922655e22955bee512073b6ac8e6ced3a2
2021-11-21 01:13:36 -05:00
anusha GodavarthySurya d2f202b116 SWDEV-240806 - Fix compilation warning
Change-Id: I1b540059b1e386bc7b6f4493226c45199542bfc3
2021-11-19 20:46:18 -05:00
anusha GodavarthySurya cfb42c1408 SWDEV-240806 - Added graph API hipGraphExecUpdate & hipGraphExecChildGraphNodeSetParams
Change-Id: Ie9c85b746846374b73194b96c7ee73d15463b894
2021-11-19 20:42:54 -05:00
Satyanvesh Dittakavi 3b157b3d5f SWDEV-304151 - Reset file descriptor after Module Load
File descriptors opened during hipModuleLoad are not closed
until hipModuleUnLoad. In large models, this exceeds the ulimit
for no. of open file descriptors causing out of resource issues.
Hence, close the file descriptors once the required data is read
from the file, and not wait until unload.

Change-Id: Ic50d424e5ca388715b1e6309a0de72a480321582
2021-11-19 12:25:59 -05:00
anusha GodavarthySurya ce58dae704 SWDEV-240806 - Added support for host graph node
Change-Id: I8b3088d34d0b4e8080b55b5da80d821c5f29d8a4
2021-11-17 01:10:18 -08:00
anusha GodavarthySurya 9c8b6b65e0 SWDEV-308983 - Fix hipGraphKernelNodeSetParams
Change-Id: I8a57a4e33048931955b7ba5ed567631703bd6c5d
2021-11-17 01:02:50 -08:00
anusha GodavarthySurya 3e2c2dfb71 SWDEV-240806 - hip stream capture handling for memory APIs
Change-Id: Ie29493cd09421175c3ce5a198f8c2c299739f997
2021-11-17 00:15:13 -08:00
anusha GodavarthySurya ec6b8d82b5 SWDEV-240806 - hipGraph performance create new graph commands for every launch
Change-Id: I7360b48055f67a91c23169ca532a19124d40e98b
2021-11-17 00:13:52 -08:00
kjayapra-amd 7145c500b3 SWDEV-298434 - Delete texture references resources before deleting the ptr.
Change-Id: Ib616aadd45eced1b10891c908e986bbeddc08288
2021-11-12 11:20:47 -05:00
kjayapra-amd 2f87d24dd2 SWDEV-310194 - Return hipSuccess early if fill_size is 0.
Change-Id: I79d8c94b099d441f14f938205e007ae521649672
2021-11-09 09:28:25 -05:00
German Andryeyev 21a2fdb80a SWDEV-305016 - Check for HW event ready
Runtime can skip the marker if HW event was completed already.

Change-Id: Ie9fbc08b06b375c5586cbe1aa93922f1880608e4
2021-11-01 10:07:08 -04:00
Tao Sang 17cc99c05d SWDEV-306947 Enable hipAddressModeBorder
Enable hipAddressModeBorder.
Fix default of height of hipMallocArray().
Some code improvement.

Change-Id: I57045118e7adf915074c547cbe76349a4cfd72d8
2021-10-27 10:05:53 -04:00
anusha GodavarthySurya 8d30df5ccf SWDEV-307915 - hipHccModuleLaunchKernel correct event timing
Change-Id: I397a3d6cf0cf8639666befb9ed7a357c6753741c
2021-10-25 21:46:46 -07:00
anusha GodavarthySurya 63c6799130 SWDEV-307642 - Fix memcpy directed tests failure
Change-Id: I7a835a5a519b35fcda813c2acc1ac3cf5d0b5f23
2021-10-26 00:15:11 -04:00
German Andryeyev 981508b2af SWDEV-303567 - Correct events for hipHccModuleLaunchKernel
Start event should be collected before the kernel launch.
End event can use the command from the kernel launch.

Change-Id: I5413c340280be680b15a44daa0c69b21ed314213
2021-10-25 16:56:37 -04:00
sdashmiz 848c47c95f SWDEV-305946:add null pointer check
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I4e466dfd15123276537c47548fbdfb37c5c230df
2021-10-21 10:28:54 -04:00
Satyanvesh Dittakavi 1da4bb21b9 SWDEV-305163 - Do not limit hipHostMalloc upto max GPU memory available
Change-Id: Iea934088bcbef6cbd5c3f9f97767042fcaf71062
2021-10-20 01:33:44 -04:00