Commit Graph

6162 Commits

Author SHA1 Message Date
Satyanvesh Dittakavi 53dcdf2b46 SWDEV-393060 - Address directed tests build failures with CLR
Change-Id: I76b93ee073d21ec5fae0db5a129ada89f750855d


[ROCm/clr commit: a3104c60e1]
2023-04-14 03:53:51 -04:00
Ajay 369f587081 SWDEV-393406 - hip catch/directed tests on nvidia
fix the duplicate symbolic link issue

Change-Id: I472dfba80263d0f1d275d8e149007322c8af3f7c


[ROCm/clr commit: e5a300f892]
2023-04-10 19:54:23 +00:00
Ajay 4eaa9fa01a SWDEV-361630 - clr to be able to build hip directed tests
Change-Id: I85b45c52573683a963ac2b4ee0ec7c79653ecc4d


[ROCm/clr commit: 5e9545fdfd]
2023-04-07 14:21:34 -04:00
Ranjith Ramakrishnan c1be6ffca3 SWDEV-351540 - ASAN packaging for hip
Package ASAN libraries and license file
Suffix "asan" added to package name

Change-Id: Ia02bb55be0bd415dbd372b39ce884c38d8c3dcbf


[ROCm/clr commit: 267b342523]
2023-04-07 11:54:48 +00:00
taosang2 769f1e166e SWDEV-390626 - Support surface Apis
Change-Id: I1691b82d597bfd722d562778f919ebf8ca530e90


[ROCm/clr commit: 53742adc08]
2023-04-05 16:38:04 +00:00
German 56dedad98b SWDEV-380703 - sync all streams individually
Avoid syncing blocking streams with the default stream,
since that introduces extra command dependencies and
doesn't allow to destroy memory after last submission

Change-Id: I618e9bd2091c4cf9157125612d8c4759030c5a80


[ROCm/clr commit: 1e88d2c52f]
2023-04-05 16:37:49 +00:00
Jaydeep Patel 235eb22491 SWDEV-390439 - SWDEV-387997 - Delete array.
Change-Id: Ica20b005f5db7f4ed65c5ebc51959392671fe320


[ROCm/clr commit: 0f975e6e93]
2023-04-05 16:37:39 +00:00
Jaydeep Patel 91fef1215c SWDEV-362365 - Return invalid value if config is not valid.
Change-Id: I5f7300060f25536f8d3fd25afc2fe2522b621432


[ROCm/clr commit: 4d8fd17985]
2023-04-05 16:37:28 +00:00
Jaydeep Patel ac5c6ad299 SWDEV-362372 - Correct error code.
Change-Id: Ife4f6e3481d0e804e676fe076f0928870c6bae57


[ROCm/clr commit: 4ac87c051d]
2023-04-05 16:37:18 +00:00
Ajay b997937c50 SWDEV-384184 - hipGraphKernelNodeSetAttribute negative scenarios
Hardcoding check for accessPolicyMaxWindowSize
since its returned from Hardware thats not available yet

Change-Id: I3a09fc9ace3027c7d5533bbbc7da5e18f43591ec


[ROCm/clr commit: c603d5004a]
2023-04-05 16:37:04 +00:00
Ajay 42dda1e6f4 SWDEV-390170 - guard deprecated runtime apis on CUDA 12.0
Change-Id: I4ab967c276dfa98f75d508b9484e8d1324b4e4a7


[ROCm/clr commit: 9ca5e71127]
2023-04-05 16:36:53 +00:00
Christophe Paquot e1b8ba3750 SWDEV-301667 - Optimize lock for graph global capture mode
Remove unneeded lock and add smaller scope

Change-Id: I03a437057d54ce2d72c07a080bb872693b7f3f6c


[ROCm/clr commit: 6e86d29a58]
2023-04-05 10:58:14 +00:00
Julia Jiang b7a0456cfb SWDEV-389033 - Update header for cooperate group
Change-Id: Ica8f99c644a32835bf480b52a6a2af861f1526c0


