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
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
4a671abf13
Merge branch 'master' into support-malloc
...
[ROCm/hip commit: 66f863d1f3 ]
2018-09-17 10:17:25 +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
Yaxun Sam Liu
275d66917e
Fix ambiguity of __clz and __clzll
...
[ROCm/hip commit: 11c91c2fdd ]
2018-08-31 18:07:57 -04:00
Aaron Enye Shi
1a34cbc1c4
Remove testing bitinsert/extract on nvcc path
...
[ROCm/hip commit: bbcb3fa0c0 ]
2018-08-29 15:29:53 +00:00
Yaxun Sam Liu
c1ab349fc7
Add clock() and clock64()
...
[ROCm/hip commit: 1f74a66bea ]
2018-08-29 10:51:00 -04:00
Aaron Enye Shi
31a34f6804
Add tests for bitextract and bitinsert
...
[ROCm/hip commit: 5893bbc1f4 ]
2018-08-28 20:01:54 +00:00
Yaxun Sam Liu
9c2a33b5c9
Fix __HIP_ARCH_* not defined after including math_functions.h
...
hcc_detail/math_functions.h used to include hcc_detail/hip_runtime.h.
Removing it has caused regression in TensorFlow 1.8.
Put it back for backward compatibiliity.
[ROCm/hip commit: b8a0c14171 ]
2018-08-08 08:55:28 -04:00
Yaxun Sam Liu
735e7ac097
Fix __HIP_DEVICE_COMPILE__ not defined when hip/math_functions.h is included
...
This fixes build failure in TensorFlow 1.8 for HCC
[ROCm/hip commit: 450ea49df0 ]
2018-08-07 17:14:39 -04:00
Yaxun Sam Liu
fd1b704358
Fix declaration conflict when hip/math_functions.h is included first
...
This fixes build failure in TensorFlow 1.8 for HCC
[ROCm/hip commit: dacb18414e ]
2018-08-07 15:44:59 -04:00
Yaxun Sam Liu
cedd18a317
Do not use std::complex in test hipDeviceMalloc
...
[ROCm/hip commit: f06894e2f0 ]
2018-07-27 17:07:00 -04:00
Yaxun Sam Liu
da2fd69c44
Fix thread index calculation in __hip_malloc
...
[ROCm/hip commit: 03320890de ]
2018-07-27 16:24:51 -04:00
Yaxun Sam Liu
289bfe5f95
Support malloc/free for hip-clang
...
[ROCm/hip commit: 02d0e93601 ]
2018-07-27 16:24:51 -04:00
Brian Sumner
94afa0fc08
Drop use of NVCC_COMPAT since it is always set
...
[ROCm/hip commit: 71f96388ed ]
2018-07-27 09:29:29 -07:00
Maneesh Gupta
80d90da294
Merge pull request #595 from mangupta/patch4-fixhipStdComplex
...
[tests] Fixed build & disabled run of hipStdComplex on nvcc path
[ROCm/hip commit: 90a192661c ]
2018-07-26 06:17:04 +05:30
Maneesh Gupta
ceacd2f23d
[tests] Fixed build & disabled run of hipStdComplex on nvcc path
...
Change-Id: I885e96902faa065f6559183f33b6a7aa1f37e393
[ROCm/hip commit: 9d8dd3a4e6 ]
2018-07-25 15:39:45 +05:30
Aaron Enye Shi
fea10ee7cd
Fix return EXIT_FAILURE if ballot or anyall fails
...
[ROCm/hip commit: 2b73bccbef ]
2018-07-24 20:39:48 +00:00
Maneesh Gupta
9648844caf
Merge pull request #543 from ROCm-Developer-Tools/add-std-complex
...
Support std::complex for hip-clang
[ROCm/hip commit: 12202dae90 ]
2018-07-19 07:14:45 +05:30
Yaxun Sam Liu
d2c89a438e
Fix test hipStdComplex.cpp to emit expected output for passing
...
[ROCm/hip commit: 39374f4208 ]
2018-07-18 07:21:24 -04:00
Yaxun (Sam) Liu
30e14f699b
Support std::complex for hip-clang
...
[ROCm/hip commit: 80438035c2 ]
2018-07-18 00:08:04 -04:00
Alex Voicu
4e10fc0c7d
And a few more oversights.
...
[ROCm/hip commit: 05ecc35825 ]
2018-07-17 19:33:13 +01:00
Alex Voicu
91cc897d80
Constrain variadic constructor to ranks > 1 and add missing __device__s
...
[ROCm/hip commit: 96aa6e22ee ]
2018-07-17 17:18:45 +01:00
Maneesh Gupta
d24617e118
Merge branch 'master' into feature_native_vector_types
...
Change-Id: I943b94ee230871a960d8f9c321ad5e096183b415
[ROCm/hip commit: fb5199dee6 ]
2018-07-17 09:51:22 +05:30
Maneesh Gupta
d655537bc6
Merge pull request #515 from ROCm-Developer-Tools/hipclang-add-amdgcn-funcs
...
Add hipclang amdgcn functions
[ROCm/hip commit: fbbe2599dd ]
2018-07-17 09:25:09 +05:30
Alex Voicu
b47b4c771d
Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_native_vector_types
...
[ROCm/hip commit: fe289dbebe ]
2018-07-15 11:44:48 +01:00
Aaron Enye Shi
9998b882bb
Fix hip_mbcnt test typo
...
Ctest did not catch this test failure. When running this test manually before typo, I got __mbcnt_hi() FAILED! . This fix will fix this test for HCC and HIP clang path.
[ROCm/hip commit: aa05779c64 ]
2018-07-06 11:26:48 -04:00
Aaron Enye Shi
17453a6278
Implement hip_ldg Functions into HIP header
...
Move all the function definitions for hip_ldg.cpp into hip_ldg.h header and enable for HIP clang path.
[ROCm/hip commit: 76f86ef097 ]
2018-07-05 20:38:46 +00:00
Alex Voicu
d66f337df9
Add scalar operands and fix C implementation.
...
[ROCm/hip commit: b3e6fcdf18 ]
2018-06-29 05:23:49 +01:00
Alex Voicu
51c5249b40
Let's try this again...
...
[ROCm/hip commit: 9d91b802a5 ]
2018-06-25 17:49:50 +01:00
Alex Voicu
5da1ca5db7
Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_native_vector_types
...
[ROCm/hip commit: 859133a045 ]
2018-06-22 12:19:32 +01:00
Maneesh Gupta
27e2af1773
Merge pull request #490 from ROCm-Developer-Tools/feature_decouple_atomics_from_hc
...
Switch the atomic implementation to use Clang builtins.
[ROCm/hip commit: 946c8da88a ]
2018-06-20 14:16:43 +05:30
Alex Voicu
8d9917f199
Revert "Revert "Switch over to using native vector types, for better codegen. Remove noise.""
...
This reverts commit 3792417463 .
[ROCm/hip commit: 28a1aef8a1 ]
2018-06-16 22:59:36 +01:00
Siu Chi Chan
3792417463
Revert "Switch over to using native vector types, for better codegen. Remove noise."
...
[ROCm/hip commit: 7a4aace13d ]
2018-06-08 16:48:22 -04:00
Alex Voicu
f7fd20ec17
Switch the atomic implementation to use Clang builtins.
...
[ROCm/hip commit: 089ab3b947 ]
2018-06-02 12:27:17 +01:00
Alex Voicu
b9bf931765
Re-sync with upstream.
...
[ROCm/hip commit: 417869821d ]
2018-06-01 15:49:05 +01:00
Maneesh Gupta
121993cae8
Merge pull request #447 from ROCm-Developer-Tools/feature_native_vector_types
...
Switch over to using native vector types, for better codegen. Remove noise.
[ROCm/hip commit: 68c36f9125 ]
2018-06-01 13:58:07 +05:30
Alex Voicu
63c8aa6fcb
Re-sync with upstream. Add integer abs.
...
[ROCm/hip commit: ab4b2a650b ]
2018-05-31 16:38:00 +01:00
Alex Voicu
90e7799bf4
Add missing interop with volatile. Fix unit tests.
...
[ROCm/hip commit: 0108819e2a ]
2018-05-31 15:27:12 +01:00
Alex Voicu
1d220f8867
Switch to using ROCDL directly, as opposed to via HC. Add missing bits.
...
[ROCm/hip commit: 59db16fd36 ]
2018-05-31 03:17:26 +01:00