Commit Graph

636 Commits

Author SHA1 Message Date
Maneesh Gupta 3686db5456 Merge pull request #863 from aaronenyeshi/add-dot-instructions
Add Dot functions as amd_mixed_dot function

[ROCm/hip commit: 50a12f1ce1]
2019-01-29 06:01:01 +05:30
Aaron Enye Shi ba1452b664 Fix mixed dot for Jenkins rocm_2_0
[ROCm/hip commit: ede494bd5f]
2019-01-24 22:48:35 +00:00
Aaron Enye Shi aabdf3a1b2 Exclude mixed dot functions from nvcc path
[ROCm/hip commit: 7e46f0639c]
2019-01-24 21:00:45 +00:00
Aaron Enye Shi 2ae4e21bb9 Fix mixed dot for Jenkins rocm_head
[ROCm/hip commit: f31aa946e7]
2019-01-23 16:39:25 +00:00
Aaron Enye Shi b1d61f076f Add tests for dot functions
[ROCm/hip commit: 1d70f4217e]
2019-01-22 22:32:28 +00:00
Yaxun Sam Liu 99e563d8a0 Fix get_time in tests for nvcc
[ROCm/hip commit: aa6abb0dcf]
2019-01-21 14:07:50 -05:00
Yaxun Sam Liu 934b6929d0 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.


[ROCm/hip commit: 05b5e30187]
2019-01-20 00:05:27 -05:00
Maneesh Gupta cf7c7f2db2 Update hipAsynchronousStreams.cpp
This test needs to be excluded from nvcc platform

[ROCm/hip commit: 580c808400]
2019-01-07 09:26:21 +05:30
Sameer Sahasrabuddhe d1a7eb0cb5 introduce test for asynchronous streams
This test is identical to the HCC tests under
tests/Unit/OCKL/AsyncStreams, but only for synchronous operation.


[ROCm/hip commit: 8fe2a4b167]
2019-01-04 05:51:50 -05:00
Maneesh Gupta 09a02a63a7 Merge pull request #818 from yxsamliu/fix-hip-config
Add default arguments for hipConfigureCall

[ROCm/hip commit: 4d0266a495]
2019-01-01 10:25:25 +05:30
Maneesh Gupta 23bc02a493 Merge pull request #821 from gargrahul/remove_redundancy_memset3d_test
[dtest] Remove redundant arguments from hipMemset3D test

[ROCm/hip commit: cb8e28144a]
2018-12-31 15:32:19 +05:30
Rahul Garg 42a683e159 Remove redundant arguments from hipMemset3D test
[ROCm/hip commit: 4272119eeb]
2018-12-20 06:51:22 +05:30
Yaxun Sam Liu e9532108bb Add default arguments for hipConfigureCall
[ROCm/hip commit: ec03a8b352]
2018-12-18 15:48:21 -05:00
Aaron Enye Shi 8e7b49d1cf Add *_rn functions back into HIP intrinsics
Add back the round-to-nearest-even intrinsics back to HIP math
intrinsics as it caused regression.


[ROCm/hip commit: 58dfeff27a]
2018-12-18 19:31:54 +00:00
Michael Kuron c35dfb71d5 Merge branch 'master' into getsymboladdress
[ROCm/hip commit: 8610128c3e]
2018-11-20 12:03:22 +01:00
Aaron Enye Shi 8bf2429663 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.


[ROCm/hip commit: 0cfaa52d15]
2018-11-06 19:53:28 +00:00
Aaron Enye Shi eb4053e3fe Guard the OCML rounded operations instead
Instead of commenting all these functions out, guard the functions with a macro OCML_BASIC_ROUNDED_OPERATIONS.


[ROCm/hip commit: e59c33250a]
2018-11-06 16:32:14 +00:00
Michael Kuron b23b30d373 Test for hipGetSymbolSize and hipGetSymbolAddress
[ROCm/hip commit: 49cc703d7a]
2018-11-06 11:39:34 +01:00
Aaron Enye Shi 1c6f47ef55 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.


[ROCm/hip commit: 2b108a2cfd]
2018-11-05 22:34:16 +00:00
Alex Voicu de15c6988d Re-sync with upstream.
[ROCm/hip commit: fe959f7bd7]
2018-10-18 12:27:03 +01:00
Maneesh Gupta c4a93adb74 Replace hipLaunchKernel -> hipLaunchKernelGGL
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be


[ROCm/hip commit: 52e320f396]
2018-10-17 14:32:25 +05:30
Alex Voicu 69b0baf37f Minimal should mean minimal.
[ROCm/hip commit: 5312336ce2]
2018-10-11 00:21:41 +01:00
Alex Voicu 62d7a132c8 Trailing whitespace is still not the final frontier.
[ROCm/hip commit: 50265028fc]
2018-10-11 00:08:09 +01:00
Alex Voicu 684f8133dd Use HIP math functions, stop using hipLaunchParm.
[ROCm/hip commit: 069bbbd7ed]
2018-10-10 11:56:54 +01:00
Alex Voicu 6d0b50e9b9 Re-sync with upstream.
[ROCm/hip commit: ca375cb8c5]
2018-10-10 11:43:49 +01:00
Maneesh Gupta b35590db18 Implementation for stream priority
- Requires ROCm 1.9.x or higher
- Requires HCC with PR#886 merged

Change-Id: Id7c95ea091ee610e80c9ad815f1cb989cba570ca


