Aryan Salmanpour
40d44e2c8d
[dtest] move all the cooperative related tests into one location
...
Change-Id: I9b44027d795ebfbf42f78af8e69d26ac8109692a
[ROCm/hip commit: e1cb711e66 ]
2020-10-01 16:01:46 -04:00
Todd tiantuo Li
33249339d1
SWDEV-240803 - add test for hipFuncSetSharedMemConfig
...
Change-Id: I150b65a548ee9bf8d7e079b3db2e73958747c3a0
[ROCm/hip commit: 66efc13d5c ]
2020-09-21 17:26:51 -04:00
mkumarmi
7f4fd6e62e
[dtest] Disable few tests on NVCC platform
...
Few of the tests are being validated in nvcc platform. Till then
these tests are disabled.
SWDEV-238517 for enhancing hip unit tests
Change-Id: I1acbfe90c6ea39f3de676e98f0e3c33cbac97888
[ROCm/hip commit: 5bf2a70382 ]
2020-09-18 04:34:00 -04:00
Jatin Chaudhary
2982f07b9c
Fixing/Disabling tests on nvcc path
...
Change-Id: I7ed4a1246943867482ff595d5f98bb25bd79074b
[ROCm/hip commit: e7eaafe165 ]
2020-07-30 00:39:07 -04:00
kjayapra-amd
f2c6f3bf63
SWDEV-236178 - Remove __hip_pinned_shadow reference from dtests and add hipModuleUnload for all corresponding hipModuleLoad calls.
...
Change-Id: I405789b430ffbb8fccda1cebdb5d18e83a85c926
[ROCm/hip commit: 0dd6123998 ]
2020-06-11 22:34:36 -04:00
kjayapra-amd
37508980de
SWDEV-236178 - Reorganizing Platform/Modules code for easy access.
...
Change-Id: Ie8920260ffc4ff01e44b48af8cec9ea5aed1aa9b
[ROCm/hip commit: 20f05c4228 ]
2020-06-11 10:11:20 -04:00
rohit pathania
791e62287c
[ dtest ] hipModuleLaunchKernel multiThreaded n multiGPU scenarios
...
1.Added hipModuleLaunchKernel multithreaded multi GPU scenario.
2.removed hipCtxCreate API from earlier test as it is deprecated.
SWDEV-238517 for enhancing hip unit tests
Change-Id: Id102d80887b6ff61a59938dbeb9fa2a26a3275b2
[ROCm/hip commit: cc6a87e9e3 ]
2020-06-05 09:40:58 -04:00
German Andryeyev
80bd9632ad
Correct mgpu coop launch test
...
When the original size is devided accross all GPUs rounding can
occur, causing incorrect validation. Readjust the final value
for comparison to the new size accordingly.
Change-Id: I9b42149e33dfcb328de7419e546a0202a69a8610
[ROCm/hip commit: 20f0e36041 ]
2020-05-13 14:39:11 -04:00
Payam
0c8b343931
name change vdi to rocclr
...
Change-Id: I06d198bbb4a499e153b290b73a92afed3553b252
[ROCm/hip commit: c5f76c3de3 ]
2020-05-06 09:14:30 -04:00
Maneesh Gupta
8e137a6ec1
Merge in the rocclr based hip runtime ( #2032 )
...
* Merge master-next changes in master (include vdi development in master branch)
[ROCm/hip commit: a0b5dfd625 ]
2020-04-23 09:12:06 -07:00
Rahul Garg
003d776e72
Rename hipDrvOccupancy to hipModuleOccupancy and match CUDA syntax ( #1943 )
...
[ROCm/hip commit: ba8a556ea9 ]
2020-04-07 14:02:52 +05:30
Sarbojit2019
1909e436cf
Fix few memory leaks in HIP ( #1969 )
...
[ROCm/hip commit: f1b028b93e ]
2020-03-27 14:08:30 +05:30
Maneesh Gupta
5d7f0b1798
[dtests] Fix random timeout failures in hipModuleLoadDataMultThreaded ( #1877 )
...
Limit the max threads that are launched to 16.
[ROCm/hip commit: 854afef281 ]
2020-02-17 11:16:20 +05:30
Maneesh Gupta
e72b5a0187
Use deque instead of vector for code readers so that the iterators and references will be stable ( #1851 )
...
* Use deque instead of vector for code readers so that the iterators and references will be stable
* Fix compile error
* Assign the iterator
* Add multithreaded test
* Make threads a multiple of hardware concurrency
* Output on failure
* Add setDevice to try and initialize the context on cuda
* Create context for cuda
* Set context on each thread
* Reduce threads on cuda
* Skip test on cuda
* Try to initialize the primary context on cuda
* Push ctx to the stack as current
* Revert "Push ctx to the stack as current"
This reverts commit 0fb72d9e7f .
* Revert "Try to initialize the primary context on cuda"
This reverts commit 44e3908680 .
* updated test for nvidia path
* Add c++11 option for nvcc
Co-authored-by: satyanveshd <53337087+satyanveshd@users.noreply.github.com >
[ROCm/hip commit: e7120dd876 ]
2020-02-15 09:51:24 +05:30
Satyanvesh Dittakavi
8cfced9bfd
Add c++11 option for nvcc
...
[ROCm/hip commit: 3fb4135946 ]
2020-02-13 19:48:26 +05:30
Satyanvesh Dittakavi
802aa5f44e
updated test for nvidia path
...
[ROCm/hip commit: ead254cdd5 ]
2020-02-13 16:34:05 +05:30
Paul
ca0eb390a9
Revert "Try to initialize the primary context on cuda"
...
This reverts commit 44e3908680 .
[ROCm/hip commit: 26bb6a97a7 ]
2020-02-11 12:34:11 -06:00
Paul
f86740ff94
Revert "Push ctx to the stack as current"
...
This reverts commit 0fb72d9e7f .
[ROCm/hip commit: e82e3c2339 ]
2020-02-11 12:34:10 -06:00
Paul
0fb72d9e7f
Push ctx to the stack as current
...
[ROCm/hip commit: bff8cbe950 ]
2020-02-11 11:46:29 -06:00
Paul
44e3908680
Try to initialize the primary context on cuda
...
[ROCm/hip commit: fd98514113 ]
2020-02-11 11:26:24 -06:00
Paul
746c36ed8e
Skip test on cuda
...
[ROCm/hip commit: b9f97ec3fe ]
2020-02-10 17:23:58 -06:00
Paul
92ff502b92
Reduce threads on cuda
...
[ROCm/hip commit: 30e8dfdd86 ]
2020-02-10 16:37:34 -06:00
Paul
039171f6fd
Set context on each thread
...
[ROCm/hip commit: 2d9a2d866c ]
2020-02-10 16:01:53 -06:00
Paul
a3e2660669
Create context for cuda
...
[ROCm/hip commit: e5d077f70e ]
2020-02-10 15:52:34 -06:00
Paul
b6e01adc72
Add setDevice to try and initialize the context on cuda
...
[ROCm/hip commit: 29a257d79b ]
2020-02-10 13:37:45 -06:00
Maneesh Gupta
7753b3e827
Revert "Match Occupancy APIs syntax with CUDA ( #1625 )" ( #1857 )
...
Reverting this for now till we figure out how to avoid the build
breakage.
This reverts commit e38db9fb6f .
[ROCm/hip commit: f8e1c01900 ]
2020-02-10 10:45:28 +05:30
Paul
3fa3e99a9a
Make threads a multiple of hardware concurrency
...
[ROCm/hip commit: 8e494cfce8 ]
2020-02-06 16:23:29 -06:00
Paul
5cfa3c626a
Add multithreaded test
...
[ROCm/hip commit: 5361424702 ]
2020-02-06 16:21:40 -06:00
lthakur
e340a8e921
[dtest] Update hipLaunchCoopMultiKernel.cpp ( #1844 )
...
used reinterpret_cast<uint32_t*> for numBlocks, as expected by hipOccupancyMaxActiveBlocksPerMultiprocessor() api.
[ROCm/hip commit: 4d472b777f ]
2020-02-04 19:37:38 +05:30
gandryey
42bc78d148
[dtest] RCCL multi device launch test ( #1731 )
...
Simple test for hipLaunchCooperativeKernelMultiDevice API.
[ROCm/hip commit: 48d1f766d5 ]
2020-02-04 08:53:43 +05:30
satyanveshd
e38db9fb6f
Match Occupancy APIs syntax with CUDA ( #1625 )
...
* Match Occupancy APIs syntax with CUDA and fix tests using these APIs
[ROCm/hip commit: fa98798b63 ]
2020-01-29 13:05:53 -08:00
Evgeny Mankov
abef353b5b
[HIP] Clean-up deprecated HIP error codes
...
hipErrorMemoryAllocation -> hipErrorOutOfMemory
hipErrorInitializationError -> hipErrorNotInitialized
hipErrorMapBufferObjectFailed -> hipErrorMapFailed
hipErrorInvalidResourceHandle -> hipErrorInvalidHandle
[ROCm/hip commit: 4921678b6c ]
2019-12-23 17:01:35 +03:00
Rahul Garg
f55b1cd6a4
[dtest] Rename hipExtLaunchMultiKernelMultiDevice dtest ( #1671 )
...
[ROCm/hip commit: 188752b2cb ]
2019-11-19 09:41:13 -08:00
Alex Voicu
3ea404a8ba
Add support for extended launch syntax. ( #1530 )
...
* Add support for extended launch syntax.
* Add unit test.
* Fix typo
* hipExtLaunchKernelGGL lives in hip_ext.h
Change-Id: Ice32dab0d43475fda65c6a910c11416871a8f2ff
* [dtest] remove redundant include from hipModuleGetGlobal dtest
[ROCm/hip commit: 69e74c3e96 ]
2019-11-16 22:24:07 -08:00
Rahul Garg
6968362d99
Rename hip/hip_hcc.h to hip/hip_ext.h ( #1341 )
...
* Rename hip/hip_hcc.h to hip/hip_ext.h
* Deprecate hip_hcc.h
[ROCm/hip commit: 579a4f36fa ]
2019-11-07 13:17:10 +05:30
Aryan Salmanpour
2ad99a6326
[hip][tests] Add two more workgroup sizes for testing hipLaunchCooperativeKernel ( #1613 )
...
[ROCm/hip commit: cf92fae9e6 ]
2019-11-05 12:32:46 +05:30
Rahul Garg
b68c8d2f60
Formatting changes
...
[ROCm/hip commit: 55f2a38120 ]
2019-10-30 18:12:51 -07:00
Rahul Garg
8429e15052
Formatting changes ,variable name and check update
...
[ROCm/hip commit: 4ab71216b4 ]
2019-10-30 18:09:21 -07:00
amd-lthakur
5e11495936
Excluded the test case for nvcc platform
...
[ROCm/hip commit: 4239c94fe5 ]
2019-10-25 15:52:11 +05:30
amd-lthakur
158cab3bb7
Refactored the file as suggested
...
[ROCm/hip commit: 564418c308 ]
2019-10-25 10:44:38 +05:30
amd-lthakur
629a933b63
Update matmul.cpp
...
[ROCm/hip commit: 318df5c36b ]
2019-10-25 09:22:07 +05:30
amd-lthakur
4b771db194
Update hipExtModuleLaunchKernel.cpp
...
[ROCm/hip commit: cd25149225 ]
2019-10-25 09:19:49 +05:30
amd-lthakur
297a20eac7
Adding a directed test case for hipExtModuleLaunchKernel() api.
...
[ROCm/hip commit: 8b496e4715 ]
2019-10-24 15:06:28 +05:30
ansurya
b37210badc
Fix for directed tests failure ( #1511 )
...
directed_tests/runtimeApi/module/hipLaunchCooperativeKernel.tst - Disabling test temporarily until driver support is available.
directed_tests/runtimeApi/memory/hipArray.tst - Disabling test temporarily to reimplement it correctly.
[ROCm/hip commit: 87834500b9 ]
2019-10-10 19:58:41 +05:30
AlexBinXie
e404049a71
[hip] Added gfx803,gfx1010,gfx1012 kernel binary hipModule test. ( #1444 )
...
This is to address hipModule test seg fault in GFX1010
[ROCm/hip commit: b3e6ba50c3 ]
2019-09-30 10:38:37 +05:30
Aryan Salmanpour
8e18dee555
[hip][tests] add a unit test for testing hipLaunchCooperativeKernel ( #1361 )
...
* [hip][tests] add a unit test for testing hipLaunchCooperativeKernel
* use __ockl_grid_sync function
* remove already defined __ockl_grid_sync function
* use sync function for grid synchronization
[ROCm/hip commit: 48880a017e ]
2019-09-16 08:31:09 +00:00
wkwchau
7676b86f12
Added support of hipOccupancyMaxActiveBlocksPerMultiprocessor & hipOc… ( #1240 )
...
* Added support of hipOccupancyMaxActiveBlocksPerMultiprocessor & hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags APIs
* Taking into account of SGPR usage to determine the max active blocks in hipOccupancyMaxActiveBlocksPerMultiprocessor()
[ROCm/hip commit: 4b18b321f7 ]
2019-08-01 08:58:48 +00:00
Rahul Garg
d7973153ca
Add HIP init in hipFuncGetAttributes ( #1262 )
...
* Add HIP init in hipFuncGetAttributes
* [dtest]Remove explicit hip init call in hipFuncGetAttributes dtest
[ROCm/hip commit: 0517c30507 ]
2019-07-31 15:42:08 +00:00
Aryan Salmanpour
563b385ad6
[hip][tests] add a unit test for using hipExtLaunchMultiKernelMultiDevice API ( #1250 )
...
[ROCm/hip commit: f3c4952f80 ]
2019-07-24 07:57:39 +00:00
ansurya
de3a7dfe43
[HIP][Tests] Added new testcases for Module API ( #1150 )
...
* [HIP][tests] New testcases for module api
* [HIP][Tests]Support for CUDA devices
* Updated tests as per latest master & test GetGlobal to work on all platforms
[ROCm/hip commit: fa4d6b353a ]
2019-07-19 04:45:20 +00:00