[ROCm/clr commit: 0442501849]
2023-04-05 10:58:04 +00:00
Ioannis Assiouras d93de640bd SWDEV-389611 - Changed hipMallocAsync to return success for zero size allocation to match hipMalloc
Change-Id: Ia2cbfaf2df9be37b62f23b2bb5b619205752ba84


[ROCm/clr commit: db9d9faaeb]
2023-04-05 10:56:51 +00:00
Satyanvesh Dittakavi dded7831c1 SWDEV-374363 - hipImportExternalMemory/Semaphore should return error
when the Memory/Semaphore handle desc type is invalid

Change-Id: If122b05d87cc65974a797da69c134e2ac264d1db


[ROCm/clr commit: 1ed823a477]
2023-04-05 10:56:41 +00:00
Ajay ec1aea4a1b SWDEV-381627 - hipamd: refactor interop files
Removal of interop files and accessing these from vdi

Change-Id: If0d6635d56dd5bc63964bb49706ca5d6ebe4abc7


[ROCm/clr commit: 0b4f845475]
2023-04-05 10:56:28 +00:00
Ioannis Assiouras 517e142aeb SWDEV-388661 - Fixed regression in hipMemCpyParam3D when offset is applied
Change-Id: I31273d643aac05f394f505235734c7f098497051


[ROCm/clr commit: 9c04e21b68]
2023-04-05 10:54:34 +00:00
Jaydeep Patel 37d76bc6a6 SWDEV-388942 - hipGraphMemsetNodeSetParams & hipGraphExecMemsetNodeSetParams differs in validation as per cuda.
Change-Id: Ie013aa5e94e8c468d949797890fb6b629e97a323


[ROCm/clr commit: 17553de9b7]
2023-04-05 10:54:22 +00:00
Jaydeep Patel 90a00bc681 SWDEV-388926 - Original and new memory should be from same device for hipGraphExecMemsetNodeSetParams.
Change-Id: I32bd56db0b80d748e3ae0737a38ea975738bdab7


[ROCm/clr commit: ec227d560a]
2023-04-05 10:54:10 +00:00
sdashmiz a2e1a1b4aa SWDEV-388937 - fix removing a node
- before removing node from graph all edges should be removed and rest
  of graph updated

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


[ROCm/clr commit: 8c62a616a2]
2023-04-05 10:54:01 +00:00
sdashmiz ddf76371e6 SWDEV-386685 - return proper error
- if graph is already instantiated there cant be a second instance in
  case nodes are free or alloc

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


[ROCm/clr commit: f6c36be185]
2023-04-05 10:53:51 +00:00
sdashmiz b0b21ae1cc SWDEV-386695 - fix param sanitization check
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I1317640453d56718fa41f455c512282fd0f01e2a


[ROCm/clr commit: 3a45a965e2]
2023-04-05 10:53:42 +00:00
Sourabh Betigeri 21d9eb467d SWDEV-387810 - Fixes to verify if the current stream matches the capture stream
- invalid to synchronize or query the execution status of a capturing stream but non-capturing streams can.

- If any local thread has an ongoing or concurrent capture sequence initiated with hipStreamCaptureModeGlobal, it is prohibited from unsafe calls

Change-Id: Ifa641e807216d3b7c3e8c2fb1be2f7a50bd641df


[ROCm/clr commit: 7809d2846b]
2023-04-05 10:53:33 +00:00
Jatin Chaudhary 421c4149e4 SWDEV-384013 - Add HIPRTC_JIT_IR_TO_ISA_OPT_EXT
Change-Id: Icfc06c19af32f41d603bf880ab1927bffb391097


[ROCm/clr commit: 300ba5b1f1]
2023-04-05 10:52:48 +00:00
sdashmiz c33e0bde58 SWDEV-385255 - fixes for graph exec with mem pools
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I6f127090904a6c7985992bfaaab928d8b03013f5


[ROCm/clr commit: d2ea4d3dd4]
2023-04-05 10:52:04 +00:00
Ioannis Assiouras 49ab7a188f SWDEV-387958 - Fix incorrect slicePitch for ImageGL
Change-Id: I06183deeeed840f345ba988ecdbf4dc442c3c78a


