Commit Graph

1126 Commits

Author SHA1 Message Date
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
Maneesh Gupta 125f6201c8 Merge pull request #466 from ROCm-Developer-Tools/feature_use_Float16
Feature use _Float16 and match CUDA __half behaviour.

[ROCm/clr commit: 8ecb3eeb55]
2018-06-01 13:50:12 +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
Rahul Garg b58a81f80e Fixed texture obj 1Dfetch test
[ROCm/clr commit: 7cfd059919]
2018-05-30 21:54:51 +05:30
Maneesh Gupta 5108258a02 Merge pull request #477 from mangupta/hipfuncgetattr_nvcc
Add signature for hipFuncGetAttributes to nvcc_details

[ROCm/clr commit: ab579ae0e3]
2018-05-30 12:29:03 +05:30
Rahul Garg 6126733ebe Fixed tex1dFetch test
[ROCm/clr commit: 3b0842e70a]
2018-05-30 11:42:01 +05:30
Maneesh Gupta cd912ecf7f [dtests] Fix nvcc path build errors in hipFuncGetAttributes.tst
Change-Id: I000bed69162897f7b6edd733ed6e9acc93beb0ed


[ROCm/clr commit: e2842f2f28]
2018-05-30 11:26:11 +05:30
Rahul Garg 914abf8c41 Fix runTest return type
[ROCm/clr commit: dabe2fda39]
2018-05-29 16:18:14 +05:30
Rahul Garg 51f21711a7 Fix tex2D tests for result value
[ROCm/clr commit: 28c878f266]
2018-05-29 16:03:37 +05:30
lthakur 53dc974461 HIP test case for 1D texture fetch (#424)
[ROCm/clr commit: 366a0a97ca]
2018-05-29 14:08:01 +05:30
Alex Voicu 7a480af716 Move converting constructor from _Float16 under macro guard. Refactor.
[ROCm/clr commit: 40dad93426]
2018-05-25 19:46:41 +01:00
Alex Voicu bfbc4f6587 Update hipTestHalf to actually test behaviour. Add missing hipHostfree.
[ROCm/clr commit: 59a046dd2d]
2018-05-24 13:55:30 +01:00
Alex Voicu 2b16b4e31b Missing commit.
[ROCm/clr commit: ecefdd6541]
2018-05-23 17:57:47 +01:00
Maneesh Gupta e72516bd2f Merge pull request #445 from ROCm-Developer-Tools/feature_func_attributes
Add support for the hipFuncGetAttributes interface.

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


[ROCm/clr commit: 92d8e05aa0]
2018-05-21 11:35:03 +05:30
Maneesh Gupta 106f3f591e Merge pull request #433 from gargrahul/add_hipmemset3d
Added hipMemset3D

[ROCm/clr commit: 1c93e11cdf]
2018-05-18 14:54:15 +05:30
Maneesh Gupta 0d0992b868 Merge pull request #444 from aaronenyeshi/vg20-initial
initial gfx906 support

[ROCm/clr commit: 3638bb5b1c]
2018-05-18 13:18:07 +05:30
Alex Voicu 3dd565a6d7 Switch over to using native vector types, for better codegen. Remove noise.
[ROCm/clr commit: fcce9f5337]
2018-05-12 00:14:17 +01:00
Aaron Enye Shi 3d3356a2ed Fix hipMathFunction for gfx906
[ROCm/clr commit: 4488f9f7a7]
2018-05-11 10:53:07 -04:00
Alex Voicu 4e6996282d Add support for the hipFuncGetAttributes interface.
[ROCm/clr commit: bf9529aaa8]
2018-05-11 03:35:10 +01:00
Siu Chi Chan 04bf6c5109 initial gfx906 support
[ROCm/clr commit: 368affcea4]
2018-05-10 19:28:00 +00:00
Siu Chi Chan 16d8a56909 add intrinsics mbcnt_lo, mbcnt_hi, lane_id
[ROCm/clr commit: 4f12ddea8f]
2018-05-08 13:43:53 -04:00
Rahul Garg a7be5be448 Added hipMemset3D
[ROCm/clr commit: 78568435da]
2018-05-07 10:24:30 +05:30
emankov 98ca496432 [HIPIFY][test] Undo commit "Apply .clangformat to all repo source files"
Commit broke tests due to code and comments formatting changes, thus FileCheck fails on checks, which are in comments.


[ROCm/clr commit: 0d756720b2]
2018-05-04 22:23:16 +03:00
emankov 0cfb3e3ecd [HIPIFY] Initial cuDNN support
- based on https://github.com/ROCmSoftwarePlatform/hipDNN.
- lit testing was supplemented with CUDA_DNN_ROOT_DIR for cudnn testing.
- single cuDNN test was added.


[ROCm/clr commit: 3958e930ab]
2018-05-02 22:11:05 +03:00
Deven Desai 24c4daedc4 Fixing a copy/paste error in my previous checkin
[ROCm/clr commit: 30f0c19cf1]
2018-04-27 12:59:51 +00:00
Deven Desai 9946827d1b 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/clr commit: 76e808304c]
2018-04-25 17:53:21 +00:00
Rahul Garg 39a19cc9e8 Added hipMemset2DAsync support
[ROCm/clr commit: fcc0866681]
2018-04-17 18:27:27 +05:30
Rahul Garg 897b8b48f5 Remove textureObj kernel argument for HIP/HCC path
[ROCm/clr commit: 35bc23ecc3]
2018-03-28 15:36:57 +05:30
Maneesh Gupta 46ddefedee Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344


