Commit Graph

121 Commits

Author SHA1 Message Date
Maneesh Gupta 54c72c1079 Update hipMemset.cpp
Address build issues on nvcc path.

[ROCm/hip commit: 51f29b9cee]
2019-03-05 12:11:11 +05:30
Wen-Heng (Jack) Chung 085c6c15b2 Add direct test for hipMemsetD32 and hipMemsetD32Async
[ROCm/hip commit: bfde8a7fab]
2019-03-04 17:20:32 +00:00
Rahul Garg 7a9ebee08a Fix review comments
[ROCm/hip commit: 131c0ea326]
2019-03-02 23:38:37 +05:30
Rahul Garg 4093c03dd7 Fix hipMemset test for HIP/NVCC
[ROCm/hip commit: 77c6d5451f]
2019-03-01 03:46:57 +05:30
Rahul Garg fa0c9d8a73 Update hipMemset test
[ROCm/hip commit: 026dc9457e]
2019-02-28 06:54:49 +05:30
Rahul Garg 42a683e159 Remove redundant arguments from hipMemset3D test
[ROCm/hip commit: 4272119eeb]
2018-12-20 06:51:22 +05:30
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 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
Alex Voicu 312d29ebaf Align with HC Next.
[ROCm/hip commit: c6720e882b]
2018-09-17 11:50:29 +03:00
Maneesh Gupta 4a39405b64 Revert changes to runtime/stream/hipStreamSync2
[ROCm/hip commit: 9b2107749c]
2018-09-15 13:23:38 +05:30
Saleel Kudchadker eb251f6a4e Fix record_event and hipStreamSync2 tests. The test should expect null stream to complete if synchrionize is called as per the spec
[ROCm/hip commit: 1daee67eb6]
2018-08-31 12:54:23 -07:00
saleelk 428120f219 Fix hipHostRegister mem leak and copy kind in hipMemcpyAsync (#587)
[ROCm/hip commit: 8bc73424d1]
2018-07-23 11:04:14 +05:30
Rahul Garg 14c424827b Cleaned up hipMemset3D test
[ROCm/hip commit: 18944113ed]
2018-07-06 14:54:08 +05:30
Rahul Garg 07115e0c02 Add integrated device property
[ROCm/hip commit: 1a02bc364f]
2018-06-02 13:11:16 +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
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
Alex Voicu d5f965c44a Add support for the hipFuncGetAttributes interface.
[ROCm/hip commit: 13274ce559]
2018-05-11 03:35:10 +01:00
Rahul Garg e2a2b5bdcf Added hipMemset3D
[ROCm/hip commit: da302c3e93]
2018-05-07 10:24:30 +05:30
Rahul Garg e1e88f3bff Added hipMemset2DAsync support
[ROCm/hip commit: 3cfb9c0d40]
2018-04-17 18:27:27 +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
Alex Voicu 3afca75a71 Re-sync with upstream.
[ROCm/hip commit: baf50a5311]
2018-02-12 20:20:24 +00:00
Maneesh Gupta 7ca125afad Merge pull request #299 from mangupta/hipStreamAddCallback
Implement hipStreamAddCallback

[ROCm/hip commit: f421f2fe0a]
2018-02-02 08:32:41 +05:30
Maneesh Gupta c1f3d1409c hipStreamAddCallback.cpp: Replace unistd sleep with sleep_for
Change-Id: I7a5d40a1acd8be76a0f175bcfa731ad89fb88d81


[ROCm/hip commit: e0b91d32dd]
2018-01-31 10:48:17 +05:30
Maneesh Gupta 1429c44459 Fix hipStreamAddCallback testcase for nvcc
Change-Id: Ieec4b8d7933d8d68394d21d27132da206111efc8


[ROCm/hip commit: 5bce9ea5ef]
2018-01-30 12:32:46 +05:30
Alex Voicu abb22cc7f2 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
[ROCm/hip commit: ed75522ba5]
2018-01-17 14:02:19 +00:00
Phaneendr-kumar Lanka 23ca29818d [nvcc] Enable hipGetDeviceAttribute
[ROCm/hip commit: e9f9456166]
2018-01-10 10:51:01 +05:30
Maneesh Gupta 02bedf46dc Implement hipStreamAddCallback
Change-Id: Ib851e4d86ba9c8406ca37b88162ea483ccbc9d36


[ROCm/hip commit: cebb070d30]
2017-12-19 16:06:14 +05:30
Phaneendr-kumar Lanka e2487a261e [nvccTests] Resubmit hipMemcpyDtoD & inline_asm_vadd
[ROCm/hip commit: 7cceebd9ed]
2017-12-18 14:46:19 +05:30
Alex Voicu 044ae14b92 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
[ROCm/hip commit: e14ac87474]
2017-12-14 13:50:49 +00:00
Phaneendr-kumar Lanka f8d610cf61 [nvccWarnings] Fix warnings seen with dtests on nvcc path
[ROCm/hip commit: eea7d495c7]
2017-12-14 14:10:37 +05:30
Alex Voicu 56fd7f129a This introduces LipoProteinLipase (lpl), a simple tool for creating fat binaries. It represents a direct replacement of the creaky hccgenco.sh script, which had various issues. The format it uses is that of a code object bundle, generated by the Clang Offload Bundler. The output is always suffixed with the ".adipose" extension. It is shared with HCC. The hipcc script and associated tests are modified to use lpl. Help can be obtained by invoking lpl --help. A more computer-sciency / corporate friendly name is likely to be beneficial, which is a reason for choosing easily searchable/replaceable names such as lpl or adipose.
[ROCm/hip commit: b842394957]
2017-12-08 04:22:57 +00:00
Rahul Garg 89d9f8ae1c Fix hipGetDeviceAttribute dtest for HIP/NVCC
[ROCm/hip commit: 0782c52271]
2017-12-06 15:49:06 +05:30
Ben Sander 8ef230eaaf Temporarily disable a couple tests pending some HCC work
[ROCm/hip commit: 62cbe22d50]
2017-12-01 21:46:28 +00:00
Alex Voicu 8d51eaafb6 Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
This reverts commit 1c50968


[ROCm/hip commit: 32e11e7dc6]
2017-11-29 21:49:10 +00:00
Alex Voicu fcc42f035e Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
This reverts commit d2fd1f5


[ROCm/hip commit: fbaf729f88]
2017-11-29 21:36:29 +00:00
Alex Voicu 3c936777aa Re-sync with upstream.
[ROCm/hip commit: c5f2b22d0d]
2017-11-20 15:34:50 +00:00
Ben Sander 64a169fd5c Merge branch 'feature_natural_indexing' of https://github.com/AlexVlx/HIP
[ROCm/hip commit: 5a7a28ad29]
2017-11-19 15:25:17 -06:00
Ben Sander dde41ae0aa Temporarily disable P2P on nvidia (fails on dual GPU)
[ROCm/hip commit: e0c3f684ae]
2017-11-19 15:21:37 -06:00
Alex Voicu 962bf7bfda This implements the trivial change needed to move back from the hip{Something}_{x, y, z} macros to the natural CUDA syntax of Something.{x, y, z}. This is contained in lines 384-404 in hip_runtime.h. All of the other changes have to do with changing unit tests to use this syntax. The macros are retained for backwards compatibility.
[ROCm/hip commit: cffd0e14eb]
2017-11-19 01:54:12 +00:00
Alex Voicu 7bc5d01aaa Update new tests so as to make them work with new variadic based launch mechanisms.
[ROCm/hip commit: bd78459690]
2017-11-10 00:14:34 +00:00
Alex Voicu 4950373967 Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe
# Conflicts:
#	tests/src/runtimeApi/stream/hipStreamSync2.cpp


[ROCm/hip commit: 3d248927e4]
2017-11-08 10:26:30 +00:00
Alex Voicu 35d8af2001 Clean up trailing whitespace so as to reduce noise in #246.
[ROCm/hip commit: d8e323d4b5]
2017-11-08 00:08:55 +00:00
Phaneendr-kumar Lanka 6fd3d9fda5 identation change in hipPeekAtLastError
[ROCm/hip commit: e06c546283]
2017-11-07 09:51:32 +05:30
Alex Voicu c3fdb8ab8e Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe
[ROCm/hip commit: adaf6b8dff]
2017-11-07 00:01:22 +00:00
Phaneendr-kumar Lanka 2f4b59a9b9 Modified tests as per review
[ROCm/hip commit: 9ee330451a]
2017-11-06 15:13:36 +05:30
Phaneendr-kumar Lanka a8da9c1c3b More tests for memory,stream & error APIs
[ROCm/hip commit: 093279b10b]
2017-11-06 11:31:52 +05:30
Maneesh Gupta 3746211481 Merge pull request #239 from phani544/newTests
[newTests]Adding tests for device APIs

[ROCm/hip commit: 2f4e1983e2]
2017-11-06 07:22:13 +05:30
Phaneendr-kumar Lanka 9d7c904529 [newTests]modified the test
[ROCm/hip commit: 0599d13b0d]
2017-11-03 14:52:19 +05:30