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
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
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
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
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
Sourabh Betigeri
1932e88970
SWDEV-326798 - Changes in stream sync behavior
...
Change-Id: If6d0b3876a9bf197c7e49273eaa5ca5bfae46d0b
[ROCm/clr commit: 51adec2730 ]
2023-02-27 16:48:14 -05:00
sdashmiz
bab487caa8
SWDEV-382838 - inetrmittent failure
...
- test fails intermittently because object is not cleared correctly
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I88daf3dc08bb83d6d3f047ff48a63c8f856fb0bf
[ROCm/clr commit: a69db9b426 ]
2023-02-27 16:23:04 -05:00
pghafari
a008845d4e
SWDEV-366515 - adding HIP_AD_FORMAT_SIGNED_INT16
...
Change-Id: I084d7b093049093ea032372593711f6dc0964af8
[ROCm/clr commit: 58001ae995 ]
2023-02-24 12:39:13 -05:00
Ioannis Assiouras
ea7d5037b9
SWDEV-381402 - Remove unused getNullStream() from device. Make stream destructor private.
...
Change-Id: Idde30a8bfe97a525bd9f9fb50698a5cb14b798fc
[ROCm/clr commit: 06927fd3c1 ]
2023-02-24 10:42:46 +00:00
sdashmiz
4c50e4a6ec
SWDEV-379388 - remove check for all streams done
...
- cuda shows a different behaviour and different error need more
investigation
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I68771102ba4dff6157bca34a4135cb245f023d08
[ROCm/clr commit: ea5838320e ]
2023-02-23 22:56:23 -05:00
German Andryeyev
2e0fd95d74
SWDEV-353281 - Add support for MemPool in graphs
...
Implement hipDeviceGetGraphMemAttribute, hipDeviceSetGraphMemAttribute
and hipDeviceGraphMemTrim
Change-Id: I4f8fc1250ce1e8b7636d43d59ba7343158e45088
[ROCm/clr commit: 314bdba632 ]
2023-02-23 12:49:53 -05:00
Saleel Kudchadker
9fdbbe53dc
SWDEV-364604 - Add support for hipEventDisableSystemFence
...
Change-Id: I1a6451c873fb22729ac61e4e80f8531251e990f0
[ROCm/clr commit: 7fc5ae2226 ]
2023-02-21 23:11:40 -05:00
pghafari
24bf83f808
SWDEV-366520 - DLL_PROCESS_DETACH update
...
making sure the current thread is not null before calling ihipDestroyDevice
Change-Id: Ib75e3f9ee1c4e0065986e3fed1065907220f4379
[ROCm/clr commit: c221406681 ]
2023-02-21 23:02:24 -05:00
Ioannis Assiouras
2633e62801
SWDEV-381402 - Derive hip::Stream from amd::HostQueue
...
Change-Id: I6c1aca5eb350c32d974ae4ffcc725705355956d8
[ROCm/clr commit: e3633dc8f4 ]
2023-02-21 18:12:03 -05:00
Rakesh Roy
c506ec3604
SWDEV-377782 - Fix segmentation fault for hipLaunchKernel
...
- If fat binary doesn't contain code object for current gfx then inside FatBinaryInfo::ExtractFatBinary(), valid FatBinaryDeviceInfo address isn't stored in vector fatbin_dev_info_
- This raises segmentation fault during hipLaunchKernel
Change-Id: I21017338d91edbd5d9cc2d37277f66558198a129
[ROCm/clr commit: 348698ed30 ]
2023-02-20 09:54:44 -05:00
Konstantin Zhuravlyov
f789329113
SWDEV-1 - Add missing gpu cases in getProcName
...
Change-Id: I16103ab213cc70f388690df85e6a03e7a408384d
[ROCm/clr commit: caf7551dd7 ]
2023-02-17 15:55:09 -05:00
victzhan
46652f12a2
SWDEV-376995 - Fixed misplaced checking
...
Change-Id: Ia3bddabfa7fc76066541fb81723136ae6cffb0a4
[ROCm/clr commit: d6a08403d8 ]
2023-02-17 13:34:51 -05:00
Rakesh Roy
9c51780b13
SWDEV-338733 - Implement hipArrayGet* APIs
...
- Add implementation for hipArrayGetInfo, hipArrayGetDescriptor &
hipArray3DGetDescriptor APIs
Change-Id: I181a472066006bc3bd0d987408ea67e218310983
[ROCm/clr commit: 287d07ccd4 ]
2023-02-16 23:04:29 -05:00
Ioannis Assiouras
5007a5f15d
SWDEV-381402 - convert host_device to host_context of type amd::Context*
...
Change-Id: Ic1cb9a3fa64e16699fad7e9ec6679f1d34b14bef
[ROCm/clr commit: 8b87ccb8cc ]
2023-02-16 17:49:12 -05:00
kjayapra-amd
9c479ada12
SWDEV-376697 - Pass uncached memory flag when hipDeviceMallocUncached memory is requested.
...
Change-Id: Idc12948047fdb69876e31edf34a8bcda46c9c303
[ROCm/clr commit: 193c5e387e ]
2023-02-16 14:05:54 -05:00
kjayapra-amd
b9f94c082b
SWDEV-381898 - Move the lock after code object loading since COMGR is thread safe now and VDI also have locks.
...
Change-Id: I15547f3ae3711d12a1ddf5cb7e9abd40a95ded89
[ROCm/clr commit: 68139f9ddb ]
2023-02-15 10:23:28 -05:00
victzhan
94f9990e27
SWDEV-376995 - Added if statement so that when AQL dispatch failed it returns corresponding hip error instead of hipSuccess
...
Change-Id: I0724fbcf0833c5dd8b2e4d6e443b3e226046dddf
[ROCm/clr commit: 4e324a9c63 ]
2023-02-14 14:30:50 -05:00
sdashmiz
8c69e2e52e
SWDEV-377862 - wrong format for memcpy1d
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ide6d252083b1812b0ad9cd182b1435e3e59b3aa1
[ROCm/clr commit: e34be4fbee ]
2023-02-14 09:47:04 -05:00
Sourabh Betigeri
3bc1a92b66
SWDEV-375194 - Fixes graph dot file descriptions to include labelId matching CUDA
...
Change-Id: Ia0e6b77e38678b13457f86755ed8f3b852c9b7a1
[ROCm/clr commit: 191b468d89 ]
2023-02-13 19:43:12 -05:00
Sourabh Betigeri
1544843291
SWDEV-375202 - Fixes print formatting for flags in hipGraphDebugPrint() to match CUDA
...
Change-Id: I2d85fc38d2c65bc12534109883fe00802e77e62d
[ROCm/clr commit: 4cbf9a4a16 ]
2023-02-09 13:07:57 -05:00
Satyanvesh Dittakavi
77e78dff33
SWDEV-370552 - Correct the HIPRTC behavior to optimize the ISA only once
...
Change-Id: Idaf0ea8294657db3666e9548deb6a9629e0ee718
[ROCm/clr commit: 99556449b6 ]
2023-02-09 11:55:41 -05:00
sdashmiz
fb107094d6
SWDEV-374378 - correct setparam for memcpy node
...
- params should be valid when used for default flag since we support
unified virtual address space
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I75d40e437b12ee58e72e423bb4818b484ce35b66
[ROCm/clr commit: 5c5b220561 ]
2023-02-09 09:39:20 -05:00