Commit Graph

525 Commits

Author SHA1 Message Date
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
Maneesh Gupta b54be20b05 Merge pull request #482 from ROCm-Developer-Tools/feature_clean_up_hip_math
Switch to using ROCDL directly, as opposed to via HC. Add missing bits.

[ROCm/hip commit: 203dd6cb70]
2018-06-06 16:07:22 +05:30
Maneesh Gupta bcab16f2c9 Merge pull request #489 from gargrahul/add_dev_prop_integrated
Add integrated device property

[ROCm/hip commit: 391ff1c949]
2018-06-06 14:31:30 +05:30
Alex Voicu f7fd20ec17 Switch the atomic implementation to use Clang builtins.
[ROCm/hip commit: 089ab3b947]
2018-06-02 12:27:17 +01:00
Rahul Garg 07115e0c02 Add integrated device property
[ROCm/hip commit: 1a02bc364f]
2018-06-02 13:11:16 +05:30
Rahul Garg 49e6de2f3e Fix surface 2d object test for testResult
[ROCm/hip commit: 7a091ed8e9]
2018-06-02 10:58:03 +05:30
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
Maneesh Gupta 7f9b00ba19 Merge pull request #466 from ROCm-Developer-Tools/feature_use_Float16
Feature use _Float16 and match CUDA __half behaviour.

[ROCm/hip commit: bdf2645713]
2018-06-01 13:50:12 +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
Rahul Garg c7d6ef2219 Fixed texture obj 1Dfetch test
[ROCm/hip commit: 5ae6d93526]
2018-05-30 21:54:51 +05:30
Maneesh Gupta c9b0c7620c Merge pull request #477 from mangupta/hipfuncgetattr_nvcc
Add signature for hipFuncGetAttributes to nvcc_details

[ROCm/hip commit: 59d849a643]
2018-05-30 12:29:03 +05:30
Rahul Garg d2e80db680 Fixed tex1dFetch test
[ROCm/hip commit: e8f3381997]
2018-05-30 11:42:01 +05:30
Maneesh Gupta 9d97f114b7 [dtests] Fix nvcc path build errors in hipFuncGetAttributes.tst
Change-Id: I000bed69162897f7b6edd733ed6e9acc93beb0ed


[ROCm/hip commit: 8b93cd67a6]
2018-05-30 11:26:11 +05:30
Rahul Garg ecf51641e3 Fix runTest return type
[ROCm/hip commit: 7f7a7041a5]
2018-05-29 16:18:14 +05:30
Rahul Garg 56de4b168d Fix tex2D tests for result value
[ROCm/hip commit: ca156449e2]
2018-05-29 16:03:37 +05:30
lthakur d5039612f8 HIP test case for 1D texture fetch (#424)
[ROCm/hip commit: a05ac35ab1]
2018-05-29 14:08:01 +05:30
Alex Voicu 8b039f989c Move converting constructor from _Float16 under macro guard. Refactor.
[ROCm/hip commit: 0eec115bcd]
2018-05-25 19:46:41 +01:00
Alex Voicu 328e946c59 Update hipTestHalf to actually test behaviour. Add missing hipHostfree.
[ROCm/hip commit: 9948b5961e]
2018-05-24 13:55:30 +01:00
Alex Voicu 4ceb9cbc09 Missing commit.
[ROCm/hip commit: 6f819f226b]
2018-05-23 17:57:47 +01:00
Maneesh Gupta 51e2e27488 Merge pull request #445 from ROCm-Developer-Tools/feature_func_attributes
Add support for the hipFuncGetAttributes interface.

[ROCm/hip commit: df3bb9fc32]
2018-05-22 09:37:41 +05:30
Maneesh Gupta bb8918faf7 Disable incomplete unit tests that don't work on nvcc path
Change-Id: If5823ec96a3b2497a08c46ab802c5a0158271053


[ROCm/hip commit: 305592d622]
2018-05-21 11:35:03 +05:30
Maneesh Gupta 3d1d7ccf30 Merge pull request #433 from gargrahul/add_hipmemset3d
Added hipMemset3D

[ROCm/hip commit: 03ac8e6a92]
2018-05-18 14:54:15 +05:30
Maneesh Gupta 3da5fac84b Merge pull request #444 from aaronenyeshi/vg20-initial
initial gfx906 support

[ROCm/hip commit: 67d45164fa]
2018-05-18 13:18:07 +05:30
Alex Voicu 8712744ba0 Switch over to using native vector types, for better codegen. Remove noise.
[ROCm/hip commit: b8c98d2357]
2018-05-12 00:14:17 +01:00
Aaron Enye Shi 9a591d6c26 Fix hipMathFunction for gfx906
[ROCm/hip commit: 848a24b524]
2018-05-11 10:53:07 -04:00
Alex Voicu d5f965c44a Add support for the hipFuncGetAttributes interface.
[ROCm/hip commit: 13274ce559]
2018-05-11 03:35:10 +01:00
Siu Chi Chan c05e2e2261 initial gfx906 support
[ROCm/hip commit: b898049412]
2018-05-10 19:28:00 +00:00
Siu Chi Chan 923d831d5e add intrinsics mbcnt_lo, mbcnt_hi, lane_id
[ROCm/hip commit: b285145966]
2018-05-08 13:43:53 -04:00
Rahul Garg e2a2b5bdcf Added hipMemset3D
[ROCm/hip commit: da302c3e93]
2018-05-07 10:24:30 +05:30
Deven Desai 43c2724907 Fixing a copy/paste error in my previous checkin
[ROCm/hip commit: 76a7d7e374]
2018-04-27 12:59:51 +00:00
Deven Desai 2b3332ac72 Checkin to add unit tests for fixes in my previous commit
This change adds unit tests for

1. __hisinf
2. __hisnan
2. abs(long long)
3. lgamma(double)


[ROCm/hip commit: 4be4cf644f]
2018-04-25 17:53:21 +00:00
Rahul Garg e1e88f3bff Added hipMemset2DAsync support
[ROCm/hip commit: 3cfb9c0d40]
2018-04-17 18:27:27 +05:30
Rahul Garg af57c166c0 Remove textureObj kernel argument for HIP/HCC path
[ROCm/hip commit: 017a6fb059]
2018-03-28 15:36:57 +05:30
Maneesh Gupta 4f42ee762d Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344


[ROCm/hip commit: 1ba06f63c4]
2018-03-12 11:29:03 +05:30
Maneesh Gupta 52506ef382 Merge pull request #363 from gargrahul/surface_object_api
Added surface object support

[ROCm/hip commit: 18e70b1e6b]
2018-03-09 11:50:30 +05:30