Commit Graph

815 Commits

Author SHA1 Message Date
Maneesh Gupta 56ebef737b Merge pull request #596 from mangupta/patch5-fixhiplaunchparm
[tests] Fixed hipLaunchParm test on nvcc path

[ROCm/clr commit: 17f612def1]
2018-07-26 06:17:50 +05:30
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 24b33ee4ef [tests] Fixed hipLaunchParm test on nvcc path
- Uses c++11 features. Added it to nvcc options
- Arguments for some kernels exceeded 4096 bytes which is the limit
  imposed by nvcc. Reduced BLOCK_DIM_SIZE to 512 to handle this
- Fixed compilation issues on nvcc path

Change-Id: I14f6b28afcb7c6b24a085fd707b2104e2ed64627


[ROCm/clr commit: 51307ac705]
2018-07-25 15:41: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 2a2d857b6e Merge pull request #568 from Srinivasuluch/sprint2_9tests
Adding a few more struct scenarions and a ResultValidation()

[ROCm/clr commit: e2615335c0]
2018-07-23 14:44:06 +05:30
saleelk bc49031828 Fix hipHostRegister mem leak and copy kind in hipMemcpyAsync (#587)
[ROCm/clr commit: e8a5ad629f]
2018-07-23 11:04:14 +05:30
Maneesh Gupta 3e92bf10bb Merge pull request #559 from rpathani/master
Adding functor unit tests 

[ROCm/clr commit: 137d7f559f]
2018-07-23 10:15:16 +05:30
Maneesh Gupta dd1b7d970c Merge pull request #554 from gargrahul/cleanup_hipmemset3d_test
Cleaned up hipMemset3D test

[ROCm/clr commit: c53d0f967e]
2018-07-23 10:11:49 +05:30
Srinivasuluch 77ab2afbbb Update hipLaunchParm.cpp
Added struct bit field test, test number#21

[ROCm/clr commit: 996cfcd62a]
2018-07-20 12:38:06 +05:30
rohit pathania b4eefc9e5c Merge branch 'master' of https://github.com/rpathani/HIP
# Conflicts:
#	tests/src/kernel/hipLaunchParmFunctor.cpp


[ROCm/clr commit: 6ae4df95b5]
2018-07-19 12:11:23 +05:30
rohit pathania e2f3e4d67e Merge branch 'master' of https://github.com/rpathani/HIP
# Conflicts:
#	tests/src/kernel/hipLaunchParmFunctor.cpp


[ROCm/clr commit: c2108cb82a]
2018-07-19 12:02:42 +05:30
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
Srinivasuluch 6e8b6fd5c2 Update hipLaunchParm.cpp
submitting changes as per Sam review/suggestions

[ROCm/clr commit: 070e992134]
2018-07-18 12:41:51 +05:30
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
lthakur 5cff332d5e Update hipGetChanDesc.cpp
Removed bool variable 'testResult' from global scope and confined it to the function.

[ROCm/clr commit: cac0f2cc95]
2018-07-17 13:40:54 +05:30
lthakur 5ea8ae2ea6 Update hipGetAlgntoffset2D.cpp
Removed unwanted space.

[ROCm/clr commit: 9f8d41df13]
2018-07-17 13:37:08 +05:30
lthakur bf68482ed9 Update hipGetAlgntoffset2D.cpp
Removed bool variable 'testResult' from global scope and confined it to the function.

[ROCm/clr commit: 7b6da4453b]
2018-07-17 13:35:22 +05:30
lthakur da77083acc Removed unused ,chan_test, variable.
[ROCm/clr commit: c2b508abfe]
2018-07-17 10:32:30 +05:30
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
srinivas Charupally 6633e4184a Adding more struct scenarions and a ResultValidation()
[ROCm/clr commit: 14d4c6dc28]
2018-07-12 17:08:41 +05:30
lthakur 138d5f3d0c Update hipGetChanDesc.cpp
[ROCm/clr commit: 7003fe76f2]
2018-07-11 15:24:00 +05:30
lthakur 6ccf6807f6 Update hipGetAlgntoffset2D.cpp
[ROCm/clr commit: d395531f47]
2018-07-11 15:23:21 +05:30
lthakur 01b3ffc69f Update hipGetAlgntoffset2D.cpp
[ROCm/clr commit: d8b5f60e12]
2018-07-11 11:54:05 +05:30
lthakur b89f2310b8 Update hipGetChanDesc.cpp
[ROCm/clr commit: 5ba01d5033]
2018-07-11 11:53:16 +05:30
lthakur 48e4f03665 Update hipGetAlgntoffset2D.cpp
[ROCm/clr commit: b3b198f745]
2018-07-11 11:51:08 +05:30
rohit pathania f6a6be4ed7 Adding functor unit tests for hip launch param
[ROCm/clr commit: 58b9ce3b2d]
2018-07-10 15:23:10 +05:30
rohit pathania 3db0890b10 Adding functor unit tests for hip launch param
[ROCm/clr commit: 782f8613e0]
2018-07-09 15:08:17 +05:30
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
Rahul Garg f25b05c793 Cleaned up hipMemset3D test
[ROCm/clr commit: 7261799835]
2018-07-06 14:54:08 +05:30
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
Srinivasuluch cdad3de88d Update hipLaunchParm.cpp
Changing macro name

[ROCm/clr commit: ef33a0ad4d]
2018-06-27 22:06:53 +05:30
Srinivasuluch cf720fbe95 Update hipLaunchParm.cpp
wrap up to 80 characters per line

[ROCm/clr commit: 52e808da4d]
2018-06-27 22:04:12 +05:30
Srinivasuluch 9865b4d6e6 Update hipLaunchParm.cpp
changing the condition, a = b, as Sam suggested

[ROCm/clr commit: f69d89e79f]
2018-06-27 21:48:37 +05:30
Srinivasuluch 8597d19217 Update hipLaunchParm.cpp
[ROCm/clr commit: 22fd883df8]
2018-06-27 20:49:07 +05:30
Srinivasuluch f266afbec8 Update hipLaunchParm.cpp
Added a macro to disable the alignment test as it's broken

[ROCm/clr commit: 681ce0182e]
2018-06-27 19:57:44 +05:30
Srinivasuluch 714efd908b Update hipLaunchParm.cpp
pass by value for struct

[ROCm/clr commit: 52f3ec8f26]
2018-06-27 16:45:51 +05:30
Alex Voicu 89d6db12fe Let's try this again...
[ROCm/clr commit: 3ff1d4081e]
2018-06-25 17:49:50 +01:00
Srinivasuluch 57eb2560f0 Update hipLaunchParm.cpp
Added validation part for struct, added two struct padding tests

[ROCm/clr commit: c5b643999c]
2018-06-25 16:53:12 +05:30
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
Lakhan Singh 0f582a7893 Made changes as suggested.
[ROCm/clr commit: 936b878d72]
2018-06-15 11:30:02 +05:30
Lakhan Singh 8983f78d21 [GETandALGN]: Get channel and alignment details
[ROCm/clr commit: 7d6f1b8e38]
2018-06-12 15:22:05 +05:30