Aryan Salmanpour
d9a335bccf
Add support for hipExtStreamGetCUMask API
...
Change-Id: I0fa67ad581dd75556f17c7410af2c1d5cb6ae99a
2020-11-20 13:41:38 -05:00
Satyanvesh Dittakavi
ee32c0407a
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.
2020-11-20 10:24:50 -05:00
Vladislav Sytchenko
fb04bdc4f2
Report maxTexture1DLinear property
...
Change-Id: If562bbee80d8b98712806cb8258b5a7482d33bf6
2020-11-20 10:18:20 -05:00
Rahul Garg
0096a215b4
Fix async flag in hipMemset3DAsync
...
Change-Id: I3dc717c14bdd1d46873e03c687bdf57f9202663e
2020-11-18 20:32:18 -05:00
Yaxun (Sam) Liu
b7f66b634a
Fix embedding PCH
...
Change-Id: Ibaf043c9e331f15965185cd4195da98d9441cba3
2020-11-18 00:56:42 -05:00
Rahul Garg
ff5c6f808b
Fix hipDeviceGetByPCIBusId
...
SWDEV-260845
Change-Id: I2d6db15906d794c9ebfa85b745a2c1bbb6f3e731
2020-11-16 23:28:52 +00:00
Tao Sang
ecd4dca29d
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
2020-11-13 15:01:32 -05:00
agodavar
bf0b75baed
SWDEV-249870: Generate Pre-Compiled Headers from includes in source repo for Online Compilation
...
Change-Id: I663f510603e983927f80f7944df4d039ba7bc0b0
2020-11-12 10:50:33 -05:00
German Andryeyev
a04a9a51a8
Add an early exit if it's a null stream wait
...
Change-Id: I577f5da2f928bff172d64d511a60e08eda28c81d
2020-11-11 13:20:04 -05:00
Konstantin Zhuravlyov
c4beefe00b
SWDEV-198415 - Implement Target ID Proposal
...
Changes from Jatin Chaudhary, Tony Tye
Change-Id: I14904920ad2356ae2098cf827b83613089d33962
2020-11-10 13:31:43 -05:00
Tao Sang
bcd067f462
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 5b7533e49f .
Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702
2020-10-26 12:39:58 -04:00
Sourabh Betigeri
3c4208aa7d
SWDEV-251091: Added null checks and empty file check in hip_module and hip_platform
...
Change-Id: Iad99f996dcf90ffb86f62e79bf4cbd53b35b7e3b
2020-10-20 19:55:01 -04:00
kjayapra-amd
f79a03026c
SWDEV-250005 - Fixing error code propagation to HIP outer layer.
...
Change-Id: I0c0e87dbace0b1182f24411200abdfd9cab3f865
2020-10-20 09:43:57 -04:00
Sarbojit Sarkar
0af33580e6
SWDEV-256325 : Fix for hipMemset2D crash
...
Change-Id: I1f434602fecd4fb935d2bc72f2c72d6a2d4c45fe
2020-10-20 02:54:29 -04:00
Rahul Garg
507ec0a1b8
Fix PCI bus domain ID query
...
SWDEV-256338
Change-Id: I5db361bd2899a5bf761ecf05ecd4635f9e3dce1d
2020-10-19 12:02:50 -04:00
Rahul Garg
01f6cbed7d
Fix maxTexture1D query
...
Needed by SWDEV-254068
Change-Id: Ib43a3e5e96d3882af354208063e5502673c0f35a
2020-10-14 17:32:04 -04:00
agodavar
2080cc113a
SWDEV-249870: Short-Term solution for Pre-Compiled Headers for Online Compilation - Fix static build
...
Change-Id: Ib608e73dbffa2d803599cba5ba842cd5a2a2ba9d
2020-10-14 00:37:46 -04:00
German Andryeyev
d9f655f50e
Report managed memory capabilities
...
Change-Id: I241a42e26ee49fb47dcb3ba87c4bd8fb691dffdf
2020-10-13 16:09:43 -04:00
Aryan Salmanpour
c6904623aa
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
2020-10-13 11:14:41 -04:00
Julia Jiang
c2a3d19acb
SWDEV-249487-remove two HCC related APIs
...
Change-Id: Icf90ece0808643e0c5f0cc00b6644d5171b553d8
2020-10-13 11:08:37 -04:00
agodavar
dc1459cfb1
SWDEV-254185 - Added support to pass include headers to hipRTC
...
Change-Id: Ia19e6806a476d3c6ecd3e9a89c3ed72953a4900c
2020-10-12 06:04:14 -04:00
Tao Sang
5b7533e49f
Revert "Make directed_test support static libs"
...
This reverts commit b41a769517 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: Ib2d1084ea21461f70f96f95c6025a08f88288357
2020-10-12 00:01:13 -04:00
Tao Sang
b41a769517
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
2020-10-08 22:46:58 -04:00
Sarbojit Sarkar
718ac775f7
[perf]hipMalloc perf optimization
...
Change-Id: I9cd1d29205cb0c9938d26bb8e336fc9fe8a262ed
2020-10-06 12:22:57 -04:00
Vladislav Sytchenko
3949675ab0
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
2020-10-06 11:17:47 -04:00
kjayapra-amd
c4505bede3
SWDEV-254363 - Checks to make sure kernel is launched on the same device as it was launched.
...
Change-Id: I2f273a70b1a5fc0e9fc9c6144eabd32466ff4e59
2020-10-06 08:38:09 -04:00
Rahul Garg
b673a56fcb
Remove libhip_hcc references
...
These were added in commit bf443fef82 .
Change-Id: I5815c90bb83ac74730f6bce114eb353f54b86670
2020-10-06 04:29:35 -04:00
Vladislav Sytchenko
ad2d55c144
Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
...
This reverts commit 374ead1d19 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko
374ead1d19
Revert "Merge branch 'amd-master-next' into amd-npi-next"
...
This reverts commit 73558e3363 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
2020-10-05 13:02:39 -04:00
German Andryeyev
23a9cb15eb
Fix error codes in HMM interfaces
...
Change-Id: I16490c575f2840b1116a4135431a611cf812f3a4
2020-10-05 12:54:16 -04:00
Jatin Chaudhary
a8ce1881bc
Use availableRegistersPerCU_ to populate number of registers
...
Change-Id: I58f2323bf454f910d22ab31f05aa3024a3d1106f
2020-10-05 00:33:27 -04:00
Aryan Salmanpour
677a854f4f
fix a bug for calculating the prev_sum of MGSyncInfo struct used in multi-gpu cooperative launch
...
SWDEV-251619
Change-Id: I6566bfc9384bb4677562085991a7a01d3cea3935
2020-10-01 14:05:22 -04:00
Sarbojit Sarkar
464e27829c
SWDEV-253654 : Added invalid parameter checks
...
Change-Id: I8a2ae1ee6898f111aac1c68663a653cca410daec
2020-09-29 13:20:27 -04:00
Julia Jiang
9f1a177dc7
SWDEV-247518-fix HPC multi gpu test performance drop
...
Change-Id: I2f07d9ba183cf88b3845d8d61607a8a0462d015f
2020-09-29 12:04:40 -04:00
Aryan Salmanpour
e46dc7b96d
fix a pagefault when wrong argument (extent) passed in hipMemset3D API
...
Change-Id: I779fc14ccd7c942d1ae0a938ebfd3c2e728ff761
2020-09-25 10:57:37 -04:00
kjayapra-amd
dcaec76d41
SWDEV-241896 - Remove extern support in ROCclr/HIP since compiler added Texture reference support.
...
Change-Id: I1b0a7377b803b4e2b94ffef6ffd91e376fdb2b2f
2020-09-24 14:28:16 -04:00
Rahul Garg
a3e5e6360f
Return hipMemoryTypeHost as memory type for hipHostRegistered pointer
...
Fixes SWDEV-253741
Change-Id: I42c2c9df00862157314d5767b6f175a0d2f28b47
2020-09-24 12:27:32 -04:00
agodavar
288fbe5af3
SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation
...
Change-Id: Iec989787e546ff2eb68c4b146dc540655698b569
2020-09-24 12:18:06 -04:00
Jatin
bf443fef82
CMake changes to now write to test folder
...
Change-Id: Ia898b31a09f3c59ef8e7d64253f28ae93c501277
2020-09-21 00:37:15 -04:00
Jatin Chaudhary
a779350181
Adding checks for return type compatibility with CUDA
...
Change-Id: I09b6bd9a7299f0a97ac9011ea0903a1f81e28251
2020-09-21 00:36:02 -04:00
Vladislav Sytchenko
36ecdf9c3a
Fix Windows build
...
Change-Id: I8769bafba199b9258c610e51b58e454fe10a75e6
2020-09-18 18:51:25 -04:00
kjayapra-amd
146177bcf7
SWDEV-252542 - Fixing Win Compilation on SWDEV-241902.
...
Change-Id: I0ef196231acd8e778018bade684a10ec977261a5
2020-09-18 14:11:07 -04:00
Satyanvesh Dittakavi
cede497cb2
Print size_t variables with %zu
...
Change-Id: I02bb073b07e9efd03dea2b76b6ba1bd2f552bcaa
Total Memory is not being printed correctly with %u.
%zu represents size_t variables appropriately.
2020-09-18 11:55:41 -04:00
kjayapra-amd
89e5e8b90c
SWDEV-241902 - Changes to pass file descriptor and offset to load code object.
...
Change-Id: I96add27f4fde1b5ee5501e206b7e85ab77e87dfc
2020-09-15 07:54:28 -04:00
Rahul Garg
5241c76a9d
Reinsert __gnu_h2f_ieee and __gnu_f2h_ieee.
...
Fixes SWDEV-251676
Reverts Ide24d245d851e20961020323e52f33322a33fff9 and adds
__attribute__((weak)) to __gnu_h2f_ieee and __gnu_f2h_ieee.
Change-Id: If4f9e2f867b56a3f0121a907a49ae4032220d9af
2020-09-15 01:39:14 -04:00
Sarbojit Sarkar
5c7b7d1dd2
Fix for hipPointerGetAttributes [github#2137]
...
Change-Id: I5295575638ecc4d3b7129552a9c26c6f6a7195fc
2020-09-10 10:51:30 -04:00
agodavar
9e2fa6e215
SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation
...
Change-Id: Ibcb365ce2ff27c4c2379609964078da42e1226b1
2020-09-09 13:44:13 -04:00
kjayapra-amd
1f8543560f
SWDEV-240800 - P2P device attributes support
...
Change-Id: Ia32b87ffea17e0d98b69a07f2633ba14e7637b8a
2020-09-03 09:41:05 -04:00
Satyanvesh Dittakavi
08cf695e1f
SWDEV-248293 - Fix elapsedTime
...
Fixes the elapsed time for the scenarios where HIP API takes one of the start/stop events
and another one is recorded using hipEventRecord.
Change-Id: I51831b2651fc8e7207ff0e3fcc6dc7c1b4239fa8
2020-09-02 03:22:47 -04:00
agodavar
76824a7f04
SWDEV-246142: Improve performance for sync with multiple streams
...
Change-Id: Ifc625c4c1311ac235b08ea705a3df216d47b2c5e
2020-09-02 00:56:46 -04:00