Sarbojit Sarkar
c97cd36663
Revert "Fix hipmemset to match CUDA behavior"
...
This reverts commit f57da595ff .
Change-Id: I53052b25bac4956f3efd124eadc936197f2e466a
[ROCm/hip commit: 36a6baf829 ]
2021-01-01 00:11:58 -05:00
agodavar
60998172fb
hipmemcpy2D handle height 0
...
Change-Id: I46bf89e81559c3bfccac0dd0ccd78eee9058c7e3
[ROCm/hip commit: d21cabd890 ]
2020-12-31 01:41:56 -05:00
agodavar
ccf9c1c482
SWDEV-266089: hipStreamAddCallback argument validation
...
Change-Id: I3e61006796e88b4e2ba029118c95f3499959257b
[ROCm/hip commit: 2a4568d416 ]
2020-12-29 05:42:54 -05:00
agodavar
5ae2e9926d
SWDEV-263180 : Fix null ptr dereference
...
Change-Id: Iefc9fa3f195af45a5c5ebe075056246c930a6d84
[ROCm/hip commit: c1dedbd3a0 ]
2020-12-19 02:02:54 -05:00
Rahul Garg
f57da595ff
Fix hipmemset to match CUDA behavior
...
Make hipMemset asynchronous with respect to the host unless
destination pointer refers to pinned host memory.
Change-Id: I5ba230e0cc622aa076dc94692a4c43a57dd2df7b
[ROCm/hip commit: 08f827b28b ]
2020-12-17 19:13:31 +00:00
Evgeny
4156100aee
SWDEV-259683 : hipprof: adding hipApiIdByName() method
...
Change-Id: I1ad2be76efc9fb690ed7c9c2b1091f7eb0c04a31
[ROCm/hip commit: d4df2e880d ]
2020-12-15 15:42:10 -05:00
Satyanvesh Dittakavi
cc8d3a3188
SWDEV-258754 Fix seg fault hipMemset with device pointer mapped from hipHostRegister
...
Change-Id: Ifab66b67df172812ebb6eb25c2bac71821f4d614
[ROCm/hip commit: 5b10098da9 ]
2020-12-15 07:44:34 -05:00
Satyanvesh Dittakavi
390615cc60
Fix hipPointerGetAttributes
...
Modified hipPointerGetAttributes to support hipHostRegister ptrs and mapped device ptrs from hipHostRegister
Change-Id: I2f4cf12e09578768308f644123d6d4bdccbd77a8
[ROCm/hip commit: a7b5347c90 ]
2020-12-15 01:40:24 -05:00
Sarbojit Sarkar
4ff1982a97
Updated review comment
...
Change-Id: Ic7f9f33dd23c975f2a7a0f0d485a3d2a457c62bb
[ROCm/hip commit: 7c3b1cca22 ]
2020-12-13 11:30:28 -05:00
Tao Sang
544f512353
Some improvements on hip cmake file
...
1.Fix unexpected repeated hip runtime lib building
2.Seperate test cmake from top cmake.
Change-Id: I1ae457effd639d6c25bca293c1724b026be21ecd
[ROCm/hip commit: d074c2491f ]
2020-12-11 13:32:15 -05:00
Rahul Garg
a2539f0342
Handle overflow
...
Fixes SWDEV-261712
Change-Id: I730fcdca8c2640fde9cfdfe2f4b4cf4894807fed
[ROCm/hip commit: 15ecdcf084 ]
2020-12-09 19:09:43 -05:00
Saleel Kudchadker
8c78939796
Honor hipEventDisableTiming event flag
...
Change-Id: Ia949db96e81b9af467f04ab40d143e8d6faa9394
[ROCm/hip commit: 6da16e90d2 ]
2020-12-09 15:10:18 -05:00
Jatin Chaudhary
be29ce8cbb
Updating the gcnArchName to now have target id
...
Change-Id: Ibd5576e0fb5b46e8f212de4ec57cd96eb1d3c157
[ROCm/hip commit: d056171a20 ]
2020-12-09 01:22:08 -05:00
Jatin Chaudhary
446cb45dc4
Adding checks for function, size and params in ihipModuleLaunchKernel to have common message for hipModuleLaunch and hipExtModuleLaunch
...
Change-Id: I11921ad753930872572571dbfd1c12daba83a725
[ROCm/hip commit: 91ca6e6ab3 ]
2020-12-07 03:17:14 -05:00
Saleel Kudchadker
1cc4048533
Add a new flag for profilingInfo to record gpu TS
...
Add a flag to record gpu TS in a marker, also disable marker flush
if there was already a marker submitted before.
Change-Id: I9cdf8e49137690c0050fe9370764dd059855a2f8
[ROCm/hip commit: 390d8c54cb ]
2020-12-03 13:45:39 -05:00
agodavar
3cef4c8a97
SWDEV-256810 : hipMemcpy2D API handle width, src/dst pitch 0
...
Change-Id: I4f60b220624f4235c0c3daf68adcd5a496e93696
[ROCm/hip commit: 77e5c4110e ]
2020-12-03 10:34:12 -05:00
Sarbojit Sarkar
4f0fe005b3
SWDEV-258579: hipMemcpy2D better error handling
...
Change-Id: I09378d6e31da99451e22cbe9276a5ff1ad4a1840
[ROCm/hip commit: 4c1f86699d ]
2020-12-03 05:50:42 -05:00
agodavar
ab9e37b729
SWDEV-259210 : Handle invalid inputs for hipDeviceGetByPCIBusId and hipDeviceGetPCIBusId APIs
...
Change-Id: Iab48604941c4c715ee3357ace2e2d26dbc8cad33
[ROCm/hip commit: 9d56e96725 ]
2020-12-02 00:01:54 -05:00
Tony
b736353866
Add additional targets
...
Add support for loading the following targets:
- gfx705
- gfx805
- gfx90c
- gfx1031
- gfx1032
- gfx1033
Change-Id: Ib7f61c33662619757409e95fb0b50068f9e11065
[ROCm/hip commit: aec1c87f34 ]
2020-11-23 20:31:45 +00:00
Aryan Salmanpour
bfbf9c7929
Add support for hipExtStreamGetCUMask API
...
Change-Id: I0fa67ad581dd75556f17c7410af2c1d5cb6ae99a
[ROCm/hip commit: d9a335bccf ]
2020-11-20 13:41:38 -05:00
Satyanvesh Dittakavi
3d6c24b7fa
SWDEV-255614: Fix Caffe2 Test Failure
...
Change-Id: I043caa89b2a43dace7f18c739f30d2a7bfa644ca
Fixes the issue when memcpy DtoH is performed on device 0 where the device buffer
is allocated on device1 and the destination pinned buffer is allocated from device 0.
[ROCm/hip commit: ee32c0407a ]
2020-11-20 10:24:50 -05:00
Vladislav Sytchenko
e0dfaf51e9
Report maxTexture1DLinear property
...
Change-Id: If562bbee80d8b98712806cb8258b5a7482d33bf6
[ROCm/hip commit: fb04bdc4f2 ]
2020-11-20 10:18:20 -05:00
Rahul Garg
49b83492bd
Fix async flag in hipMemset3DAsync
...
Change-Id: I3dc717c14bdd1d46873e03c687bdf57f9202663e
[ROCm/hip commit: 0096a215b4 ]
2020-11-18 20:32:18 -05:00
Yaxun (Sam) Liu
91950fbf62
Fix embedding PCH
...
Change-Id: Ibaf043c9e331f15965185cd4195da98d9441cba3
[ROCm/hip commit: b7f66b634a ]
2020-11-18 00:56:42 -05:00
Rahul Garg
5fff101394
Fix hipDeviceGetByPCIBusId
...
SWDEV-260845
Change-Id: I2d6db15906d794c9ebfa85b745a2c1bbb6f3e731
[ROCm/hip commit: ff5c6f808b ]
2020-11-16 23:28:52 +00:00
Tao Sang
00a884e88b
Remove unnecessary stuff from hip cmakefile
...
Remove the following from hip cmakefile,
1.find_package cmds of hsa-runtime64 and amd_comgr;
2.macros of USE_COMGR_LIBRARY and COMGR_DYN_DLL
because they have already been used in Rocclr cmakefile.
cmake mechanism will make hip cmakefile inherite them.
Change-Id: I03b527fc4135c79bb35cbbfe419211ec363cb067
[ROCm/hip commit: ecd4dca29d ]
2020-11-13 15:01:32 -05:00
agodavar
ead59333f5
SWDEV-249870: Generate Pre-Compiled Headers from includes in source repo for Online Compilation
...
Change-Id: I663f510603e983927f80f7944df4d039ba7bc0b0
[ROCm/hip commit: bf0b75baed ]
2020-11-12 10:50:33 -05:00
German Andryeyev
4679873edd
Add an early exit if it's a null stream wait
...
Change-Id: I577f5da2f928bff172d64d511a60e08eda28c81d
[ROCm/hip commit: a04a9a51a8 ]
2020-11-11 13:20:04 -05:00
Konstantin Zhuravlyov
20390689ff
SWDEV-198415 - Implement Target ID Proposal
...
Changes from Jatin Chaudhary, Tony Tye
Change-Id: I14904920ad2356ae2098cf827b83613089d33962
[ROCm/hip commit: c4beefe00b ]
2020-11-10 13:31:43 -05:00
Tao Sang
fd5ef38166
Make directed_test support static libs
...
1.Make directed_test apps linked against static libs
of hip, rocclr, rocr, roct and amd_comgr.
2.Remove custom_target amdhip64_static_combiner.
3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
4.Simplify argument list parsing.
5.Install rocclr when rocm is installed.
6.Fix some original small bugs.
Revert "Revert "Make directed_test support static libs""
This reverts commit 4a8a95a8e9 .
Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702
[ROCm/hip commit: bcd067f462 ]
2020-10-26 12:39:58 -04:00
Sourabh Betigeri
f02cf67087
SWDEV-251091: Added null checks and empty file check in hip_module and hip_platform
...
Change-Id: Iad99f996dcf90ffb86f62e79bf4cbd53b35b7e3b
[ROCm/hip commit: 3c4208aa7d ]
2020-10-20 19:55:01 -04:00
kjayapra-amd
0b3d988601
SWDEV-250005 - Fixing error code propagation to HIP outer layer.
...
Change-Id: I0c0e87dbace0b1182f24411200abdfd9cab3f865
[ROCm/hip commit: f79a03026c ]
2020-10-20 09:43:57 -04:00
Sarbojit Sarkar
4824fca235
SWDEV-256325 : Fix for hipMemset2D crash
...
Change-Id: I1f434602fecd4fb935d2bc72f2c72d6a2d4c45fe
[ROCm/hip commit: 0af33580e6 ]
2020-10-20 02:54:29 -04:00
Rahul Garg
7fe4dc5911
Fix PCI bus domain ID query
...
SWDEV-256338
Change-Id: I5db361bd2899a5bf761ecf05ecd4635f9e3dce1d
[ROCm/hip commit: 507ec0a1b8 ]
2020-10-19 12:02:50 -04:00
Rahul Garg
1df66da59d
Fix maxTexture1D query
...
Needed by SWDEV-254068
Change-Id: Ib43a3e5e96d3882af354208063e5502673c0f35a
[ROCm/hip commit: 01f6cbed7d ]
2020-10-14 17:32:04 -04:00
agodavar
e2f6d2f26c
SWDEV-249870: Short-Term solution for Pre-Compiled Headers for Online Compilation - Fix static build
...
Change-Id: Ib608e73dbffa2d803599cba5ba842cd5a2a2ba9d
[ROCm/hip commit: 2080cc113a ]
2020-10-14 00:37:46 -04:00
German Andryeyev
9c2eea15fb
Report managed memory capabilities
...
Change-Id: I241a42e26ee49fb47dcb3ba87c4bd8fb691dffdf
[ROCm/hip commit: d9f655f50e ]
2020-10-13 16:09:43 -04:00
Aryan Salmanpour
9ec79d899a
Fix a seg fault when unallocated mem handle passed to hipIpcOpenMemHandle API
...
also validate the flag argument passed to hipIpcOpenMemHandle API and return
error if it is not equal to "hipIpcMemLazyEnablePeerAccess" (defined to 0)
and it is the only supported flag currenlty for this API.
SWDEV-253462
Change-Id: Ie1c8b79c680a29dc72bf262cf53ae5e011fb1247
[ROCm/hip commit: c6904623aa ]
2020-10-13 11:14:41 -04:00
Julia Jiang
3a44adf0ed
SWDEV-249487-remove two HCC related APIs
...
Change-Id: Icf90ece0808643e0c5f0cc00b6644d5171b553d8
[ROCm/hip commit: c2a3d19acb ]
2020-10-13 11:08:37 -04:00
agodavar
81b6ad7d35
SWDEV-254185 - Added support to pass include headers to hipRTC
...
Change-Id: Ia19e6806a476d3c6ecd3e9a89c3ed72953a4900c
[ROCm/hip commit: dc1459cfb1 ]
2020-10-12 06:04:14 -04:00
Tao Sang
4a8a95a8e9
Revert "Make directed_test support static libs"
...
This reverts commit 37282c6132 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: Ib2d1084ea21461f70f96f95c6025a08f88288357
[ROCm/hip commit: 5b7533e49f ]
2020-10-12 00:01:13 -04:00
Tao Sang
37282c6132
Make directed_test support static libs
...
1.Make directed_test apps linked against static libs
of hip, rocclr, rocr, roct and amd_comgr.
2.Remove custom_target amdhip64_static_combiner.
3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
4.Simplify argument list parsing.
5.Fix hip_pch.o missing issue in samples' build.
6.Fix some original small bugs.
Change-Id: I30f5e65367613152ce86b80b13e1c9f2a28da803
[ROCm/hip commit: b41a769517 ]
2020-10-08 22:46:58 -04:00
Sarbojit Sarkar
d58970c94e
[perf]hipMalloc perf optimization
...
Change-Id: I9cd1d29205cb0c9938d26bb8e336fc9fe8a262ed
[ROCm/hip commit: 718ac775f7 ]
2020-10-06 12:22:57 -04:00
Vladislav Sytchenko
e428310a56
Change __HIP_ENABLE_PCH to be an option
...
Currently all the logic checks if __HIP_ENABLE_PCH is set, so setting it
to OFF will still enable PCH.
Switching __HIP_ENABLE_PCH to be a CMake option will enable correct
build behaviour.
Change-Id: I77a663589ffb5f2595c6ad3d144eb9466adcf250
[ROCm/hip commit: 3949675ab0 ]
2020-10-06 11:17:47 -04:00
kjayapra-amd
644e635e64
SWDEV-254363 - Checks to make sure kernel is launched on the same device as it was launched.
...
Change-Id: I2f273a70b1a5fc0e9fc9c6144eabd32466ff4e59
[ROCm/hip commit: c4505bede3 ]
2020-10-06 08:38:09 -04:00
Rahul Garg
a3a8ca1359
Remove libhip_hcc references
...
These were added in commit 08ab76d58f .
Change-Id: I5815c90bb83ac74730f6bce114eb353f54b86670
[ROCm/hip commit: b673a56fcb ]
2020-10-06 04:29:35 -04:00
Vladislav Sytchenko
e4caaa2a77
Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
...
This reverts commit 28b17d3dbd .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
[ROCm/hip commit: ad2d55c144 ]
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko
28b17d3dbd
Revert "Merge branch 'amd-master-next' into amd-npi-next"
...
This reverts commit 258d79bca7 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
[ROCm/hip commit: 374ead1d19 ]
2020-10-05 13:02:39 -04:00
German Andryeyev
980b4302e3
Fix error codes in HMM interfaces
...
Change-Id: I16490c575f2840b1116a4135431a611cf812f3a4
[ROCm/hip commit: 23a9cb15eb ]
2020-10-05 12:54:16 -04:00
Jatin Chaudhary
51f811ac67
Use availableRegistersPerCU_ to populate number of registers
...
Change-Id: I58f2323bf454f910d22ab31f05aa3024a3d1106f
[ROCm/hip commit: a8ce1881bc ]
2020-10-05 00:33:27 -04:00