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
Sameer Sahasrabuddhe
8afbecf687
remove obsolete test for OCKL Asynchronous Streams
...
The implementation for OCKL AS was recently removed from the device
library since that feature is now superseded by hostcall.
[ROCm/hip commit: 70023c9075 ]
2019-08-30 20:41:29 +05:30
Sarbojit2019
74a3171c6b
[HIP] Reclaiming hipLaunchKernel API ( #1353 )
...
* [HIP] Reclaiming hipLaunchKernel API
* Reclaiming hipLaunchKernel : Incorporated review comments
* Incorporated review comments
* Removed hipLaunchKernel Macro from nvcc path
[ROCm/hip commit: 5c4f78bac3 ]
2019-08-29 01:02:41 +00:00
Rahul Garg
971b75588e
[dtests] refactor windows specific changes ( #1313 )
...
* [dtests] refactor windows specific changes
* Refactor hipMemoryAllocateCoherentDriver - PR- 1309
* Fix missing z in _putenv_s
* Revert "Fix missing z in _putenv_s"
This reverts commit 099a1b20a5c75c5f122d57c0ad2bca01745cdc9c.
* Refactor changes from PR 1299
* Update hipEnvVarDriver.cpp
[ROCm/hip commit: 44422065a1 ]
2019-08-16 02:13:00 +00:00
amd-lthakur
07ee0e825b
[dtests] Fix build issues with hipMemoryAllocateCoherentDriver.cpp on windows ( #1309 )
...
Compilation error being observed due to popen(), pclose() and setenv() linux calls on windows. Replaced with appropriate calls on windows.
[ROCm/hip commit: 9b31d26237 ]
2019-08-09 11:53:16 +00:00
amd-lthakur
45652a1fba
[dtests] Fix build issue with hipMemcpy_simple.cpp on windows ( #1306 )
...
Compilation error being observed on windows due to aligned_alloc() call. Mapped the call to _aligned_malloc() for windows.
[ROCm/hip commit: 9abae7114c ]
2019-08-09 11:52:46 +00:00
ansurya
83e95631cf
[dtests[ Fix build issues with hipEnvVar*.cpp on windows ( #1299 )
...
* replace getopt with clara based command line options
* Removed header getopt.h
[ROCm/hip commit: cbe9f8dc6b ]
2019-08-09 11:52:10 +00:00
amd-lthakur
eacee18c37
[dtests] Fix build issues with hipLaunchParm.cpp on windows ( #1293 )
...
* Removed unwanted #include sys/time.h , gettimeofday() and timeval variables and this also helps avavoid compilation error in windows due to gettimeofday() call equivalent of which is not available in windows
* Changed the Macro name from GPU_PRINT_TIME to MY_LAUNCH_MACRO
[ROCm/hip commit: e94c0592de ]
2019-08-09 11:50:10 +00:00
amd-lthakur
2658921cfb
[dtests] Fixed build issues with hipAsynchronousStreams.cpp on windows ( #1292 )
...
Changed the third arg of the functions __hip_as_write_block and __ockl_as_write_block from ulong to uint64_t so as to fix the compilation error in windows
[ROCm/hip commit: d3ffad7c83 ]
2019-08-09 11:49:31 +00:00
lthakur
68139db6b8
Resubmitting the fix so as to address the changed format in the last submission
...
[ROCm/hip commit: d18160920e ]
2019-08-08 11:26:26 +05:30
lthakur
aeb53881fb
Fixed compilation errors being observed on windows
...
[ROCm/hip commit: 435badcb0e ]
2019-08-07 15:54:46 +05:30
Sarbojit2019
b72170d037
Enabled gcc for hip host code ( #1214 )
...
* Enabled gcc for hip host code
* Adding tests for hip code + (gcc & g++), without kernels
* Excluding nvcc platforms for gcc and g++ tests + Addressing review comments
* minor code clean-up
* Add rocm include path
* Added relative path for library
* Hiding non supported functions for gcc
* Incorporating review comments
[ROCm/hip commit: 3bfff0a23d ]
2019-08-05 09:51:36 +00:00