jujiang
910a8a5d1e
SWDEV-226708-hipMemcpyPeerAsync failed-->Update test app to create stream on proper device
...
Change-Id: Ia9f51435ffb5a8fbbff39e363acecabb338bf34c
[ROCm/hip commit: 3774a1b106 ]
2020-03-25 17:22:56 -04:00
Vladislav Sytchenko
a48ad08f24
Disable failing tests for VDI
...
The hipExtModuleLaunchKernel and hipModuleLoadDataMultiThreaded tests keeps randomly failing on Jenkins.
Change-Id: I87e5d54fb7429c14ff1dcecb20e03a7816670fae
[ROCm/hip commit: e7d91b8230 ]
2020-03-23 17:09:57 -04:00
Sarbojit Sarkar
771fb00972
Enable VDI Occupancy test
...
Change-Id: Ia89155ca909b9b7346584d19962fa0a94033bb17
[ROCm/hip commit: 3baff10618 ]
2020-03-19 10:43:40 +05:30
Sarbojit Sarkar
4135ec890a
[hip-vdi]Fix for TF build failure [SWDEV-225827]
...
Change-Id: I8478779bef92bad8353b8d066b28c220bb59b98d
[ROCm/hip commit: 82926666c4 ]
2020-03-17 22:52:01 -04:00
Lad, Aditya
044a1924ba
Merge branch 'master' into amd-master-next
...
Conflicts:
CMakeLists.txt
tests/src/texture/simpleTexture2DLayered.cpp
tests/src/texture/simpleTexture3D.cpp
Change-Id: I4aa4754d391b5f37ddf15fa0bcfc84d9da020119
[ROCm/hip commit: d80edf9541 ]
2020-03-06 14:10:44 -05:00
Tao Sang
9862e33448
Merge "Fix hipExtLaunchMultiKernelMultiDevice compilation issue" into amd-master-next
...
[ROCm/hip commit: 4b312caca4 ]
2020-03-06 12:32:55 -05:00
agodavar
de0b92948e
Enable tests that are passing on hip-vdi
...
Change-Id: I7de965f7e8bb7e4d0fa61cd584f0cd118c1e212e
[ROCm/hip commit: 65ffaf82d8 ]
2020-03-05 16:08:51 +05:30
agodavar
76ee85ff82
Fix hipExtLaunchMultiKernelMultiDevice compilation issue
...
Fix compilation error on hip-hcc+clang , hip-vdi+clang
Enabled hipExtLaunchMultiKernelMultiDevice test on hip-vdi path
hipExtLaunchMultiKernelMultiDevice common declaration for all paths
Change-Id: I76031840614fce8e12a8e845548fa43a389a741a
[ROCm/hip commit: 6a5d04209c ]
2020-03-04 15:38:14 -05:00
Payam
5d57dba9bd
reverting part of http://gerrit-git.amd.com/c/compute/ec/hip/+/326145
...
the test still fails
Change-Id: I2e5968115a717e8482be670d9fb8472e391922d7
[ROCm/hip commit: 3d64a38953 ]
2020-03-04 13:49:58 -05:00
agodavar
428d4842ae
Enable tests hipTestDeviceSymbol,hipTestConstant and p2p_copy_coherency on hip-vdi
...
SWDEV-225266: [HIP-VDI] HIP-VDI disabled tests (p2p_copy_coherency.cpp)
SWDEV-225388: hipTestDeviceSymbol.cpp & hipTestConstant.cpp failed to build on hip-vdi
For hipTestDeviceSymbol.cpp & hipTestConstant.cpp tests:
Currently "__HIP_VDI__" flag is enabled in CMakeLists.txt, but when application is compiled with hipcc,
__HIP_VDI__ is not defined to differentiate if compiled for VDI/HCC for headers.
For ./src/runtimeApi/memory/p2p_copy_coherency.cpp:
Fixed compilation issue to include only when compile for HCC runtime "<hc_am.hpp> not found"
Currently test is disabled to run on all platforms. When validated on multi-GPU machine,
memcpy between multiple GPUs via GPU synchronization is not working on hcc and vdi path.
Need to validate on nvidia machine to know if test is valid. Disabled GPU synchronization test for now.
For ./src/runtimeApi/module/hipModuleTexture2dDrv.cpp:
updated test to generate tex2d_kernel.code object in build directory. Currently ctest looks for it in build directory.
Change-Id: I629d395a919c2440d921422716944c7940ed6010
[ROCm/hip commit: 3479847d16 ]
2020-03-04 10:07:09 -05:00
Vladislav Sytchenko
d0db9f5cdf
SWDEV-219799
...
Add missing __hip_pinned_shadow__ attribute to the hipModuleTexture2dDrv test.
Change-Id: I2c213a4108611c1af691388f268cac429b81a313
[ROCm/hip commit: b910a7ff26 ]
2020-03-03 11:49:00 -05:00
Payam
fa31a1c60d
removing 3 tests temporarily to enable hiptests
...
Change-Id: I8c45791aaf88628850462aff90979c147cb85f64
[ROCm/hip commit: f4401ff2b5 ]
2020-02-25 19:01:34 -05:00
Tao Sang
6b9e891c1e
Add __hip_pinned_shadow__ for texture
...
Add missing __hip_pinned_shadow__ for texture in tex2d_kernel test.
Change-Id: Iefc96084fec8f84a1d1bb979998ffb95b4011f0b
[ROCm/hip commit: ed56e605d4 ]
2020-02-20 20:01:28 -05:00
Rahul Garg
f1746197c7
Fix hipMemcpy3D ( #1798 )
...
Fixes #1790 and #1791 . hipMemcpy3D still requires further refactoring for different input and output combinations.
[ROCm/hip commit: 8c5e5e435b ]
2020-02-17 19:35:35 +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
Tao Sang
eb5fed63c1
Temporarily comment out Hcc-specific APIs for CLang compiler
...
Temporarily comment out Hcc-specific template functions
hipExtLaunchKernelGGL and hipOccupancyMaxPotentialBlockSize for CLang
compiler so that all test cases under hip/samples can be built
successfully for Clang + Hip/Hcc runtime.
Change-Id: Iafc761257be4a7b34eafa6759a01f369570cd6ce
[ROCm/hip commit: b3f445c0f5 ]
2020-02-16 22:26:47 -05:00
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
Payam
d2e10a632e
removing oocupancy tests from hip-vdi for now
...
Change-Id: I06e966d07021af87fa2c195e4bbaf6bcc336658d
[ROCm/hip commit: fabe62e31f ]
2020-02-13 21:40:06 -05:00
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
Laurent Morichetti
471b697a05
Merge branch 'master' into amd-master-next
...
Change-Id: Ibb7775e7acd263d2ece40a241517bbd15976fdd4
[ROCm/hip commit: 2cf3257795 ]
2020-02-12 00:14:07 -08:00
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
Payam
5cf8d742cb
Excluding vdi platform for now from the following tests so we can build
...
Change-Id: I651255c2515a62c8bdfdd17a3ac85c3d66a5761b
[ROCm/hip commit: e4e8c4b74b ]
2020-02-07 02:16:05 -05:00
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
6ac4d18753
Merge pull request #1759 from emankov/master
...
[HIP] Unify hipError_t (Step 2)
[ROCm/hip commit: 0dadb23327 ]
2019-12-30 19:21:09 +03: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
Alex Voicu
1f5ecc0f6a
Fix late-coming issues. ( #1724 )
...
Implementation for hipMemcpyWithStream.
[ROCm/hip commit: 75a11330aa ]
2019-12-23 19:11:24 +05:30
Vladislav Sytchenko
6015efe6f5
Add comments explaining choice on the cap for system memory on Windows.
...
[ROCm/hip commit: bf3df9d7c0 ]
2019-12-13 21:38:27 -05:00
Vladislav Sytchenko
29ca9f7d53
Add explicit cast when computing the available amount of system memory.
...
[ROCm/hip commit: 12634879e2 ]
2019-12-13 21:37:30 -05:00
Vladislav Sytchenko
9dade23425
Reduce the amount of free host memory to 40% of what is reported on Windows, otherwise we can run into OOM situations.
...
[ROCm/hip commit: b12c53cceb ]
2019-12-11 20:21:12 -05:00
Rahul Garg
ebdd811632
Revert - Changes related to hipMemcpyWithStream ( #1718 )
...
Reverting #1673 , #1697 and #1707 .
Support for hipMemcpyWithStream and memcpy optimizations, will be brought in again once issues seen with these are resolved independently.
[ROCm/hip commit: e53fc316f1 ]
2019-12-06 09:51:53 +05:30
Rahul Garg
fa87abd58a
Fix hipMemcpyWithStream ( #1707 )
...
* Fix hipMemcpyWithStream
* Add a dtest for the same.
[ROCm/hip commit: 892d2a562e ]
2019-12-04 11:56:23 +05:30
Sarbojit2019
6679cd3998
Revert [HIP] Fixed hipStreamAddCallback ( #1674 )
...
This reverts commit fa1e44aa0e .
Addresses SWDEV#212675.
[ROCm/hip commit: 153a959280 ]
2019-11-20 11:55:46 +05:30
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
Sarbojit2019
fa1e44aa0e
[HIP] Fixed hipStreamAddCallback [SWDEV#165185] ( #1425 )
...
Fixed hipStreamAddCallback() as requested in SWDEV#165185
Added unit test to test the behavior
[ROCm/hip commit: 45613311d7 ]
2019-11-07 13:18:12 +05:30
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