[ROCm/clr commit: 5ee9e6c8c1]
2023-04-05 10:51:48 +00:00
Ajay e4e9be476c SWDEV-379678 - remove samples packaging from hipamd
packaging of hip samples is now moved to hip-tests project

Change-Id: I696d970328f76f6e65e19aad52a0d7bd0b4cdd39


[ROCm/clr commit: 1f23b87fe5]
2023-04-05 10:51:33 +00:00
Maneesh Gupta 6fb6b30136 SWDEV-361630 - Workaround for rocfft build failure
Change-Id: Ie15e17361f2e6cd5f11e6fc1e6755c98cef7f4ce


[ROCm/clr commit: 88b4b6428c]
2023-04-03 14:52:44 +00:00
Maneesh Gupta dc41080660 SWDEV-361630 - Enable hip build
Change-Id: Icdeaeff555d46e495c3de954b614168995a82a9f


[ROCm/clr commit: 1bc186323f]
2023-03-26 15:42:33 +00:00
Ioannis Assiouras bf7e31c1ff SWDEV-388278 - Fix return HIP_RETURN(x)
Change-Id: I940ee3660a2427eade8690a9318966fb04a1fbe8


[ROCm/clr commit: e6520ddf8a]
2023-03-13 13:32:55 +00:00
sdashmiz 7528052a8f SWDEV-377862 - kind does not show on dotprint
- for to/from symbols nodes the correct kind is not showing

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


[ROCm/clr commit: ae631aaa32]
2023-03-10 16:39:07 -05:00
Sourabh Betigeri 0e37a53fae SWDEV-385089 - Fixes hipGraphLaunch functionality accounting for the existence of MemFree node or already freed memory when the same graph is launched multiple times
Change-Id: I49beb49ad4e6db4a2dd5b8c8cc8ed11ff0e4e132


[ROCm/clr commit: ec8ab9b29c]
2023-03-09 21:10:13 -05:00
Ioannis Assiouras 2ccaf82efc SWDEV-373630 - Added input checks in hipOccupancy query functions.
Change-Id: I2b3e47a094acf5968e714bd853c4497995ef386b


[ROCm/clr commit: a38296158c]
2023-03-09 20:45:02 -05:00
Ioannis Assiouras fc2406316f SWDEV-386926 - Added check for correct node type in hipGraphMem[Alloc/Free]NodeGetParams
Change-Id: Ic8446210a683d1329391288d0ed99d835c5aa140


[ROCm/clr commit: 58e05898d1]
2023-03-09 20:05:28 -05:00
Ioannis Assiouras 41174e6244 SWDEV-387383 - Changed error message in hipDevice[Get/Set]GraphMemAttribute to match cuda
Change-Id: I34a9f3d8572e004ae3d25ef25a4d404bea6d9597


[ROCm/clr commit: 9e1e3035ec]
2023-03-09 11:53:15 -05:00
Ioannis Assiouras 55c387ca23 SWDEV-387173 - Added cuda mappings for hipGraphMemAttr* enums
Change-Id: Ie5485ec518c6d107901a429ac3614e22caa9196b


[ROCm/clr commit: 1d6c40b569]
2023-03-09 08:08:06 -05:00
Saleel Kudchadker ce8215feb4 SWDEV-384658 - Optimize D2D memcpy
- Intra device memcpy does not need to perform host side synchronization
- Check alloc flags when determining memory type

Change-Id: Ieff28bd8d62756ffe82905354c4a91e9717e6bd4


[ROCm/clr commit: dfefc97178]
2023-03-09 04:47:11 -05:00
Anusha GodavarthySurya cfcc0aede9 SWDEV-330658 - Added flag hipHostRegisterReadOnly
Change-Id: Idb59dc6187e99512546dfeafde44c08ae85f6057


