Rahul Garg
4739e68bbe
Merge pull request #1582 from amd-lthakur/hipExtMLK
...
Adding a directed test case for hipExtModuleLaunchKernel() api.
2019-10-31 17:13:26 -07:00
Rahul Garg
55f2a38120
Formatting changes
2019-10-30 18:12:51 -07:00
Rahul Garg
4ab71216b4
Formatting changes ,variable name and check update
2019-10-30 18:09:21 -07:00
Rahul Garg
ba8105e0cd
Merge pull request #1515 from ansurya/tex_unbind_issue_fix
...
Fix undefined ref to hipUnbindTexture for texture types
2019-10-30 17:54:15 -07:00
Rahul Garg
e4a1e44162
Revert "Fix occupany APIs ( #1560 )"
...
This reverts commit af351d7e1b .
2019-10-29 11:41:08 -07:00
Anusha Godavarthy Surya
03623cc3f1
Merge branch 'master' into tex_unbind_issue_fix
2019-10-25 15:54:25 +05:30
amd-lthakur
4239c94fe5
Excluded the test case for nvcc platform
2019-10-25 15:52:11 +05:30
Anusha Godavarthy Surya
5f47e99ffe
merge from master
2019-10-25 15:52:09 +05:30
Rahul Garg
12e1a86ec1
[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.
2019-10-25 15:44:05 +05:30
Anusha Godavarthy Surya
259d8b4cdf
Merge branch 'master' into tex_unbind_issue_fix
2019-10-25 15:36:55 +05:30
amd-lthakur
564418c308
Refactored the file as suggested
2019-10-25 10:44:38 +05:30
amd-lthakur
318df5c36b
Update matmul.cpp
2019-10-25 09:22:07 +05:30
amd-lthakur
cd25149225
Update hipExtModuleLaunchKernel.cpp
2019-10-25 09:19:49 +05:30
satyanveshd
af351d7e1b
Fix occupany APIs ( #1560 )
...
Addresses SWDEV-205006
2019-10-24 17:44:47 +05:30
amd-lthakur
8b496e4715
Adding a directed test case for hipExtModuleLaunchKernel() api.
2019-10-24 15:06:28 +05:30
Vladislav Sytchenko
664b115c44
Remove extra #endif.
2019-10-18 16:40:29 -04:00
Vladislav Sytchenko
8f0a226660
_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.
2019-10-17 18:58:32 -04:00
Rahul Garg
e1aac060da
Merge pull request #1544 from vsytch/master
...
QoL changes to the hipMemset family
2019-10-16 18:54:20 -07:00
Vladislav Sytchenko
c747b77ac1
hipMemset2D and hipMemset3D tests should be passing by default.
2019-10-16 11:02:38 -04:00
vsytch
2fb734ef5f
Update hipMathFunctions, hipTestHalf and hipTestNativeHalf tests to support Navi10 and Navi14. ( #1545 )
2019-10-16 10:51:48 +05:30
Vladislav Sytchenko
f5af263aba
In the hipMemset2D and hipMemset3D tests synchronize with the default stream after performing an async memset.
2019-10-15 17:15:49 -04:00
Vladislav Sytchenko
346bfa90d6
Update indentation in the hipMemset3D test. Replace all tabs with four spaces.
2019-10-15 15:29:14 -04:00
Vladislav Sytchenko
00425bdf3d
Add async subtest to hipMemSet3D
2019-10-15 14:24:04 -04:00
Vladislav Sytchenko
3db2ecc52b
hipMemset2D test should pass only if both async and sync subtests pass.
2019-10-15 14:20:14 -04:00
Anusha Godavarthy Surya
d5b1e887e9
Added unbind texture to samples and tests
2019-10-15 11:34:15 +05:30
Jatin Chaudhary
32eb6d3bec
Re enable test RTC ( #1516 )
...
Adding target resolution in hiprtc tests and reenable them.
2019-10-10 19:59:55 +05:30
ansurya
87834500b9
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.
2019-10-10 19:58:41 +05:30
Anusha Godavarthy Surya
af5f195e46
Fix undefine ref to hipUbindTexture for texture types
2019-10-09 16:26:06 +05:30
ansurya
ba9c6e13e4
Added new Memory API's ( #1399 )
...
Added new memory API's hipMemAllocPitch, hipMemAllocHost, hipMemsetD16, hipMemsetD16Async, hipMemsetD8Async
Modified to support all scenarios hipMemcpyParam2DAsync, hipMemcpyParam2D.
2019-10-04 13:36:31 +05:30
Sarbojit2019
cde5119c9e
[dtests] Separated C macros from CPP header file ( #1429 )
...
* Separated C macros from CPP header file
* Updated review comment
2019-10-01 12:38:32 +05:30
Yaxun (Sam) Liu
56193a7828
Fix cast of __half for HIP-clang ( #1475 )
2019-09-30 10:40:42 +05:30
AlexBinXie
b3e6ba50c3
[hip] Added gfx803,gfx1010,gfx1012 kernel binary hipModule test. ( #1444 )
...
This is to address hipModule test seg fault in GFX1010
2019-09-30 10:38:37 +05:30
AlexBinXie
5ed1f3e2c8
[hip]Skip test when hipHostMallocCoherent is not supported by implementation ( #1380 )
2019-09-16 08:31:43 +00:00
ansurya
ceb734b917
Added new device attributes ( #1377 )
...
* Added new device attributes
* updated comment
* updated with new device attributes supported
2019-09-16 08:31:30 +00:00
Aryan Salmanpour
48880a017e
[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
2019-09-16 08:31:09 +00:00
Sameer Sahasrabuddhe
70023c9075
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.
2019-08-30 20:41:29 +05:30
Sarbojit2019
5c4f78bac3
[HIP] Reclaiming hipLaunchKernel API ( #1353 )
...
* [HIP] Reclaiming hipLaunchKernel API
* Reclaiming hipLaunchKernel : Incorporated review comments
* Incorporated review comments
* Removed hipLaunchKernel Macro from nvcc path
2019-08-29 01:02:41 +00:00
Rahul Garg
44422065a1
[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
2019-08-16 02:13:00 +00:00
amd-lthakur
9b31d26237
[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.
2019-08-09 11:53:16 +00:00
amd-lthakur
9abae7114c
[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.
2019-08-09 11:52:46 +00:00
ansurya
cbe9f8dc6b
[dtests[ Fix build issues with hipEnvVar*.cpp on windows ( #1299 )
...
* replace getopt with clara based command line options
* Removed header getopt.h
2019-08-09 11:52:10 +00:00
amd-lthakur
e94c0592de
[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
2019-08-09 11:50:10 +00:00
amd-lthakur
d3ffad7c83
[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
2019-08-09 11:49:31 +00:00
lthakur
d18160920e
Resubmitting the fix so as to address the changed format in the last submission
2019-08-08 11:26:26 +05:30
lthakur
435badcb0e
Fixed compilation errors being observed on windows
2019-08-07 15:54:46 +05:30
Sarbojit2019
3bfff0a23d
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
2019-08-05 09:51:36 +00:00
wkwchau
aaec4f73a6
Added CooperativeLaunch and CooperativeMultiDeviceLaunch flag and property for hipDeviceGetAttribute() and hipGetDeviceProperties() ( #1247 )
2019-08-02 10:00:25 +00:00
wkwchau
e7447d5809
Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttribu… ( #1238 )
...
* Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttributeHdpRegFlushCntl
* Added NVCC blocker for the hip*FlushCntl test cases
2019-08-01 16:03:35 +00:00
Maneesh Gupta
79358e086a
Merge pull request #1276 from vsytch/SWDEV-197675
...
[hip][tests] Don't use a hardcoded warp size, since it can be dynamically changed.…
2019-08-01 08:59:43 +00:00
wkwchau
4b18b321f7
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()
2019-08-01 08:58:48 +00:00