Commit Graph

13402 Commits

Author SHA1 Message Date
German Andryeyev 861b9fb84c SWDEV-294669 - Avoid stall when the new signal was created
Stall in the host thread could occur earlier than the app expects.
Make sure rutnime can grow the signals to the queue size without
any stall. Also adding a new signal to the end of the pool could
break the dependency chain on signal reuse. The new logic will
insert the new signal after current to keep the chain intact.

Change-Id: I9c90b98515907db8b677528263c3e88cd9581a14


[ROCm/clr commit: 102c19adf3]
2021-11-29 10:08:06 -05:00
Chauncey Hui ed0b9b60ed SWDEV-2 - Change OpenCL version number from 3399 to 3400
[ROCm/clr commit: bfcb47ca72]
2021-11-29 03:00:05 -05:00
Sarbojit Sarkar d6deab3aa9 SWDEV-313024 - added missing stream validation check
Change-Id: Iba541776b3d0975d3fa008000df12845b2fcf970


[ROCm/clr commit: d3c829aec2]
2021-11-29 00:13:35 -05:00
anusha GodavarthySurya 1f2644ecbe SWDEV-308265 - Fix PCH __hipGetPCH
Change-Id: I65ba201eaa3a7d569f3be41942213cda40c7f09e


[ROCm/clr commit: 54259ebb4a]
2021-11-28 23:41:46 -05:00
kjayapra-amd f74515778c SWDEV-312822 - Revert "SWDEV-310187 - Change flag to keep track of aligned sizes instead of expanded patterns."
This reverts commit 7220267211.

Change-Id: I022c2a8375f9929e9723cec66e1e0b960263fc39


[ROCm/clr commit: 2e9bc8f793]
2021-11-28 23:39:40 -05:00
Chauncey Hui af0788d2e9 SWDEV-2 - Change OpenCL version number from 3398 to 3399
[ROCm/clr commit: 2c23a1091f]
2021-11-27 03:00:08 -05:00
German Andryeyev b0b0c3049f SWDEV-313126 - Use data() method for the base array address
Reference for the first element can trigger an assert with
_GLIBCXX_ASSERTIONS build

Change-Id: I59c63c052831307edfe5dcc6384798a43e9596dd


[ROCm/clr commit: 6f2e7c3199]
2021-11-26 09:51:57 -05:00
Jatin Chaudhary 5faf5c3b64 ROCMOPS-2659 - Add HIP_PATH to current binary directory
Change-Id: I2b91f10d620cef951c7832b2ee138f4981b40570


[ROCm/clr commit: aa6538079d]
2021-11-26 03:31:10 -05:00
Chauncey Hui 3577900318 SWDEV-2 - Change OpenCL version number from 3397 to 3398
[ROCm/clr commit: e4be77cbef]
2021-11-26 03:00:05 -05:00
Julia Jiang ea2741f631 SWDEV-308644 - merge roc blit kernels
Change-Id: I378e511959fe17c03fa45066022e9670a4d181f0


[ROCm/clr commit: f5c9ad5b1d]
2021-11-25 10:07:51 -05:00
Chauncey Hui 4d011fd9ae SWDEV-2 - Change OpenCL version number from 3396 to 3397
[ROCm/clr commit: 964f5bc502]
2021-11-25 03:00:04 -05:00
Satyanvesh Dittakavi 1caf1e4936 SWDEV-292714 - Add unique id for each allocation to support HIP_POINTER_ATTRIBUTE_BUFFER_ID
Change-Id: Ibb3fcb2d0bbbef03525fc884d5b3e9b5f6c11423


[ROCm/clr commit: c56317b2e0]
2021-11-24 06:10:50 -05:00
Chauncey Hui b3edecda2c SWDEV-2 - Change OpenCL version number from 3395 to 3396
[ROCm/clr commit: 0ab4ad1310]
2021-11-24 03:00:04 -05:00
Jason Tang 4151dfab84 Merge "SWDEV-1 - Fix getopt for options that don't have colon" into amd-staging
[ROCm/clr commit: 36298f36d3]
2021-11-23 16:36:34 -05:00
Rahul Garg 9428d4e8a0 Revert "SWDEV-296926 - hipamd cmake file change to build hip/src"
This reverts commit fa7ff8bb08.

Reason for revert: Fix for SWDEV-312654

Change-Id: I45bef538273431e0dd5d85cf889a7c769c87af73


[ROCm/clr commit: 2472abf589]
2021-11-23 12:24:38 -05:00
Saleel Kudchadker dc7a87fad8 SWDEV-299893 - Fix PAL/lnx build
Change-Id: If4408a81d2dc8686c8e805a7697a7d9b2589c864