[ROCm/clr commit: b689c56107]
2023-03-09 00:20:24 -05:00
Anusha GodavarthySurya f0dd8a6fe3 SWDEV-386102 - Handle code object v5
Change-Id: I47b840f484d90ca7815fb9c8af959ceaac62cf70


[ROCm/clr commit: 9b84e05427]
2023-03-09 00:19:25 -05:00
Saleel Kudchadker 71a3807e6f SWDEV-345213 - Use the right accessor
- Use correct accessor to fetch memory objects. This checks the svm map
and arena maps

Change-Id: I84515330bb530cfe2b39abf30e1e659938f06806


[ROCm/clr commit: 8028d327e9]
2023-03-06 19:35:40 -05:00
Ioannis Assiouras 0936f32b27 SWDEV-373630 - Added checks for invalid flags in hipOccupancy query functions
Change-Id: Ice1df4d3722354f40c8b02ba35ed122f9b2e2f2d


[ROCm/clr commit: 5837d83e46]
2023-03-06 15:10:07 -05:00
Jatin Chaudhary 759415288b SWDEV-386435 - Add checks for memfree graph node
Change-Id: I8eab93046723f0fdc01f95e3bfb9071d84eb2e18


[ROCm/clr commit: 7715b3b398]
2023-03-03 04:33:49 -05:00
Anusha GodavarthySurya 18edb0d97c SWDEV-366636 - Fix performance drop in TF-RCCL models
Change-Id: Ie04219daacc29654d0f47e1c15ed5cd78d88d8c8


[ROCm/clr commit: a2785c68b2]
2023-03-03 03:27:00 -05:00
Ranjith Ramakrishnan ec60a2ad11 SWDEV-366831 - Use actual install path rather than using backward compatibility path
hip-config if invoked from backward compatibility path was providing package prefix directory as /opt/rocm-ver/hip.
Usage of backward compatibility path will result in error, since #warning messages are changed to #error
The change will provide the actual install path /opt/rocm-ver as package prefix directory

Change-Id: I4ac54a5ed9de01d5f40f456f20b76b60237b7d9e


[ROCm/clr commit: 9a7b2d0a88]
2023-03-02 11:37:04 -05:00
Anusha GodavarthySurya 2d9f92288c SWDEV-368521 - Return hipErrorNotSupported when Mipmap array create support is not available
Change-Id: I47acfa82ff3f58427b1f5fbb0d2f4aabfff0d6ec


[ROCm/clr commit: 705c56ed31]
2023-03-02 03:05:43 -05:00
Satyanvesh Dittakavi 8947306ffd SWDEV-384714 - Add hipRTC support for amd_hip_fp16
Change-Id: Ib6e2b46908d740909dfc15253965590f496a7068


[ROCm/clr commit: a8c2375fe1]
2023-03-01 06:57:57 -05:00
Jatin Chaudhary 2bcde46b12 SWDEV-372153 - Add hipStreamGetDevice Implementation
Change-Id: Ifd1f13e311e8221ca6d94cf27f9131eb97678067


[ROCm/clr commit: a7049bf7a0]
2023-03-01 04:35:49 -05:00
Jaydeep Patel 37769589f3 SWDEV-383056 - Don't sync with dst device for hipMemcpyAsync.
Change-Id: I28530e6bd870d617507592576295fc9e7eed1475


[ROCm/clr commit: 57fa5938fe]
2023-02-28 23:21:01 -05:00
Sourabh Betigeri 23aa33200c SWDEV-378778 - Returns with error logged when compiled for a diffferent gpu arch
Change-Id: I34fb03c4f76d08278246d29028db0eb21a7aa529


[ROCm/clr commit: 88dc5cd386]
2023-02-28 15:59:59 -05:00
Sourabh Betigeri 02a3fcff26 SWDEV-326798 - Revert "SWDEV-326798 - Changes in stream sync behavior"
This reverts commit 1932e88970.

Reason for revert: HIP tests on windows fails

Change-Id: I795ed19d76a41e2fd9971414cefa5bd3be45d4bc


[ROCm/clr commit: 08c8972d97]
2023-02-28 02:28:12 -05:00