[ROCm/clr commit: 9e47fccc89]
2018-03-12 11:29:03 +05:30
Maneesh Gupta ecbb701440 Merge pull request #363 from gargrahul/surface_object_api
Added surface object support

[ROCm/clr commit: eee7fa6072]
2018-03-09 11:50:30 +05:30
Rahul Garg 5f63267327 Add surface object API 2D test
[ROCm/clr commit: 919eb74a93]
2018-03-04 22:49:23 +05:30
Alex Voicu 4e8e090839 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
[ROCm/clr commit: 1563d53c92]
2018-02-22 12:08:52 +00:00
Maneesh Gupta b73c021c8f Merge pull request #303 from phani544/nvccTests3
[nvccTests] Enable hipPeerToPeer_simple on nvcc

[ROCm/clr commit: 60bda80014]
2018-02-14 12:47:23 +05:30
Maneesh Gupta e24c6ff5f9 [dtests] Fix HIT block in hipPeerToPeer_simple.cpp
[ROCm/clr commit: cd71f55fd7]
2018-02-14 09:13:50 +05:30
Alex Voicu eab8624938 Re-sync with upstream.
[ROCm/clr commit: a704bd8b44]
2018-02-12 20:20:24 +00:00
Maneesh Gupta b91b2601f3 Merge pull request #299 from mangupta/hipStreamAddCallback
Implement hipStreamAddCallback

[ROCm/clr commit: 8359c2eb5a]
2018-02-02 08:32:41 +05:30
Evgeny Mankov a17cfac3ff [HIPIFY][tests] Add coalescing.cu test
[ROCm/clr commit: e98ee1d627]
2018-02-01 19:41:36 +03:00
Evgeny Mankov 180cf3f29c [HIPIFY][tests] Add vec_add.cu test
[ROCm/clr commit: f7fb6e2199]
2018-02-01 18:34:16 +03:00
Evgeny Mankov d7d35ed98c [HIPIFY][tests] add new line at the end of file
[ROCm/clr commit: 91ef7b50e5]
2018-02-01 17:36:45 +03:00
Evgeny Mankov 3976fbfe15 [HIPIFY][tests] Add intro.cu test
[ROCm/clr commit: 7d71dfd1f7]
2018-02-01 17:07:48 +03:00
Maneesh Gupta 469ffecc71 hipStreamAddCallback.cpp: Replace unistd sleep with sleep_for
Change-Id: I7a5d40a1acd8be76a0f175bcfa731ad89fb88d81


[ROCm/clr commit: 3aab52d7cc]
2018-01-31 10:48:17 +05:30
Evgeny Mankov 2a1267bd43 [HIPIFY][tests] add poisson-api-example test
+ add missing types
+ doc update


[ROCm/clr commit: eef94a74bc]
2018-01-30 19:50:18 +03:00
Evgeny Mankov ea60d1daec [HIPIFY][tests] fix typo
[ROCm/clr commit: 2ae2693c8a]
2018-01-30 18:55:09 +03:00
Maneesh Gupta b2bb274b7e Fix hipStreamAddCallback testcase for nvcc
Change-Id: Ieec4b8d7933d8d68394d21d27132da206111efc8


[ROCm/clr commit: 6a37c60eaa]
2018-01-30 12:32:46 +05:30
Evgeny Mankov 2583a716a7 [HIPIFY] InclusionDirective refactoring
Due to support of cuRAND headers.

+ compound test on all headers is added;
+ missing entities are added with updating the doc;
+ a couple cuRAND tests are added (https://github.com/ROCmSoftwarePlatform/rocRAND/tree/master/benchmark):
  - the following CUDA entities are still unsupported by hipRAND:
      curandMakeMTGP32Constants
      curandMakeMTGP32KernelState
      curandGetDirectionVectors32
      curandDirectionVectorSet_t
      CURAND_DIRECTION_VECTORS_32_JOEKUO6
      curandStateSobol64_t
      curandStateScrambledSobol64_t
      curandGenerateLongLong
  - and the following - by HIP:
      cudaRuntimeGetVersion
  - those entities are handled by CHECK-NOT directive for now.


[ROCm/clr commit: 58f2d3c93f]
2018-01-29 18:33:47 +03:00
Evgeny Mankov f33c431dd9 [HIPIFY][tests][win] Make cudaRegister.cu building on Windows as well
[ROCm/clr commit: 4df35f4c77]
2018-01-24 20:13:23 +03:00