Maneesh Gupta
6e573ba430
[dtests] Fix hipModule test for nvcc path
...
Change-Id: If918b87b848a825242e06b0d552a7be188a1c4b6
2019-05-09 18:17:19 +05:30
Maneesh Gupta
e95f7fc1f8
[dtests] Add complex_loading_behavior test
...
Change-Id: Iadf135cb727a1a3761abef20336d652b159c7dcd
2019-05-09 18:03:42 +05:30
Maneesh Gupta
4b38188e1e
[dtests] Add hipModule test to unit tests
...
Change-Id: I1dac38f8580265e2e9c82d88e4f070a2ff87f60b
2019-05-09 11:36:46 +05:30
Maneesh Gupta
53dd1df3fa
[hit] Rename RUN -> TEST & RUN_NAMED -> TEST_NAMED
...
Change-Id: I75e24f15129973cee15fc9dac65d678bd2172074
2019-05-09 09:59:18 +05:30
Maneesh Gupta
51e158c633
Merge pull request #1075 from mhbliao/hliao/master/test_fix2
...
[test] Add device variant of `std::declval`.
2019-05-07 16:15:01 +05:30
Maneesh Gupta
7f759750d1
Merge pull request #1074 from mhbliao/hliao/master/test_fix
...
[test] Use explicit cast for address space cast.
2019-05-07 16:09:15 +05:30
Maneesh Gupta
d71afeccc8
Merge pull request #1073 from kpyzhov/multi-thread-device-test
...
hipMultiThreadDevice test: Reduced maximum number of created HIP stre…
2019-05-07 16:08:37 +05:30
Maneesh Gupta
8f352427f4
Merge pull request #1072 from kpyzhov/master
...
Refined hipSetDevice test.
2019-05-07 16:07:36 +05:30
Maneesh Gupta
0fffbbe67a
Merge pull request #1069 from mhbliao/hliao/master/test_cleanup
...
[test] Remove unused common routines.
2019-05-07 16:02:57 +05:30
Michael LIAO
32f69c8bc4
[test] Add device variant of std::declval.
...
- Current clang disallows any invocation of wrong-side functions even
under context with type-inspection only. Work around that by adding a
variant of `std::decl` with `__device__` attribute.
2019-05-03 15:58:31 -04:00
Michael LIAO
a27877794f
[test] Use explicit cast for address space cast.
2019-05-03 14:56:00 -04:00
Konstantin Pyzhov
e04e408a37
hipMultiThreadDevice test: Reduced maximum number of created HIP streams on Windows.
2019-05-03 05:43:30 -04:00
Konstantin Pyzhov
29fd3812e5
Refined hipSetDevice test.
2019-05-03 05:39:45 -04:00
Michael LIAO
aad19f6171
[test] Remove unused common routines.
...
- Remove used common routines, which variadic functions, not supported
feature, are used.
2019-05-02 12:34:07 -04:00
Michael LIAO
2380eb8ecc
[Device Function] Fix implementation of __bitinsert_u64
...
- It's a common mistake by assuming 1 << shamt would be promoted to
64-bit, if shamt is a 64-bit integer. That's not the case. Replace
that left shift to a 64-bit one to ensure it won't fall into undefined
behavior.
- Fix the host-side implementation as well for device function testing.
2019-04-30 08:59:13 -04:00
Rahul Garg
94769fc8dd
Add hipMallocManaged default functional support ( #1036 )
...
* Add hipMallocManaged default functional support
* Fix build error
* Add dtest
2019-04-24 16:50:03 +05:30
Rahul Garg
f1dc017167
Fix D2DAsync test
2019-04-18 07:35:06 +05:30
Maneesh Gupta
b9809cb2b6
Merge pull request #932 from ROCm-Developer-Tools/feature_maybe_dlopen_test
...
Add one test case for complex dynamic loading behavior
2019-03-06 17:32:23 +05:30
Maneesh Gupta
8af4e2b5e4
Update hipMemset.cpp
...
Address build issues on nvcc path.
2019-03-05 12:11:11 +05:30
Wen-Heng (Jack) Chung
365d08535b
Add direct test for hipMemsetD32 and hipMemsetD32Async
2019-03-04 17:20:32 +00:00
Rahul Garg
5900416629
Fix review comments
2019-03-02 23:38:37 +05:30
Rahul Garg
41afe4d947
Fix hipMemset test for HIP/NVCC
2019-03-01 03:46:57 +05:30
Rahul Garg
0156388a6b
Update hipMemset test
2019-02-28 06:54:49 +05:30
Wen-Heng (Jack) Chung
8c5a92a789
Add one test case for complex dynamic loading behavior
...
Existing HIT syntax doesn't seem to support the expected build and run steps
for this test.
2019-02-25 17:03:31 +00:00
Maneesh Gupta
95fe4b770f
Merge pull request #863 from aaronenyeshi/add-dot-instructions
...
Add Dot functions as amd_mixed_dot function
2019-01-29 06:01:01 +05:30
Aaron Enye Shi
2ab6fd374c
Fix mixed dot for Jenkins rocm_2_0
2019-01-24 22:48:35 +00:00
Aaron Enye Shi
77de87d0cd
Exclude mixed dot functions from nvcc path
2019-01-24 21:00:45 +00:00
Aaron Enye Shi
a014668d3a
Fix mixed dot for Jenkins rocm_head
2019-01-23 16:39:25 +00:00
Aaron Enye Shi
bbe5a0381f
Add tests for dot functions
2019-01-22 22:32:28 +00:00
Yaxun Sam Liu
f49aed237b
Fix get_time in tests for nvcc
2019-01-21 14:07:50 -05:00
Yaxun Sam Liu
75a67c216f
Use chrono instead of sys/time.h in test
...
sys/time.h is not available on Windows. Use C++11 <chrono> instead so that the tests
compile on Windows.
2019-01-20 00:05:27 -05:00
Maneesh Gupta
79251fc4e2
Update hipAsynchronousStreams.cpp
...
This test needs to be excluded from nvcc platform
2019-01-07 09:26:21 +05:30
Sameer Sahasrabuddhe
39574dba4c
introduce test for asynchronous streams
...
This test is identical to the HCC tests under
tests/Unit/OCKL/AsyncStreams, but only for synchronous operation.
2019-01-04 05:51:50 -05:00
Maneesh Gupta
aa932d542a
Merge pull request #818 from yxsamliu/fix-hip-config
...
Add default arguments for hipConfigureCall
2019-01-01 10:25:25 +05:30
Maneesh Gupta
7647bdb664
Merge pull request #821 from gargrahul/remove_redundancy_memset3d_test
...
[dtest] Remove redundant arguments from hipMemset3D test
2018-12-31 15:32:19 +05:30
Rahul Garg
10d2a9a269
Remove redundant arguments from hipMemset3D test
2018-12-20 06:51:22 +05:30
Yaxun Sam Liu
02deeadaa4
Add default arguments for hipConfigureCall
2018-12-18 15:48:21 -05:00
Aaron Enye Shi
2d50392c17
Add *_rn functions back into HIP intrinsics
...
Add back the round-to-nearest-even intrinsics back to HIP math
intrinsics as it caused regression.
2018-12-18 19:31:54 +00:00
Michael Kuron
e9b88711e2
Merge branch 'master' into getsymboladdress
2018-11-20 12:03:22 +01:00
Aaron Enye Shi
7b3bbc85c5
Guard rcp rounded implementation as well
...
Since rcp implementations of non-default rounded versions are not correct or supported in OCML, guard them using the same macro OCML_BASIC_ROUNDED_OPERATIONS. Also update the docs and tests.
2018-11-06 19:53:28 +00:00
Aaron Enye Shi
9aa92238ab
Guard the OCML rounded operations instead
...
Instead of commenting all these functions out, guard the functions with a macro OCML_BASIC_ROUNDED_OPERATIONS.
2018-11-06 16:32:14 +00:00
Michael Kuron
fe2281f101
Test for hipGetSymbolSize and hipGetSymbolAddress
2018-11-06 11:39:34 +01:00
Aaron Enye Shi
cef6e8ef1f
Remove non-working non-default-rounded math apis
...
In ROCm-Device-Libs, they have dropped the non-default-rounded versions of add, sub, mul, div, sqrt and fma. Therefore, ocml has removed the rte, rtp, rtn, and rtz counterparts. This will remove the same math APIs in HIP for _ru, _rd, _rn, and _rz.
2018-11-05 22:34:16 +00:00
Alex Voicu
602280eb8b
Re-sync with upstream.
2018-10-18 12:27:03 +01:00
Maneesh Gupta
e1fe095471
Replace hipLaunchKernel -> hipLaunchKernelGGL
...
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
2018-10-17 14:32:25 +05:30
Alex Voicu
217fe345ca
Minimal should mean minimal.
2018-10-11 00:21:41 +01:00
Alex Voicu
7874ec8aaf
Trailing whitespace is still not the final frontier.
2018-10-11 00:08:09 +01:00
Alex Voicu
031c1d574f
Use HIP math functions, stop using hipLaunchParm.
2018-10-10 11:56:54 +01:00
Alex Voicu
9ec697c620
Re-sync with upstream.
2018-10-10 11:43:49 +01:00
Maneesh Gupta
07ee1f07d8
Implementation for stream priority
...
- Requires ROCm 1.9.x or higher
- Requires HCC with PR#886 merged
Change-Id: Id7c95ea091ee610e80c9ad815f1cb989cba570ca
2018-10-05 16:27:46 +05:30