[ROCm/clr commit: 1e6cc5a2fa]
2021-11-23 08:09:33 -08:00
Chauncey Hui 3af9ff75f6 SWDEV-2 - Change OpenCL version number from 3394 to 3395
[ROCm/clr commit: f526e9ea89]
2021-11-23 03:00:03 -05:00
Jason Tang 244fb0defd SWDEV-1 - Fix getopt for options that don't have colon
Change-Id: Ibb8907e23294bfa033bdefb243ddac35574983b0


[ROCm/clr commit: aba8b08701]
2021-11-22 15:51:28 -05:00
anusha GodavarthySurya 1d922d6d57 SWDEV-240808 - Added nvidia handling for few graph APIs
Change-Id: I8edee87ea75d80152418f76cc8a521b2ba58f139


[ROCm/clr commit: a6bf18791e]
2021-11-22 07:17:34 -08:00
shadi 40b2bba1b0 SWDEV-310910-add-property-details-in-dll
Signed-off-by: shadi <shadi.dashmiz@amd.com>
Change-Id: Ifd373cbb16398416c56511148b14e9c2fe11ad9e


[ROCm/clr commit: e5a8719417]
2021-11-22 09:50:04 -05:00
Sarbojit Sarkar 04745adf7a SWDEV-310181 - Fix for mGPU dtest failure
Change-Id: Id0898bd45e23f2d637bef25a3e69f26d9dc40785


[ROCm/clr commit: 2afeacc858]
2021-11-22 01:01:47 -05:00
Saleel Kudchadker dd76f98009 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


[ROCm/clr commit: 0d5bc833c3]
2021-11-21 01:13:36 -05:00
Chauncey Hui b9d61c4cd8 SWDEV-2 - Change OpenCL version number from 3393 to 3394
[ROCm/clr commit: 7fdeb37239]
2021-11-20 03:00:06 -05:00
anusha GodavarthySurya 5e8ecdf9f9 SWDEV-240806 - Fix compilation warning
Change-Id: I1b540059b1e386bc7b6f4493226c45199542bfc3


[ROCm/clr commit: d2f202b116]
2021-11-19 20:46:18 -05:00
anusha GodavarthySurya f8863a0a1d SWDEV-240806 - Added graph API hipGraphExecUpdate & hipGraphExecChildGraphNodeSetParams
Change-Id: Ie9c85b746846374b73194b96c7ee73d15463b894


[ROCm/clr commit: cfb42c1408]
2021-11-19 20:42:54 -05:00
Jason Tang 7d6aaab5dd SWDEV-1 - Enable ocltst Jenkins service messages
Change-Id: I201e3feea4598c4bfcfa77585dd01a6b60e452a3


[ROCm/clr commit: 63bd627252]
2021-11-19 16:05:26 -05:00
Satyanvesh Dittakavi 6ef56f09f1 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


[ROCm/clr commit: 3b157b3d5f]
2021-11-19 12:25:59 -05:00
kjayapra-amd 7220267211 SWDEV-310187 - Change flag to keep track of aligned sizes instead of expanded patterns.
Change-Id: I763feda8688bb1b7b11033a2a8cba0f69f07167d


[ROCm/clr commit: 8307886644]
2021-11-19 10:32:40 -05:00
Saleel Kudchadker 04a391004a SWDEV-299893 - Set preferred node affinity
Set affinity to the closest node of the current GPU. This reduces
the latency to fetch kernel args since device would query the CPU cache
of core which did the dispatch. This behavior is controlled with
AMD_CPU_AFFINITY env var(disabled by default)

Change-Id: I65afba62cb818ea25a311b88d1c0dd5c51330292


[ROCm/clr commit: b192beea52]
2021-11-19 04:42:42 -05:00
Chauncey Hui 8ff18d5e6f SWDEV-2 - Change OpenCL version number from 3392 to 3393
[ROCm/clr commit: 6cf5089f37]
2021-11-19 03:00:05 -05:00
anusha GodavarthySurya 2c1173ea32 SWDEV-240806 - hipGraph performance create new graph commands for every launch
Change-Id: Ifd4a373d6a76118ae0946238b29accfacbe32937


[ROCm/clr commit: ef1ec6ffde]
2021-11-19 00:09:47 -05:00
German Andryeyev c116411e00 SWDEV-294669 - Avoid queue drain
Use slot wait logic for direct dispatch

Change-Id: I431ba1418eb4aa066b9881934f4055b3d338ce3a


[ROCm/clr commit: 8e4101b4fd]
2021-11-18 13:06:12 -05:00
Chauncey Hui a3e56d08b7 SWDEV-2 - Change OpenCL version number from 3391 to 3392
[ROCm/clr commit: 874513375f]
2021-11-18 03:00:10 -05:00
pghafari e7df603b2a SWDEV-297142 - HIP-Vulkan - linux interop buffer
Change-Id: I0278e56bba632024c214beb9e1758587ccba0927


