Граф коммитов

142 Коммитов

Автор SHA1 Сообщение Дата
Aaron Enye Shi 20e9391cfb Use trig functions from ocml instead
[ROCm/clr commit: 04ed44f074]
2018-09-25 15:58:36 +00:00
Aaron Enye Shi 4bbfaf06b5 Fix missing HIP_ASSERT in hip_trig
[ROCm/clr commit: bc5de031a5]
2018-09-24 15:01:24 +00:00
Aaron Enye Shi f4fc30ccc7 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/clr commit: afef6a3ece]
2018-09-21 15:28:10 -04:00
Maneesh Gupta 203e3dd5d5 Update hipTestFMA.cpp
[ROCm/clr commit: a4bdbe0aaf]
2018-09-21 11:00:08 +05:30
Maneesh Gupta f742125288 Update hipTestFMA.cpp
Fix the test so that it works on nvcc path as well.

[ROCm/clr commit: e614aac0da]
2018-09-20 11:23:51 +05:30
Yaxun Sam Liu a7b03bee08 Add fma function with float and _Float16 arguments
[ROCm/clr commit: a8bed200b7]
2018-09-19 09:59:33 -04:00
Maneesh Gupta 0bae7eaad3 [dests] Fix hipTestClock, hipTestNew & hipTestGlobalVariable tests for nvcc
nvcc does not support global kernels in struct/class

Change-Id: I2d7297e0c3725564215e20dbdd31c0bb8d7a07de


[ROCm/clr commit: f63ffaf6e5]
2018-09-17 15:32:05 +05:30
Maneesh Gupta 6e7f871105 [dtests] Fix deviceLib/hipSimpleAtomicsTest for nvcc
Change-Id: I23cbea2820d41da6f6a1bcab4bc3b59ac21799dd


[ROCm/clr commit: 7066147760]
2018-09-17 15:26:45 +05:30
Maneesh Gupta 51f5e9ea04 [dtests] Fix deviceLib/hipTestIncludeMath on nvcc path
Change-Id: Ifb121886bec6c1134e98bd194ff1713f28454d33


[ROCm/clr commit: 644fc85a37]
2018-09-17 15:15:49 +05:30
Maneesh Gupta 20abaa15c4 Merge branch 'master' into support-malloc
[ROCm/clr commit: b23609ad42]
2018-09-17 10:17:25 +05:30
Yaxun (Sam) Liu dabbf3771b Support placement new in hip-clang
[ROCm/clr commit: cc0fbc0e2e]
2018-09-04 16:53:46 -04:00
Maneesh Gupta 7891e7423d Merge pull request #657 from yxsamliu/fix-clz
Fix ambiguity of __clz and __clzll

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

[ROCm/clr commit: d515998ac4]
2018-09-03 16:32:30 +05:30
Yaxun Sam Liu 1da85d8537 Fix ambiguity of __clz and __clzll
[ROCm/clr commit: 701519d27d]
2018-08-31 18:07:57 -04:00
Aaron Enye Shi 31864c4973 Remove testing bitinsert/extract on nvcc path
[ROCm/clr commit: ecfb2bdeba]
2018-08-29 15:29:53 +00:00
Yaxun Sam Liu 137880f369 Add clock() and clock64()
[ROCm/clr commit: 0f4546deca]
2018-08-29 10:51:00 -04:00
Aaron Enye Shi 7801c309b3 Add tests for bitextract and bitinsert
[ROCm/clr commit: 622342f01d]
2018-08-28 20:01:54 +00:00
Yaxun Sam Liu d3295e61e2 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/clr commit: 87de95975a]
2018-08-08 08:55:28 -04:00
Yaxun Sam Liu 6e153a743f Fix __HIP_DEVICE_COMPILE__ not defined when hip/math_functions.h is included
This fixes build failure in TensorFlow 1.8 for HCC


[ROCm/clr commit: 058eb7535b]
2018-08-07 17:14:39 -04:00
Yaxun Sam Liu 6df5aef807 Fix declaration conflict when hip/math_functions.h is included first
This fixes build failure in TensorFlow 1.8 for HCC


[ROCm/clr commit: 69bbf45b44]
2018-08-07 15:44:59 -04:00
Yaxun Sam Liu d539617d9b Do not use std::complex in test hipDeviceMalloc
[ROCm/clr commit: fc1ed91ddb]
2018-07-27 17:07:00 -04:00
Yaxun Sam Liu ea77788a5f Fix thread index calculation in __hip_malloc
[ROCm/clr commit: f08f26942c]
2018-07-27 16:24:51 -04:00
Yaxun Sam Liu 9a4744566f Support malloc/free for hip-clang
[ROCm/clr commit: d17dc21c9c]
2018-07-27 16:24:51 -04:00
Brian Sumner beb7f13068 Drop use of NVCC_COMPAT since it is always set
[ROCm/clr commit: 8d80abb30f]
2018-07-27 09:29:29 -07:00
Maneesh Gupta 951d920990 Merge pull request #595 from mangupta/patch4-fixhipStdComplex
[tests] Fixed build & disabled run of hipStdComplex on nvcc path

