Aryan Salmanpour
92a06b531d
[hip][tests] Add two more workgroup sizes for testing hipLaunchCooperativeKernel ( #1613 )
...
[ROCm/clr commit: 7a3d592ed0 ]
2019-11-05 12:32:46 +05:30
Rahul Garg
2cf205bc7b
Merge pull request #1582 from amd-lthakur/hipExtMLK
...
Adding a directed test case for hipExtModuleLaunchKernel() api.
[ROCm/clr commit: 1bec1445bb ]
2019-10-31 17:13:26 -07:00
Rahul Garg
31fc374120
Formatting changes
...
[ROCm/clr commit: 07f4431de8 ]
2019-10-30 18:12:51 -07:00
Rahul Garg
5bcc1f66c5
Formatting changes ,variable name and check update
...
[ROCm/clr commit: cd1435cbc7 ]
2019-10-30 18:09:21 -07:00
Rahul Garg
04785f2d54
Merge pull request #1515 from ansurya/tex_unbind_issue_fix
...
Fix undefined ref to hipUnbindTexture for texture types
[ROCm/clr commit: aeb7cebbad ]
2019-10-30 17:54:15 -07:00
Rahul Garg
72c686ed67
Revert "Fix occupany APIs ( #1560 )"
...
This reverts commit ad1e409a24 .
[ROCm/clr commit: 27221bc823 ]
2019-10-29 11:41:08 -07:00
Anusha Godavarthy Surya
dfa019bdf6
Merge branch 'master' into tex_unbind_issue_fix
...
[ROCm/clr commit: 9332a39838 ]
2019-10-25 15:54:25 +05:30
amd-lthakur
6bb2cba965
Excluded the test case for nvcc platform
...
[ROCm/clr commit: 626cd5d07a ]
2019-10-25 15:52:11 +05:30
Anusha Godavarthy Surya
0140ea8e1a
merge from master
...
[ROCm/clr commit: ae838f8cee ]
2019-10-25 15:52:09 +05:30
Rahul Garg
9c599a3581
[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/clr commit: 66a3c874c8 ]
2019-10-25 15:44:05 +05:30
Anusha Godavarthy Surya
2d538b702d
Merge branch 'master' into tex_unbind_issue_fix
...
[ROCm/clr commit: c0fc5e718c ]
2019-10-25 15:36:55 +05:30
amd-lthakur
796566f156
Refactored the file as suggested
...
[ROCm/clr commit: b2238bacd4 ]
2019-10-25 10:44:38 +05:30
amd-lthakur
40c7970293
Update matmul.cpp
...
[ROCm/clr commit: 84fb936dfe ]
2019-10-25 09:22:07 +05:30
amd-lthakur
42fe3f5247
Update hipExtModuleLaunchKernel.cpp
...
[ROCm/clr commit: 9a860e6766 ]
2019-10-25 09:19:49 +05:30
satyanveshd
ad1e409a24
Fix occupany APIs ( #1560 )
...
Addresses SWDEV-205006
[ROCm/clr commit: 6c5fbf9b4a ]
2019-10-24 17:44:47 +05:30
amd-lthakur
5189d287eb
Adding a directed test case for hipExtModuleLaunchKernel() api.
...
[ROCm/clr commit: 0adcc890b0 ]
2019-10-24 15:06:28 +05:30
Vladislav Sytchenko
33acfa17c1
Remove extra #endif.
...
[ROCm/clr commit: 432380aa5d ]
2019-10-18 16:40:29 -04:00
Vladislav Sytchenko
54eddfc8f0
_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/clr commit: f4440817cb ]
2019-10-17 18:58:32 -04:00
Rahul Garg
685a4cd182
Merge pull request #1544 from vsytch/master
...
QoL changes to the hipMemset family
[ROCm/clr commit: a21fe1443b ]
2019-10-16 18:54:20 -07:00
Vladislav Sytchenko
577bac5de8
hipMemset2D and hipMemset3D tests should be passing by default.
...
[ROCm/clr commit: 86d0c5fa5a ]
2019-10-16 11:02:38 -04:00
vsytch
4b8d8034cf
Update hipMathFunctions, hipTestHalf and hipTestNativeHalf tests to support Navi10 and Navi14. ( #1545 )
...
[ROCm/clr commit: c2aadd4d12 ]
2019-10-16 10:51:48 +05:30
Vladislav Sytchenko
2bc49fb55c
In the hipMemset2D and hipMemset3D tests synchronize with the default stream after performing an async memset.
...
[ROCm/clr commit: cc5abec092 ]
2019-10-15 17:15:49 -04:00
Vladislav Sytchenko
91ceb7dd2b
Update indentation in the hipMemset3D test. Replace all tabs with four spaces.
...
[ROCm/clr commit: f402b6d01a ]
2019-10-15 15:29:14 -04:00
Vladislav Sytchenko
d20c5251b1
Add async subtest to hipMemSet3D
...
[ROCm/clr commit: c83b6adb33 ]
2019-10-15 14:24:04 -04:00
Vladislav Sytchenko
e6f426dee3
hipMemset2D test should pass only if both async and sync subtests pass.
...
[ROCm/clr commit: 39e42d4056 ]
2019-10-15 14:20:14 -04:00
Anusha Godavarthy Surya
712b6ccdc2
Added unbind texture to samples and tests
...
[ROCm/clr commit: 20cfe17805 ]
2019-10-15 11:34:15 +05:30
Jatin Chaudhary
90caf746e5
Re enable test RTC ( #1516 )
...
Adding target resolution in hiprtc tests and reenable them.
[ROCm/clr commit: 444177ffac ]
2019-10-10 19:59:55 +05:30
ansurya
0abb25a2fe
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/clr commit: 9bb22c4e0f ]
2019-10-10 19:58:41 +05:30
Anusha Godavarthy Surya
c5fc879606
Fix undefine ref to hipUbindTexture for texture types
...
[ROCm/clr commit: a5d9f56bef ]
2019-10-09 16:26:06 +05:30
ansurya
efc64a4f8a
Added new Memory API's ( #1399 )
...
Added new memory API's hipMemAllocPitch, hipMemAllocHost, hipMemsetD16, hipMemsetD16Async, hipMemsetD8Async
Modified to support all scenarios hipMemcpyParam2DAsync, hipMemcpyParam2D.
[ROCm/clr commit: 96890792b0 ]
2019-10-04 13:36:31 +05:30
Sarbojit2019
3a20a14134
[dtests] Separated C macros from CPP header file ( #1429 )
...
* Separated C macros from CPP header file
* Updated review comment
[ROCm/clr commit: 6c06fb5f0a ]
2019-10-01 12:38:32 +05:30
Yaxun (Sam) Liu
2ed78f20a2
Fix cast of __half for HIP-clang ( #1475 )
...
[ROCm/clr commit: 7b3b82bd0d ]
2019-09-30 10:40:42 +05:30
AlexBinXie
933d31f374
[hip] Added gfx803,gfx1010,gfx1012 kernel binary hipModule test. ( #1444 )
...
This is to address hipModule test seg fault in GFX1010
[ROCm/clr commit: cda068edd5 ]
2019-09-30 10:38:37 +05:30
AlexBinXie
cc921b35be
[hip]Skip test when hipHostMallocCoherent is not supported by implementation ( #1380 )
...
[ROCm/clr commit: 313726a457 ]
2019-09-16 08:31:43 +00:00
ansurya
4436a38e65
Added new device attributes ( #1377 )
...
* Added new device attributes
* updated comment
* updated with new device attributes supported
[ROCm/clr commit: e2a934f377 ]
2019-09-16 08:31:30 +00:00
Aryan Salmanpour
2596af7f32
[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/clr commit: 51c7fedd36 ]
2019-09-16 08:31:09 +00:00
Sameer Sahasrabuddhe
929b6d5f34
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/clr commit: 68c133bd78 ]
2019-08-30 20:41:29 +05:30
Sarbojit2019
4d23e35532
[HIP] Reclaiming hipLaunchKernel API ( #1353 )
...
* [HIP] Reclaiming hipLaunchKernel API
* Reclaiming hipLaunchKernel : Incorporated review comments
* Incorporated review comments
* Removed hipLaunchKernel Macro from nvcc path
[ROCm/clr commit: 1ae43cbeba ]
2019-08-29 01:02:41 +00:00
Rahul Garg
a160d3ee2e
[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/clr commit: c741ad3c80 ]
2019-08-16 02:13:00 +00:00
amd-lthakur
079ed286ba
[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/clr commit: 19ad365834 ]
2019-08-09 11:53:16 +00:00
amd-lthakur
7879220c48
[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/clr commit: 93f5940ef8 ]
2019-08-09 11:52:46 +00:00
ansurya
68135c897a
[dtests[ Fix build issues with hipEnvVar*.cpp on windows ( #1299 )
...
* replace getopt with clara based command line options
* Removed header getopt.h
[ROCm/clr commit: fc60f3a95b ]
2019-08-09 11:52:10 +00:00
amd-lthakur
6c8ea45278
[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/clr commit: 36977dc276 ]
2019-08-09 11:50:10 +00:00
amd-lthakur
421f940def
[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/clr commit: c212c484af ]
2019-08-09 11:49:31 +00:00
lthakur
b62254608c
Resubmitting the fix so as to address the changed format in the last submission
...
[ROCm/clr commit: 80acd13ba7 ]
2019-08-08 11:26:26 +05:30
lthakur
6a15871e91
Fixed compilation errors being observed on windows
...
[ROCm/clr commit: c4f6d58354 ]
2019-08-07 15:54:46 +05:30
Sarbojit2019
55fa6a83c6
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/clr commit: f23c1a1499 ]
2019-08-05 09:51:36 +00:00
wkwchau
7b0f478767
Added CooperativeLaunch and CooperativeMultiDeviceLaunch flag and property for hipDeviceGetAttribute() and hipGetDeviceProperties() ( #1247 )
...
[ROCm/clr commit: ed04e96e2d ]
2019-08-02 10:00:25 +00:00
wkwchau
75f1bb21b3
Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttribu… ( #1238 )
...
* Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttributeHdpRegFlushCntl
* Added NVCC blocker for the hip*FlushCntl test cases
[ROCm/clr commit: abe6776677 ]
2019-08-01 16:03:35 +00:00
Maneesh Gupta
969eddc258
Merge pull request #1276 from vsytch/SWDEV-197675
...
[hip][tests] Don't use a hardcoded warp size, since it can be dynamically changed.…
[ROCm/clr commit: 6ee5fcc07c ]
2019-08-01 08:59:43 +00:00