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
Sarbojit Sarkar
9e4766d990
SWDEV-292547 - Fix for hipStreamPerThread
...
Change-Id: I9328c7ec92d954433f8e69732d91e65fa6fe013a
2021-10-19 23:26:48 -04:00
cjatin
9caaa6f492
SWDEV-306643 - add align and launch bounds for hiprtc
...
Change-Id: Id178230eeeec94a8678e96474c35376d5427599a
2021-10-17 17:07:04 -04:00
kjayapra-amd
4d1195f0a7
SWDEV-232903 - Move hipmemset dword optimization into ROCclr.
...
Change-Id: I1af437de2771f6a48d06ce643ade6b79f551a55c
2021-10-13 11:32:00 -04:00
pghafari
a525605e5c
SWDEV-245531 - GLInterop: exposing api for linux
...
Change-Id: I9aa12bf5b6463619d3d6cdaea85ffc18f50bb1ba
2021-10-11 12:21:14 -04:00
anusha GodavarthySurya
13ada9b193
SWDEV-24806 - Fix windows dk build
...
Change-Id: Iaa497c5736f300c71b63499fc218cfd7769d2e20
2021-10-07 10:05:17 -07:00
anusha GodavarthySurya
3a5c80386d
SWDEV-24806 - Fix windows dk build
...
Change-Id: Ie309da9dbbf5037510ec7e6913a711ea631d3df8
2021-10-06 22:52:44 -07:00
pghafari
c5acbf2685
SWDEV-245531 - GLInterop: removing GL dependency
...
Change-Id: Ie8d794fff9518704d008b71c4d108fb01ea3fcb5
2021-10-06 16:53:49 -04:00
anusha GodavarthySurya
f6456c5e27
SWDEV-24806 - Added support for event wait and event record graph APIs
...
hip graph implementation for APIs AddEventRecordNode, AddEventWaitNode, EventRecordNodeGetEvent, EventWaitNodeGetEvent, EventRecordNodeSetEvent,EventWaitNodeSetEvent, ExecEventRecordNodeSetEvent, ExecEventWaitNodeSetEvent
Change-Id: Ifde51f4591067795d6cbf5595372cbdbd8a7bc26
2021-10-06 00:31:42 -07:00
anusha GodavarthySurya
c4eda85835
SWDEV-24806 - Added support for memcpy related graph APIs
...
hipGraphMemcpyNodeSetParams1D, hipGraphExecMemcpyNodeSetParams1D, hipGraphExecMemcpyNodeSetParams, hipGraphAddMemcpyNodeFromSymbol, hipGraphMemcpyNodeSetParamsFromSymbol, hipGraphExecMemcpyNodeSetParamsFromSymbol, hipGraphAddMemcpyNodeToSymbol, hipGraphMemcpyNodeSetParamsToSymbol, hipGraphExecMemcpyNodeSetParamsToSymbol
Change-Id: I6896144f340867d938aa1777880c78c46ca6f893
2021-10-05 22:43:49 -07:00
anusha GodavarthySurya
a62b6110db
SWDEV-240806 - Fix windows build remove unused symbols
...
Change-Id: I27524f2f0700ed5a9b78d46fbc8a19a516c46ad1
2021-10-05 21:10:44 -07:00
anusha GodavarthySurya
1c51d82dd5
SWDEV-240806 - Added few Graph API Implementation
...
hipGraph APIs clone, childGraph, RemoveDependencies, GetEdges,GetDependencies, GetDependentNodes, GetType and DestroyNode
hipStream APIs GetCaptureInfo, GetCaptureInfo_v2, UpdateCaptureDependencies.
Change-Id: Ib0f4cb8ea335698eecdd6d744ffab1e954153673
2021-10-05 07:44:54 -07:00
anusha GodavarthySurya
63cd524f1d
SWDEV-287830 - Remove hardcoding of /opt/rocm path
...
Change-Id: I3b654f46d8867651734804f19a4456e17ada740d
2021-10-05 07:38:01 -04:00
anusha GodavarthySurya
1111468b49
SWDEV-240806 - Added few more Graph APIs
...
Change-Id: I028a1fdf30232b0c47443685e03d7ca410d2a0d0
2021-10-05 07:37:11 -04:00
Sarbojit Sarkar
930807fd20
SWDEV-292547 - To match cuda behavior
...
Change-Id: I3577609fcc5443949f73644196e8310fc49d887f
2021-10-05 00:31:05 -04:00
Ajay
361dec890c
SWDEV-301069 - save device id during hipHostRegister
...
Change-Id: I789b2252fa1a131ed1924b47718e355cb4fc9037
2021-10-04 12:07:29 -04:00
Maneesh Gupta
ce0995e799
Revert "SWDEV-252801 - Fix hipGetLastError/hipPeekAtLastError"
...
Temporarily reverting to resolve promotion issues.
This reverts commit 3dc47bc839 .
Change-Id: I578d1d627e4b9779b146bf2827894522d6673d13
2021-10-04 05:15:43 -04:00
Sarbojit Sarkar
98c172c2e4
SWDEV-301823 - Optimized hipMemset2D/3D
...
Change-Id: I1e817ab135bfdf9b8f9af18c1bf2cd2e926db729
2021-09-28 00:05:33 -04:00
Sourabh
4177d20877
SWDEV-292525 - [hipamd] Use a blit to streamWait
...
Implementation to use a blit kernel to perform
a hipStreamWait instead of an AQL packet.
Change-Id: I9d9bc1dd793c1454e91e68afb793460749e10d2e
2021-09-27 13:59:21 -04:00
Payam
b075718a0f
SWDEV-245531 - GLInterop: linux - Buffer Interop
...
adding back two missed changes back to cmakelists and amdhip.def
Change-Id: Ibe0ed655d3590f0add13c20b160078ae005feaaf
2021-09-23 17:10:37 -04:00
Jatin Chaudhary
c250a13849
SWDEV-297217 - Append user options after default options
...
Change-Id: I1bdd309f98997f805357baa5d3ff36063797460c
2021-09-21 15:12:36 -04:00
Ajay
198530143c
SWDEV-301069 - null ptr check before calling getUserData
...
Change-Id: Iaff3acd44d89a9629efe0672cb45138942d7fa28
2021-09-17 19:25:24 -04:00
agunashe
29adfcd3c0
SWDEV-301069 - current device id saved while allocating memory
...
Change-Id: I57045119e7adf915074c547cbe76349a4cfd72d9
2021-09-14 12:19:44 -04:00
Laurent Morichetti
3dc47bc839
SWDEV-252801 - Fix hipGetLastError/hipPeekAtLastError
...
hipGetLastError/hipPeekAtLastError should really return the last error
produced by any of the runtime calls that did not successfuly complete,
not just the error code of the last runtime call.
For example, in this snippet of code:
1: hipLaunchKernelGGL(MyKernel, dim3(2), dim3(128), 0, 0, 10000,x);
2: hipDeviceSynchronize();
3: hipError_t error = hipGetLastError();
If the call to hipLaunchKernelGGL fails, hipDeviceSynchronize (which
succeeds) should not reset the last error to hipSuccess. hipGetLastError
should still return the non-success error code returned by
hipLaunchKernelGGL.
The last error is reset to hipSuccess after calling hipGetLastError.
Change-Id: Ib7c039067c53c94c99c8ecd83f54212bcef06f81
2021-09-09 12:29:05 -07:00
Laurent Morichetti
3911184607
SWDEV-252801 - Fix return HIP_RETURN(x)
...
HIP_RETURN(x) is not a value, it is a statement ending with a return,
this commit replaces all instances of "return HIP_RETURN(x)" with simply
"HIP_RETURN(x)"
Change-Id: I03293b2684a65367ff55e02b3a71ea49ec7a517a
2021-09-09 12:19:41 -07:00
Jason Tang
4d06d64939
SWDEV-1 - switch to C++17
...
Change-Id: Ifdb1ecbf175949462c29035c007acb3e82fe8322
2021-09-09 10:16:43 -04:00
Sarbojit Sarkar
88186db4cd
SWDEV-276319 - Added missing null check
...
Change-Id: I0fcaa55b9a793cbb6c1d2f3022edf288dabea757
2021-09-08 06:53:02 -04:00
Jatin Chaudhary
0faf1244b5
SWDEV-299162 - Use new comgr API to demangle names
...
Change-Id: I9e34518de94db30c345cd03c92801b8424b4e446
2021-09-08 02:32:41 -04:00