[ROCm/clr commit: e38a200bf7]
2021-11-17 06:06:58 -05:00
anusha GodavarthySurya 239cc6b437 SWDEV-240806 - Added support for host graph node
Change-Id: I8b3088d34d0b4e8080b55b5da80d821c5f29d8a4


[ROCm/clr commit: ce58dae704]
2021-11-17 01:10:18 -08:00
anusha GodavarthySurya f675e61387 SWDEV-308983 - Fix hipGraphKernelNodeSetParams
Change-Id: I8a57a4e33048931955b7ba5ed567631703bd6c5d


[ROCm/clr commit: 9c8b6b65e0]
2021-11-17 01:02:50 -08:00
anusha GodavarthySurya 71215f1231 SWDEV-240806 - hip stream capture handling for memory APIs
Change-Id: Ie29493cd09421175c3ce5a198f8c2c299739f997


[ROCm/clr commit: 3e2c2dfb71]
2021-11-17 00:15:13 -08:00
anusha GodavarthySurya abb6f92138 SWDEV-240806 - hipGraph performance create new graph commands for every launch
Change-Id: I7360b48055f67a91c23169ca532a19124d40e98b


[ROCm/clr commit: ec6b8d82b5]
2021-11-17 00:13:52 -08:00
Chauncey Hui 0e39d6f41a SWDEV-2 - Change OpenCL version number from 3390 to 3391
[ROCm/clr commit: 13ef90af61]
2021-11-17 03:00:15 -05:00
German Andryeyev 95c01935b8 SWDEV-305016 - Correct timeout logic
Timeout logic should be applied always even if the wait is active.

Change-Id: I2e5db7ac8a0f9a0355ad7b40e4227d76fb002aa0


[ROCm/clr commit: 9877fc9dbf]
2021-11-16 23:04:34 -05:00
Rahul Garg 417851d666 SWDEV-289558 - Generate hip-config.cmake on Windows
Change-Id: I00b553bcba596e882573b99cfb6894c310cf7c2a


[ROCm/clr commit: bcfac99cea]
2021-11-15 20:58:13 -05:00
Julia Jiang e3f6db3d64 SWDEV-308644 - update blit kernel setup in rocm
Change-Id: Iaa9ff97b3ed7d379189c359696be932a83cf203c


[ROCm/clr commit: ef3d6f7b28]
2021-11-15 13:28:07 -05:00
Chauncey Hui a7edd1e407 SWDEV-2 - Change OpenCL version number from 3389 to 3390
[ROCm/clr commit: 02f36b565b]
2021-11-13 03:00:04 -05:00
Julia Jiang ac6b19eb21 SWDEV-306204 - update disclaimer in hipamd
Change-Id: I8ad325e310b8aed9f6c618f0dcbf4c0a9b814a48


[ROCm/clr commit: 7c86f2e8d5]
2021-11-12 15:35:20 -05:00
Ashutosh Misra 92e972eae3 SWDEV-264665 - resolve uninstall breakage
Check required of existence of dir in the prerm

Change-Id: I54e1bc0309e82794b41fcc2ae1f01f004138dcee


[ROCm/clr commit: 0f79d51998]
2021-11-12 12:37:13 -04:00
kjayapra-amd e9238ae2f1 SWDEV-298434 - Delete texture references resources before deleting the ptr.
Change-Id: Ib616aadd45eced1b10891c908e986bbeddc08288


[ROCm/clr commit: 7145c500b3]
2021-11-12 11:20:47 -05:00
kjayapra-amd 2fdfb47092 SWDEV-309657 - Align Virtual queue size to sizeof(uint64_t).
Change-Id: Ia55d7316693bd13938875ce53f7849d5eb658e8c


[ROCm/clr commit: 7e32d6d909]
2021-11-12 10:35:36 -05:00
Chauncey Hui c27731f98b SWDEV-2 - Change OpenCL version number from 3388 to 3389
[ROCm/clr commit: 777c91a539]
2021-11-12 03:00:06 -05:00
Julia Jiang db667776fe SWDEV-306204 - update disclaimer in vdi
Change-Id: I69aac8897c43b72a52bee0279d3dbdcf3f1fb484


[ROCm/clr commit: a38f5f8382]
2021-11-11 14:01:56 -05:00
Chauncey Hui eea0019645 SWDEV-2 - Change OpenCL version number from 3387 to 3388
[ROCm/clr commit: 85d34f9277]
2021-11-11 03:00:06 -05:00