pghafari
26ddbfd8ec
SWDEV-310292 - checking hip initialization
...
Change-Id: I83c9a0d511699c150abe61c3053cc4de2f7f1205
[ROCm/clr commit: 24e984fd57 ]
2021-11-29 14:59:19 -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
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
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
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
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
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
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
a1917d6593
SWDEV-310194 - Return hipSuccess early if fill_size is 0.
...
Change-Id: I79d8c94b099d441f14f938205e007ae521649672
[ROCm/clr commit: 2f87d24dd2 ]
2021-11-09 09:28:25 -05:00
German Andryeyev
8c508e5dba
SWDEV-305016 - Check for HW event ready
...
Runtime can skip the marker if HW event was completed already.
Change-Id: Ie9fbc08b06b375c5586cbe1aa93922f1880608e4
[ROCm/clr commit: 21a2fdb80a ]
2021-11-01 10:07:08 -04:00
Tao Sang
f970a1be0f
SWDEV-306947 Enable hipAddressModeBorder
...
Enable hipAddressModeBorder.
Fix default of height of hipMallocArray().
Some code improvement.
Change-Id: I57045118e7adf915074c547cbe76349a4cfd72d8
[ROCm/clr commit: 17cc99c05d ]
2021-10-27 10:05:53 -04:00
anusha GodavarthySurya
81fa107364
SWDEV-307915 - hipHccModuleLaunchKernel correct event timing
...
Change-Id: I397a3d6cf0cf8639666befb9ed7a357c6753741c
[ROCm/clr commit: 8d30df5ccf ]
2021-10-25 21:46:46 -07:00
anusha GodavarthySurya
ad0dc7dd0e
SWDEV-307642 - Fix memcpy directed tests failure
...
Change-Id: I7a835a5a519b35fcda813c2acc1ac3cf5d0b5f23
[ROCm/clr commit: 63c6799130 ]
2021-10-26 00:15:11 -04:00
German Andryeyev
cfed4577c0
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
[ROCm/clr commit: 981508b2af ]
2021-10-25 16:56:37 -04:00
sdashmiz
e2391f7ed3
SWDEV-305946:add null pointer check
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I4e466dfd15123276537c47548fbdfb37c5c230df
[ROCm/clr commit: 848c47c95f ]
2021-10-21 10:28:54 -04:00
Satyanvesh Dittakavi
933df7235b
SWDEV-305163 - Do not limit hipHostMalloc upto max GPU memory available
...
Change-Id: Iea934088bcbef6cbd5c3f9f97767042fcaf71062
[ROCm/clr commit: 1da4bb21b9 ]
2021-10-20 01:33:44 -04:00
Sarbojit Sarkar
ecde1f5b96
SWDEV-292547 - Fix for hipStreamPerThread
...
Change-Id: I9328c7ec92d954433f8e69732d91e65fa6fe013a
[ROCm/clr commit: 9e4766d990 ]
2021-10-19 23:26:48 -04:00
cjatin
fa0694e90f
SWDEV-306643 - add align and launch bounds for hiprtc
...
Change-Id: Id178230eeeec94a8678e96474c35376d5427599a
[ROCm/clr commit: 9caaa6f492 ]
2021-10-17 17:07:04 -04:00
kjayapra-amd
7c4dfc27a7
SWDEV-232903 - Move hipmemset dword optimization into ROCclr.
...
Change-Id: I1af437de2771f6a48d06ce643ade6b79f551a55c
[ROCm/clr commit: 4d1195f0a7 ]
2021-10-13 11:32:00 -04:00
pghafari
b6ab3bbc80
SWDEV-245531 - GLInterop: exposing api for linux
...
Change-Id: I9aa12bf5b6463619d3d6cdaea85ffc18f50bb1ba
[ROCm/clr commit: a525605e5c ]
2021-10-11 12:21:14 -04:00
anusha GodavarthySurya
9327ed2617
SWDEV-24806 - Fix windows dk build
...
Change-Id: Iaa497c5736f300c71b63499fc218cfd7769d2e20
[ROCm/clr commit: 13ada9b193 ]
2021-10-07 10:05:17 -07:00
anusha GodavarthySurya
26e317f519
SWDEV-24806 - Fix windows dk build
...
Change-Id: Ie309da9dbbf5037510ec7e6913a711ea631d3df8
[ROCm/clr commit: 3a5c80386d ]
2021-10-06 22:52:44 -07:00
pghafari
d0cb0062a0
SWDEV-245531 - GLInterop: removing GL dependency
...
Change-Id: Ie8d794fff9518704d008b71c4d108fb01ea3fcb5
[ROCm/clr commit: c5acbf2685 ]
2021-10-06 16:53:49 -04:00
anusha GodavarthySurya
20e5aace05
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
[ROCm/clr commit: f6456c5e27 ]
2021-10-06 00:31:42 -07:00
anusha GodavarthySurya
be487b261b
SWDEV-24806 - Added support for memcpy related graph APIs
...
hipGraphMemcpyNodeSetParams1D, hipGraphExecMemcpyNodeSetParams1D, hipGraphExecMemcpyNodeSetParams, hipGraphAddMemcpyNodeFromSymbol, hipGraphMemcpyNodeSetParamsFromSymbol, hipGraphExecMemcpyNodeSetParamsFromSymbol, hipGraphAddMemcpyNodeToSymbol, hipGraphMemcpyNodeSetParamsToSymbol, hipGraphExecMemcpyNodeSetParamsToSymbol
Change-Id: I6896144f340867d938aa1777880c78c46ca6f893
[ROCm/clr commit: c4eda85835 ]
2021-10-05 22:43:49 -07:00
anusha GodavarthySurya
d3424a31ac
SWDEV-240806 - Fix windows build remove unused symbols
...
Change-Id: I27524f2f0700ed5a9b78d46fbc8a19a516c46ad1
[ROCm/clr commit: a62b6110db ]
2021-10-05 21:10:44 -07:00
anusha GodavarthySurya
78f89618cb
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
[ROCm/clr commit: 1c51d82dd5 ]
2021-10-05 07:44:54 -07:00
anusha GodavarthySurya
4a7b23b848
SWDEV-287830 - Remove hardcoding of /opt/rocm path
...
Change-Id: I3b654f46d8867651734804f19a4456e17ada740d
[ROCm/clr commit: 63cd524f1d ]
2021-10-05 07:38:01 -04:00
anusha GodavarthySurya
ea786b1810
SWDEV-240806 - Added few more Graph APIs
...
Change-Id: I028a1fdf30232b0c47443685e03d7ca410d2a0d0
[ROCm/clr commit: 1111468b49 ]
2021-10-05 07:37:11 -04:00
Sarbojit Sarkar
96e7dcecd1
SWDEV-292547 - To match cuda behavior
...
Change-Id: I3577609fcc5443949f73644196e8310fc49d887f
[ROCm/clr commit: 930807fd20 ]
2021-10-05 00:31:05 -04:00
Ajay
48316f63e9
SWDEV-301069 - save device id during hipHostRegister
...
Change-Id: I789b2252fa1a131ed1924b47718e355cb4fc9037
[ROCm/clr commit: 361dec890c ]
2021-10-04 12:07:29 -04:00
Maneesh Gupta
2ff0c7c7bf
Revert "SWDEV-252801 - Fix hipGetLastError/hipPeekAtLastError"
...
Temporarily reverting to resolve promotion issues.
This reverts commit b36803746b .
Change-Id: I578d1d627e4b9779b146bf2827894522d6673d13
[ROCm/clr commit: ce0995e799 ]
2021-10-04 05:15:43 -04:00
Sarbojit Sarkar
8923e6d97d
SWDEV-301823 - Optimized hipMemset2D/3D
...
Change-Id: I1e817ab135bfdf9b8f9af18c1bf2cd2e926db729
[ROCm/clr commit: 98c172c2e4 ]
2021-09-28 00:05:33 -04:00
Sourabh
f1486e33e4
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
[ROCm/clr commit: 4177d20877 ]
2021-09-27 13:59:21 -04:00
Payam
ab21349df9
SWDEV-245531 - GLInterop: linux - Buffer Interop
...
adding back two missed changes back to cmakelists and amdhip.def
Change-Id: Ibe0ed655d3590f0add13c20b160078ae005feaaf
[ROCm/clr commit: b075718a0f ]
2021-09-23 17:10:37 -04:00
Jatin Chaudhary
1843c58544
SWDEV-297217 - Append user options after default options
...
Change-Id: I1bdd309f98997f805357baa5d3ff36063797460c
[ROCm/clr commit: c250a13849 ]
2021-09-21 15:12:36 -04:00
Ajay
918575f762
SWDEV-301069 - null ptr check before calling getUserData
...
Change-Id: Iaff3acd44d89a9629efe0672cb45138942d7fa28
[ROCm/clr commit: 198530143c ]
2021-09-17 19:25:24 -04:00
agunashe
0cf25d1fd3
SWDEV-301069 - current device id saved while allocating memory
...
Change-Id: I57045119e7adf915074c547cbe76349a4cfd72d9
[ROCm/clr commit: 29adfcd3c0 ]
2021-09-14 12:19:44 -04:00
Laurent Morichetti
b36803746b
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
[ROCm/clr commit: 3dc47bc839 ]
2021-09-09 12:29:05 -07:00
Laurent Morichetti
cb2eaff241
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
[ROCm/clr commit: 3911184607 ]
2021-09-09 12:19:41 -07:00
Jason Tang
0f5020cfb5
SWDEV-1 - switch to C++17
...
Change-Id: Ifdb1ecbf175949462c29035c007acb3e82fe8322
[ROCm/clr commit: 4d06d64939 ]
2021-09-09 10:16:43 -04:00
Sarbojit Sarkar
87862528be
SWDEV-276319 - Added missing null check
...
Change-Id: I0fcaa55b9a793cbb6c1d2f3022edf288dabea757
[ROCm/clr commit: 88186db4cd ]
2021-09-08 06:53:02 -04:00
Jatin Chaudhary
3231b56cbc
SWDEV-299162 - Use new comgr API to demangle names
...
Change-Id: I9e34518de94db30c345cd03c92801b8424b4e446
[ROCm/clr commit: 0faf1244b5 ]
2021-09-08 02:32:41 -04:00
Sarbojit Sarkar
0c08bbf838
SWDEV-300655 - HIP trace cleanup
...
Change-Id: Iebc1eefe8d81d2f1f8adbab47e1351f03635868f
[ROCm/clr commit: c8983ead49 ]
2021-09-08 00:32:47 -04:00
anusha GodavarthySurya
64799f183f
SWDEV-300471 - updated hipFree to wait for all streams to finish
...
Change-Id: I4983ef48a9e720ed03128d83a8d23ad11024fd8f
[ROCm/clr commit: c9d9fd992a ]
2021-09-02 00:45:24 -04:00