[ROCm/clr commit: 86188f04c8]
2018-07-26 06:17:04 +05:30
Maneesh Gupta 7033561423 [tests] Fixed build & disabled run of hipStdComplex on nvcc path
Change-Id: I885e96902faa065f6559183f33b6a7aa1f37e393


[ROCm/clr commit: 843020bfe6]
2018-07-25 15:39:45 +05:30
Aaron Enye Shi 6353687511 Fix return EXIT_FAILURE if ballot or anyall fails
[ROCm/clr commit: 8ab8a37812]
2018-07-24 20:39:48 +00:00
Maneesh Gupta 746e56a61b Merge pull request #543 from ROCm-Developer-Tools/add-std-complex
Support std::complex for hip-clang

[ROCm/clr commit: 5632faf928]
2018-07-19 07:14:45 +05:30
Yaxun Sam Liu b425c11139 Fix test hipStdComplex.cpp to emit expected output for passing
[ROCm/clr commit: e20e93db65]
2018-07-18 07:21:24 -04:00
Yaxun (Sam) Liu dc1257a16c Support std::complex for hip-clang
[ROCm/clr commit: a8dc1257df]
2018-07-18 00:08:04 -04:00
Alex Voicu 48de002fb4 And a few more oversights.
[ROCm/clr commit: 7020d118da]
2018-07-17 19:33:13 +01:00
Alex Voicu 79fb5e9694 Constrain variadic constructor to ranks > 1 and add missing __device__s
[ROCm/clr commit: 31efcc17d7]
2018-07-17 17:18:45 +01:00
Maneesh Gupta 112c945016 Merge branch 'master' into feature_native_vector_types
Change-Id: I943b94ee230871a960d8f9c321ad5e096183b415


[ROCm/clr commit: 9e142ea66a]
2018-07-17 09:51:22 +05:30
Maneesh Gupta 8eeb225c04 Merge pull request #515 from ROCm-Developer-Tools/hipclang-add-amdgcn-funcs
Add hipclang amdgcn functions

[ROCm/clr commit: 7d8c1ae761]
2018-07-17 09:25:09 +05:30
Alex Voicu 438a2c1fb9 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_native_vector_types
[ROCm/clr commit: a2b6508912]
2018-07-15 11:44:48 +01:00
Aaron Enye Shi 783b5e2418 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/clr commit: 757eeccdc7]
2018-07-06 11:26:48 -04:00
Aaron Enye Shi eab9cacef2 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/clr commit: d39508b4fd]
2018-07-05 20:38:46 +00:00
Alex Voicu 7f4b5810bf Add scalar operands and fix C implementation.
[ROCm/clr commit: f931980a6a]
2018-06-29 05:23:49 +01:00
Alex Voicu 89d6db12fe Let's try this again...
[ROCm/clr commit: 3ff1d4081e]
2018-06-25 17:49:50 +01:00
Alex Voicu 8b9ac66103 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_native_vector_types
[ROCm/clr commit: 0e0d43bfe1]
2018-06-22 12:19:32 +01:00
Maneesh Gupta bdc67ac1b4 Merge pull request #490 from ROCm-Developer-Tools/feature_decouple_atomics_from_hc
Switch the atomic implementation to use Clang  builtins.

[ROCm/clr commit: d27991e1c8]
2018-06-20 14:16:43 +05:30
Alex Voicu 58edb652ca Revert "Revert "Switch over to using native vector types, for better codegen. Remove noise.""
This reverts commit c1cd1513aa.


[ROCm/clr commit: fa370fcf19]
2018-06-16 22:59:36 +01:00
Siu Chi Chan c1cd1513aa Revert "Switch over to using native vector types, for better codegen. Remove noise."
[ROCm/clr commit: d137271083]
2018-06-08 16:48:22 -04:00
Alex Voicu 43a5f04e9c Switch the atomic implementation to use Clang builtins.
[ROCm/clr commit: 513ba4eb8a]
2018-06-02 12:27:17 +01:00
Alex Voicu 130e9d409e Re-sync with upstream.
[ROCm/clr commit: f2d7f112ab]
2018-06-01 15:49:05 +01:00
Maneesh Gupta 2a9a7b9aa3 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/clr commit: 3fec282097]
2018-06-01 13:58:07 +05:30
Alex Voicu a9cabfc8df Re-sync with upstream. Add integer abs.
[ROCm/clr commit: e03ca1a72e]
2018-05-31 16:38:00 +01:00
Alex Voicu 840d5c5fe0 Add missing interop with volatile. Fix unit tests.
[ROCm/clr commit: 208f5a41c6]
2018-05-31 15:27:12 +01:00
Alex Voicu 2924783ee4 Switch to using ROCDL directly, as opposed to via HC. Add missing bits.
[ROCm/clr commit: 14e6a04387]
2018-05-31 03:17:26 +01:00
Alex Voicu 7a480af716 Move converting constructor from _Float16 under macro guard. Refactor.
[ROCm/clr commit: 40dad93426]
2018-05-25 19:46:41 +01:00