[ROCm/hip commit: da64156fb2]
2018-10-05 16:27:46 +05:30
Maneesh Gupta 502fda5308 Merge pull request #685 from ROCm-Developer-Tools/hip-trig-return
Improve hip_trig test case

[ROCm/hip commit: 5c665acf74]
2018-09-26 09:50:48 +05:30
Aaron Enye Shi 93a84365ab Use trig functions from ocml instead
[ROCm/hip commit: 5179a72cda]
2018-09-25 15:58:36 +00:00
Aaron Enye Shi 9762215e54 Fix missing HIP_ASSERT in hip_trig
[ROCm/hip commit: 3d3820272a]
2018-09-24 15:01:24 +00:00
Maneesh Gupta a7c2d2ab08 Merge pull request #683 from ROCm-Developer-Tools/hip-float-rounded
Disable non-default-rounded functions

[ROCm/hip commit: ca6b916d15]
2018-09-24 09:32:52 +05:30
Aaron Enye Shi 8408bc5536 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.

[ROCm/hip commit: 357b6844fa]
2018-09-21 15:28:10 -04:00
Maneesh Gupta d98ef3cc48 Update hipTestFMA.cpp
[ROCm/hip commit: 255589ae15]
2018-09-21 11:00:08 +05:30
Aaron Enye Shi 6efd97931c 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.

[ROCm/hip commit: c11220f224]
2018-09-20 16:33:32 -04:00
Maneesh Gupta 8431e3620a Update hipTestFMA.cpp
Fix the test so that it works on nvcc path as well.

[ROCm/hip commit: ecd6a212c7]
2018-09-20 11:23:51 +05:30
Yaxun Sam Liu 2d4040f75d Add fma function with float and _Float16 arguments
[ROCm/hip commit: bd622a4b4a]
2018-09-19 09:59:33 -04:00
Rahul Garg 67463a8f8d Fixed get alignment offset test for NVCC
- Removed dtest hipGetAlgntoffset2D.cpp
- hipGetTextureAlignmentOffset is being tested now in hipBindTexRef1DFetch.cpp


[ROCm/hip commit: 8da3a96f2b]
2018-09-18 14:10:03 +05:30
Maneesh Gupta 5947c0e94d [dests] Fix hipTestClock, hipTestNew & hipTestGlobalVariable tests for nvcc
nvcc does not support global kernels in struct/class

Change-Id: I2d7297e0c3725564215e20dbdd31c0bb8d7a07de


[ROCm/hip commit: cca2c5afc8]
2018-09-17 15:32:05 +05:30
Maneesh Gupta e14fc1c65e [dtests] Fix deviceLib/hipSimpleAtomicsTest for nvcc
Change-Id: I23cbea2820d41da6f6a1bcab4bc3b59ac21799dd


[ROCm/hip commit: 94a0589eb5]
2018-09-17 15:26:45 +05:30
Maneesh Gupta 6b8913d4e5 [dtests] Fix deviceLib/hipTestIncludeMath on nvcc path
Change-Id: Ifb121886bec6c1134e98bd194ff1713f28454d33


[ROCm/hip commit: 0b211bb429]
2018-09-17 15:15:49 +05:30
Alex Voicu 312d29ebaf Align with HC Next.
[ROCm/hip commit: c6720e882b]
2018-09-17 11:50:29 +03:00
Maneesh Gupta fdeb1f029d Merge pull request #606 from ROCm-Developer-Tools/add-test-global-var
Add HIP directed test hipTestGlobalVariable.cpp

[ROCm/hip commit: 30b1494c3d]
2018-09-17 11:11:51 +05:30
Maneesh Gupta 4a671abf13 Merge branch 'master' into support-malloc
[ROCm/hip commit: 66f863d1f3]
2018-09-17 10:17:25 +05:30
Maneesh Gupta 1d815add43 Merge pull request #639 from ROCm-Developer-Tools/skudchad-hip
Check for hipEnvVar at the same level if directed_tests location fails

[ROCm/hip commit: 48cc4f0d9e]
2018-09-16 18:31:37 +05:30
Maneesh Gupta 4a39405b64 Revert changes to runtime/stream/hipStreamSync2
[ROCm/hip commit: 9b2107749c]
2018-09-15 13:23:38 +05:30
Maneesh Gupta aef0245f90 Merge pull request #650 from ROCm-Developer-Tools/hip-clang-new
Support placement new in hip-clang

[ROCm/hip commit: cb348421d7]
2018-09-15 11:21:01 +05:30
Maneesh Gupta 5d1cad97bd Merge pull request #658 from phani544/hipClangFrndClass
[HIP-Clang]Add friend class/function test

[ROCm/hip commit: 87bf9aa9d1]
2018-09-14 08:59:40 +05:30
fpadmin 9073495700 [HIP-Clang]Add friend class/function test
[ROCm/hip commit: a8bc26344f]
2018-09-05 11:48:49 +05:30
Yaxun (Sam) Liu 747af80a5b Support placement new in hip-clang
[ROCm/hip commit: 338eaefa84]
2018-09-04 16:53:46 -04:00
Maneesh Gupta be7f89f25e Merge pull request #657 from yxsamliu/fix-clz
Fix ambiguity of __clz and __clzll

[ROCm/hip commit: a3a93a68d4]
2018-09-03 16:34:42 +05:30
Maneesh Gupta f219b3fa35 Merge pull request #651 from yxsamliu/hip-clang-clock
Add clock() and clock64()

[ROCm/hip commit: 7459defec1]
2018-09-03 16:32:30 +05:30