Alex Voicu
fd08d068c7
Use native support for atomic FADD when address is in LDS ( #1591 )
...
[ROCm/hip commit: d597e7ca20 ]
2019-11-22 07:53:48 +05:30
Paul Fultz II
27112bbdf0
Fix helper header when using c++17 ( #1666 )
...
This will fix issue #1621 . It also adds tests for is_callable with c++11, c++14, and c++17.
The fallback implementation was completely broken so I rewrote it so it pass the tests as well. This should be used instead of PR #1631 .
[ROCm/hip commit: 8519a1411c ]
2019-11-20 21:33:42 +05:30
Alex Voicu
4ec70a7e03
Extend vector type capabilities and add tests to reflect it. ( #1656 )
...
[ROCm/hip commit: b5b3d1bbaa ]
2019-11-20 21:32:32 +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
Sameer Sahasrabuddhe
cfaf04a467
hostcall: add tests that are only used by the VDI build ( #1664 )
...
[ROCm/hip commit: 363caf29c6 ]
2019-11-18 19:52:40 -08:00
Rahul Garg
ecdba45d29
Fix gcc build on NVCC path ( #1661 )
...
* Fix gcc build on NVCC path
* Fix CI build errors
* [dtest] Fix texture and surface obj2D tests
[ROCm/hip commit: e39d7497ec ]
2019-11-18 12:19:22 +05:30
jiabaxie
cd3bf4e205
Updated hipEnvVarDriver to work with Windows ( #1614 )
...
* Updated hipEnvVarDriver to work with Windows
* Cleaned up a bit of code
* Fixed a part where putenv was used for both win and linux
* Defines moved to test_common.h and cleaned up code
* Cleaned up some macro defines and used const char instead
* Got rid of some excess commenting
* directory paths are unconditional
* Cleaned some duplicate code, and variables are now declared and defined together
[ROCm/hip commit: e73927caee ]
2019-11-18 12:18:29 +05:30
kjayapra-amd
fac2e14dab
[dtests] Fixing compilation error in saxpy.cpp ( #1608 )
...
[ROCm/hip commit: 0a68be8b5b ]
2019-11-18 12:18:11 +05:30
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
Maneesh Gupta
5536940e12
[ci] Fix failures on nvcc path ( #1654 )
...
Change-Id: I97f6b51314e14965618ab510bf57a2b034183e78
[ROCm/hip commit: f9fec8fdca ]
2019-11-15 07:58:40 +05:30
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
ansurya
92dcba11ac
Fixed texture 2D mapping for pitched arrays & 3D Texture read ( #1415 )
...
Texture 2D image mapping for pitched arrays:
github issue: Texture Object's Buffer seems to be Misaligned #886
JIRA ticket: SWDEV-199313
SWDEV-151670 : Fixed issue with 3D texture with 4 components
SWDEV-151671 : Issue with 2D layered texture with 4 components
[ROCm/hip commit: e07926ce0f ]
2019-11-07 13:17:46 +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
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
25a5ca94de
Merge pull request #1582 from amd-lthakur/hipExtMLK
...
Adding a directed test case for hipExtModuleLaunchKernel() api.
[ROCm/hip commit: 4739e68bbe ]
2019-10-31 17:13:26 -07:00
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
Rahul Garg
7e742b1216
Merge pull request #1515 from ansurya/tex_unbind_issue_fix
...
Fix undefined ref to hipUnbindTexture for texture types
[ROCm/hip commit: ba8105e0cd ]
2019-10-30 17:54:15 -07:00
Rahul Garg
70449cfa92
Revert "Fix occupany APIs ( #1560 )"
...
This reverts commit 4f23f9cb18 .
[ROCm/hip commit: e4a1e44162 ]
2019-10-29 11:41:08 -07:00
Anusha Godavarthy Surya
5c77b7d19a
Merge branch 'master' into tex_unbind_issue_fix
...
[ROCm/hip commit: 03623cc3f1 ]
2019-10-25 15:54:25 +05:30
amd-lthakur
5e11495936
Excluded the test case for nvcc platform
...
[ROCm/hip commit: 4239c94fe5 ]
2019-10-25 15:52:11 +05:30
Anusha Godavarthy Surya
196bdea9c0
merge from master
...
[ROCm/hip commit: 5f47e99ffe ]
2019-10-25 15:52:09 +05:30
Rahul Garg
849ae2bff0
[dtest] Fix hipMemset2D test ( #1579 )
...
Reverts changes made in #1399 . This is a RT api test. For testing hipMemAllocPitch , a new test should be written and that should use correct memset API.
[ROCm/hip commit: 12e1a86ec1 ]
2019-10-25 15:44:05 +05:30
Anusha Godavarthy Surya
3007505d30
Merge branch 'master' into tex_unbind_issue_fix
...
[ROCm/hip commit: 259d8b4cdf ]
2019-10-25 15:36:55 +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
satyanveshd
4f23f9cb18
Fix occupany APIs ( #1560 )
...
Addresses SWDEV-205006
[ROCm/hip commit: af351d7e1b ]
2019-10-24 17:44:47 +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
Vladislav Sytchenko
05cf0313ce
Remove extra #endif.
...
[ROCm/hip commit: 664b115c44 ]
2019-10-18 16:40:29 -04:00
Vladislav Sytchenko
fd17d3b737
_aligned_malloc() on Windows first takes size, then alignment, which is the opposite of how the similar function behaves on Linux. Memory allocated by it also has to be freed using _aligned_free(), unlike Linux where we can use regular free().
...
Edit aligned_alloc() macro and add a aligned_free() one to align with the above behaviour.
[ROCm/hip commit: 8f0a226660 ]
2019-10-17 18:58:32 -04:00
Rahul Garg
f82e9cd090
Merge pull request #1544 from vsytch/master
...
QoL changes to the hipMemset family
[ROCm/hip commit: e1aac060da ]
2019-10-16 18:54:20 -07:00
Vladislav Sytchenko
779d723ac2
hipMemset2D and hipMemset3D tests should be passing by default.
...
[ROCm/hip commit: c747b77ac1 ]
2019-10-16 11:02:38 -04:00
vsytch
eaa616bf6d
Update hipMathFunctions, hipTestHalf and hipTestNativeHalf tests to support Navi10 and Navi14. ( #1545 )
...
[ROCm/hip commit: 2fb734ef5f ]
2019-10-16 10:51:48 +05:30
Vladislav Sytchenko
948dd510eb
In the hipMemset2D and hipMemset3D tests synchronize with the default stream after performing an async memset.
...
[ROCm/hip commit: f5af263aba ]
2019-10-15 17:15:49 -04:00
Vladislav Sytchenko
6180a9edb3
Update indentation in the hipMemset3D test. Replace all tabs with four spaces.
...
[ROCm/hip commit: 346bfa90d6 ]
2019-10-15 15:29:14 -04:00
Vladislav Sytchenko
5a29d10dbb
Add async subtest to hipMemSet3D
...
[ROCm/hip commit: 00425bdf3d ]
2019-10-15 14:24:04 -04:00
Vladislav Sytchenko
28089f61b6
hipMemset2D test should pass only if both async and sync subtests pass.
...
[ROCm/hip commit: 3db2ecc52b ]
2019-10-15 14:20:14 -04:00
Anusha Godavarthy Surya
e74d2cff3f
Added unbind texture to samples and tests
...
[ROCm/hip commit: d5b1e887e9 ]
2019-10-15 11:34:15 +05:30
Jatin Chaudhary
adf925d497
Re enable test RTC ( #1516 )
...
Adding target resolution in hiprtc tests and reenable them.
[ROCm/hip commit: 32eb6d3bec ]
2019-10-10 19:59:55 +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
Anusha Godavarthy Surya
04080d4bb1
Fix undefine ref to hipUbindTexture for texture types
...
[ROCm/hip commit: af5f195e46 ]
2019-10-09 16:26:06 +05:30
ansurya
66e94b1b1f
Added new Memory API's ( #1399 )
...
Added new memory API's hipMemAllocPitch, hipMemAllocHost, hipMemsetD16, hipMemsetD16Async, hipMemsetD8Async
Modified to support all scenarios hipMemcpyParam2DAsync, hipMemcpyParam2D.
[ROCm/hip commit: ba9c6e13e4 ]
2019-10-04 13:36:31 +05:30
Sarbojit2019
bfa8867a64
[dtests] Separated C macros from CPP header file ( #1429 )
...
* Separated C macros from CPP header file
* Updated review comment
[ROCm/hip commit: cde5119c9e ]
2019-10-01 12:38:32 +05:30
Yaxun (Sam) Liu
21201779c6
Fix cast of __half for HIP-clang ( #1475 )
...
[ROCm/hip commit: 56193a7828 ]
2019-09-30 10:40:42 +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
AlexBinXie
d86d4d674d
[hip]Skip test when hipHostMallocCoherent is not supported by implementation ( #1380 )
...
[ROCm/hip commit: 5ed1f3e2c8 ]
2019-09-16 08:31:43 +00:00
ansurya
b5549f4397
Added new device attributes ( #1377 )
...
* Added new device attributes
* updated comment
* updated with new device attributes supported
[ROCm/hip commit: ceb734b917 ]
2019-09-16 08:31:30 +00:00
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