Aryan Salmanpour
c9443d9a24
[dtest] add a test case for hipExtStreamGetCUMask API
...
Change-Id: I2b03f06fc96c4af0c3dcf4efc0b83126971aab46
[ROCm/hip commit: 2d84056764 ]
2020-11-20 14:08:02 -05:00
Aryan Salmanpour
bfbf9c7929
Add support for hipExtStreamGetCUMask API
...
Change-Id: I0fa67ad581dd75556f17c7410af2c1d5cb6ae99a
[ROCm/hip commit: d9a335bccf ]
2020-11-20 13:41:38 -05:00
jujiang
2ffce75efd
SWDEV-249486-add disclaimer
...
Change-Id: Ic2f478a354ddb6520c8fb762c8978676eb7d3835
[ROCm/hip commit: 5e43a6defb ]
2020-11-20 11:27:18 -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
cjatin
cd656b9304
Adding hip support email to cmake packaging
...
Change-Id: Ibef7ae5a631ba759bc378478c91d562d4fde3079
[ROCm/hip commit: f7a0587203 ]
2020-11-19 02:08:51 -05:00
Jatin Chaudhary
092d5e5bf7
Adding -x hip/c/none after each input file, this should allow compilations like 'hipcc a.cc b.o c.c'
...
Change-Id: If35571c0f8ff8bf51aebd793fc0c81c0e418ca5c
[ROCm/hip commit: 7d40a13245 ]
2020-11-19 02:04:33 -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
Michael LIAO
c8278b9e47
Fix cooperative group tests.
...
- `gm` should be a global variable instead of auto local variable.
Change-Id: Ibde1e54ee83fa5725f21820b4b792a97bf7df6ad
[ROCm/hip commit: 6bf6480283 ]
2020-11-17 14:09:16 -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
Sarbojit Sarkar
38684be9a2
[SWDEV-259216] Minor test bug
...
Change-Id: Ib2ece421af88c99ded41514b6a2dc432b78be682
[ROCm/hip commit: c47eb6833f ]
2020-11-13 02:23:45 -05:00
Sarbojit Sarkar
d6d13831d3
[SWDEV-257048] fix for softhang in dtest
...
Change-Id: Ic77f5d9c13852c4e3da7afb41b1db7d43c5cbf75
[ROCm/hip commit: 7439307e0e ]
2020-11-13 02:21:00 -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
jujiang
4f3c3e751e
SWDEV-259096-update HIP documents
...
Change-Id: I78294ca55649634ef9eff5c4e38636cb17f5e640
[ROCm/hip commit: 392a8280b3 ]
2020-11-11 16:29:52 -05:00
Julia Jiang
24e1e855fc
SWDEV-249486-re-organize doxygen HIP API
...
Change-Id: I3d107de526e428ae16c6dffd97d9388bf54a6358
[ROCm/hip commit: 3ccce6a642 ]
2020-11-11 13:31:56 -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
acfeb818a5
Make hipMemset*Async* tests pass in static lib
...
3 hipMemset*Async* direct tests will crash in static lib because
some hsa objects are not initialized when hip apis call them.
The fix will make the hip apis called in main() so that hsa objects
have been initialized at that stage.
Change-Id: I41eb29b8c2588acac0cd3ae6d96b14fb1abd235a
[ROCm/hip commit: f9726a727d ]
2020-11-03 09:54:30 -05:00
Sourabh Betigeri
35e394cab1
SWDEV-255694: Include attributes - hipFuncAttributePreferredSharedMemoryCarveout and hipFuncAttributeMaxDynamicSharedMemorySize
...
Change-Id: I3569859e6db0c59a10a76c8ea356d4bc0a0bb906
[ROCm/hip commit: 81ca27783b ]
2020-11-02 19:39:39 -05:00
agodavar
225b4f65be
Fix building of tests on nvidia GPU
...
Change-Id: I02b527ec4135c79bb35cbbfe419211ec363cb065
[ROCm/hip commit: 4ef0f7a7c3 ]
2020-11-02 09:42:28 -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
German Andryeyev
bc9b26a59f
Update documentation
...
Add managed memory section for the doxygen documentation.
No code changes.
Change-Id: I2e9db4ec13422159e265193916f0a3cdb721732d
[ROCm/hip commit: 2bf7282bd5 ]
2020-10-23 18:28:43 -04:00
Rahul Garg
8bd5731117
Fix performance tests for OSDB failures
...
SWDEV-257745- [ROCm CI][mainline] hiprocclrtests broken on OSDB - vg20 and mi100
Change-Id: I36b4ace7e8c2673809c4b0be569250e8f9b06da8
[ROCm/hip commit: 4576bca97c ]
2020-10-23 00:48:08 +00:00
agodavar
13436a7e1f
cmake hip-rocclr as default build,change HIP_PLATFORM to amd|nvidia
...
Change-Id: I59d2e15b297b6ca2d5eee1a6dee642bdb01a3839
[ROCm/hip commit: d10124e1d7 ]
2020-10-21 07:26:14 -04:00
Sudheer Kumar
4e1daa5b4a
[dtest] Tests for loading hip apis dynamically
...
SWDEV-238517 for enhancing hip unit tests
Change-Id: I9b6ef41db2f02ee3679360d0fae709a404a0ea4f
[ROCm/hip commit: e112d1e13f ]
2020-10-21 02:49:49 -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
Payam
ff4c647424
Cleaning lintian warning SWDEV-247996 Part2
...
Change-Id: I40eb29b8c2588acac0cd3ae6d96b14fb1abd2350
[ROCm/hip commit: 5fec831e1c ]
2020-10-20 19:27:38 -04:00
Aaron En Ye Shi
e318885ccb
Fix header for OpenMP AMDGCN support
...
Add ifndef for __OPENMP_AMDGCN__ target, which shares
these header files with HIP.
Change-Id: I720693cfbcfb7836cd2f361d48530fb55ee3557a
[ROCm/hip commit: 2005c3437e ]
2020-10-20 14:04:48 -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
03001805c3
Bump version to 4.0
...
Change-Id: Ia8c3b21ccd58f07c95aa3030bc787144f934f80e
[ROCm/hip commit: 6572d1d522 ]
2020-10-19 21:00:13 -04:00
Aaron En Ye Shi
7066754d6d
Fix header invalid sqrt fwd decl and ifdef
...
The __ocml_sqrt_* functions only accept a single arg,
not two args. Also, change ifdef for if because the flag
__HCC_OR_HIP_CLANG__ is always defined.
Change-Id: Id9dc4eaf0f25df1df27a1bf643cb545ac23653f8
[ROCm/hip commit: 20999c719d ]
2020-10-19 18:01:14 +00: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
Sourabh Betigeri
03258611ad
SWDEV-254134: Added new perf test - Vector Dot product in performance/compute
...
Change-Id: Ic2900fe9a1b6b197cdc8c2dd0f93723a8f73f14c
[ROCm/hip commit: 21a447f72e ]
2020-10-16 13:07:13 -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
Julia Jiang
c506e4ebdd
SWDEV-249486-Update HIP doxygen
...
Change-Id: Id32772b8f4d495e0f1bd3cb5cd1ec211a06298c3
[ROCm/hip commit: 4e7f420722 ]
2020-10-14 13:59:58 -04:00
Yaxun (Sam) Liu
443f975e97
Fix test hipDynamicShared
...
This test does not work if block size is greater than wave size
since it relies on lock-step execution of the kernel in the block.
If there are more than waves in the block, the threads in the block
miss synchronization since one wave may finish before another wave.
Due to this bug, the test fails on GFX10 wave32 mode.
This patch fixes that so that it works for block size greater than
wave size.
Change-Id: Ie0097066081df36cb6fe025a71d0ee5a83ec00a2
[ROCm/hip commit: 78269dcbe5 ]
2020-10-14 10:15:44 -04:00
Sarbojit Sarkar
5d10e584c6
SWDEV-255975: fix for gcc + hip_fp16.h compilation error
...
Change-Id: Ia152bad4af71a5b53a16e2f9fd9aeeacc61b39ac
[ROCm/hip commit: 86b1600ca7 ]
2020-10-14 06:57:25 -04:00
Sarbojit Sarkar
665440e499
Added sample with __gfx*__ macro used
...
Change-Id: I80a474947ea1b755082dad5329d1aff3ee78840c
[ROCm/hip commit: a45f6f7ff3 ]
2020-10-14 06:56:39 -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
Rahul Garg
f4be2fbc0b
Clean up unused options
...
Fixes SWDEV-253092
Change-Id: Ic820c4d7bec1130978b47094f3ad9764e40e6a1f
[ROCm/hip commit: bdcd4143de ]
2020-10-13 12:19:20 -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
Lakhan singh Thakur
66aba3ea21
[dtest] Adding Test case for hipFuncSetSharedMemConfig() and hipFuncSetAttribute()
...
SWDEV-251504 - QA task for validation
Change-Id: I11ed98f648352cb32161c41290516c77231236bc
[ROCm/hip commit: 548ec20ffd ]
2020-10-13 11:11:00 -04:00
Rupam Chetia
3e98b823d3
[dtest] hipModuleLoad and related API tests
...
APIs: hipModuleLoad, hipModuleLoadData and hipModuleLoadDataEx,
hipModuleGetGlobal(), hipModuleGetFunction
Functional and negative tests
Repeated call to ModuleLoadXX/ModuleUnloadXX
Few tests are disabled now, will be enabled when functional
SWDEV-238517 for enhancing hip unit tests
Change-Id: I65c12027e32db80213468fdee1c5cc1aa3e60bfd
[ROCm/hip commit: 71ba35eb2c ]
2020-10-13 11:10:11 -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
0ed2d37bb4
SWDEV-255853: CUDA device P2P attributes
...
Change-Id: I7deffd04101b565f68a72a179f9faeaa22cab97d
[ROCm/hip commit: e0be2ca8dd ]
2020-10-13 05:32:29 -04:00
agodavar
075976bc1a
SWDEV-254909:Support for missing texture/array cuda driver types
...
Change-Id: I9c769f6335ec3e7feacaa8929719c666bff91934
[ROCm/hip commit: d96e810ccd ]
2020-10-13 05:30:31 -04:00