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
Maneesh Gupta
802520f5f1
Merge pull request #685 from ROCm-Developer-Tools/hip-trig-return
...
Improve hip_trig test case
2018-09-26 09:50:48 +05:30
Aaron Enye Shi
04ed44f074
Use trig functions from ocml instead
2018-09-25 15:58:36 +00:00
Aaron Enye Shi
bc5de031a5
Fix missing HIP_ASSERT in hip_trig
2018-09-24 15:01:24 +00:00
Maneesh Gupta
ad008c5e3f
Merge pull request #683 from ROCm-Developer-Tools/hip-float-rounded
...
Disable non-default-rounded functions
2018-09-24 09:32:52 +05:30
Aaron Enye Shi
afef6a3ece
Improve hip_trig test case
...
Hip_trig is failing but returning a passing value on HIP-Clang. Also update with debug output and free arrays used.
2018-09-21 15:28:10 -04:00
Maneesh Gupta
a4bdbe0aaf
Update hipTestFMA.cpp
2018-09-21 11:00:08 +05:30
Aaron Enye Shi
a3dea28c9d
Disable non-default-rounded functions
...
Device library has removed the non-default-rounded functions, so hipFloatMath will fail to build. These include the removal of __ocml_sqrt_rte, __ocml_sqrt_rtn, __ocml_sqrt_rtp, and __ocml_sqrt_rtz. As seen here: https://github.com/RadeonOpenCompute/ROCm-Device-Libs/commit/2fc04e10e1354edee331ce700f98a60f8255effb . Disable these function tests for now, until they are re-enabled, or deleted completely.
2018-09-20 16:33:32 -04:00
Maneesh Gupta
e614aac0da
Update hipTestFMA.cpp
...
Fix the test so that it works on nvcc path as well.
2018-09-20 11:23:51 +05:30
Yaxun Sam Liu
a8bed200b7
Add fma function with float and _Float16 arguments
2018-09-19 09:59:33 -04:00
Rahul Garg
c878d9cde4
Fixed get alignment offset test for NVCC
...
- Removed dtest hipGetAlgntoffset2D.cpp
- hipGetTextureAlignmentOffset is being tested now in hipBindTexRef1DFetch.cpp
2018-09-18 14:10:03 +05:30
Maneesh Gupta
f63ffaf6e5
[dests] Fix hipTestClock, hipTestNew & hipTestGlobalVariable tests for nvcc
...
nvcc does not support global kernels in struct/class
Change-Id: I2d7297e0c3725564215e20dbdd31c0bb8d7a07de
2018-09-17 15:32:05 +05:30
Maneesh Gupta
7066147760
[dtests] Fix deviceLib/hipSimpleAtomicsTest for nvcc
...
Change-Id: I23cbea2820d41da6f6a1bcab4bc3b59ac21799dd
2018-09-17 15:26:45 +05:30
Maneesh Gupta
644fc85a37
[dtests] Fix deviceLib/hipTestIncludeMath on nvcc path
...
Change-Id: Ifb121886bec6c1134e98bd194ff1713f28454d33
2018-09-17 15:15:49 +05:30
Alex Voicu
26c26f63cb
Align with HC Next.
2018-09-17 11:50:29 +03:00
Maneesh Gupta
a5aa5cbcfa
Merge pull request #606 from ROCm-Developer-Tools/add-test-global-var
...
Add HIP directed test hipTestGlobalVariable.cpp
2018-09-17 11:11:51 +05:30
Maneesh Gupta
b23609ad42
Merge branch 'master' into support-malloc
2018-09-17 10:17:25 +05:30
Maneesh Gupta
4d0d1fb3f4
Merge pull request #639 from ROCm-Developer-Tools/skudchad-hip
...
Check for hipEnvVar at the same level if directed_tests location fails
2018-09-16 18:31:37 +05:30
Maneesh Gupta
f9167cd2da
Revert changes to runtime/stream/hipStreamSync2
2018-09-15 13:23:38 +05:30
Maneesh Gupta
9f553c0b40
Merge pull request #650 from ROCm-Developer-Tools/hip-clang-new
...
Support placement new in hip-clang
2018-09-15 11:21:01 +05:30
Maneesh Gupta
2f794fd99f
Merge pull request #658 from phani544/hipClangFrndClass
...
[HIP-Clang]Add friend class/function test
2018-09-14 08:59:40 +05:30
fpadmin
9ca3401f8b
[HIP-Clang]Add friend class/function test
2018-09-05 11:48:49 +05:30
Yaxun (Sam) Liu
cc0fbc0e2e
Support placement new in hip-clang
2018-09-04 16:53:46 -04:00
Maneesh Gupta
6dfb6fac8b
Merge pull request #657 from yxsamliu/fix-clz
...
Fix ambiguity of __clz and __clzll
2018-09-03 16:34:42 +05:30
Maneesh Gupta
d515998ac4
Merge pull request #651 from yxsamliu/hip-clang-clock
...
Add clock() and clock64()
2018-09-03 16:32:30 +05:30
Maneesh Gupta
11d1b8d310
Merge pull request #640 from aaronenyeshi/hip-clang-add-bit-funcs
...
Add bitextract and bitinsert functions
2018-09-03 16:31:42 +05:30
Yaxun Sam Liu
701519d27d
Fix ambiguity of __clz and __clzll
2018-08-31 18:07:57 -04:00
Saleel Kudchadker
3684975b91
Fix record_event and hipStreamSync2 tests. The test should expect null stream to complete if synchrionize is called as per the spec
2018-08-31 12:54:23 -07:00
Saleel Kudchadker
b76c94afb9
Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into skudchad-hip
2018-08-31 10:38:41 -07:00
Maneesh Gupta
0b8e209532
Merge pull request #564 from phani544/hipClangClass8B
...
Adding class size>8bytes tests
2018-08-30 10:33:47 +05:30
Aaron Enye Shi
ecfb2bdeba
Remove testing bitinsert/extract on nvcc path
2018-08-29 15:29:53 +00:00
Yaxun Sam Liu
0f4546deca
Add clock() and clock64()
2018-08-29 10:51:00 -04:00