Commit grafiek

574 Commits

Auteur SHA1 Bericht Datum
Aaron Enye Shi bbcb3fa0c0 Remove testing bitinsert/extract on nvcc path 2018-08-29 15:29:53 +00:00
Aaron Enye Shi 5893bbc1f4 Add tests for bitextract and bitinsert 2018-08-28 20:01:54 +00:00
Yaxun Sam Liu b8a0c14171 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.
2018-08-08 08:55:28 -04:00
Yaxun Sam Liu 450ea49df0 Fix __HIP_DEVICE_COMPILE__ not defined when hip/math_functions.h is included
This fixes build failure in TensorFlow 1.8 for HCC
2018-08-07 17:14:39 -04:00
Yaxun Sam Liu dacb18414e Fix declaration conflict when hip/math_functions.h is included first
This fixes build failure in TensorFlow 1.8 for HCC
2018-08-07 15:44:59 -04:00
Maneesh Gupta 78ca12d583 Merge pull request #603 from b-sumner/master
Drop use of NVCC_COMPAT since it is always set
2018-08-03 08:45:18 +05:30
Maneesh Gupta 58b7c9c5c8 Merge pull request #514 from luckynikki/GETandALGN
[GETandALGN]: Get channel and alignment details
2018-08-02 07:57:50 +05:30
lthakur 26f944b1c1 Added offset value verification.
Added offset value verification.
2018-08-01 10:41:30 +05:30
Brian Sumner 71f96388ed Drop use of NVCC_COMPAT since it is always set 2018-07-27 09:29:29 -07:00
Maneesh Gupta 1a09b9d4d4 Merge pull request #596 from mangupta/patch5-fixhiplaunchparm
[tests] Fixed hipLaunchParm test on nvcc path
2018-07-26 06:17:50 +05:30
Maneesh Gupta 90a192661c Merge pull request #595 from mangupta/patch4-fixhipStdComplex
[tests] Fixed build & disabled run of hipStdComplex on nvcc path
2018-07-26 06:17:04 +05:30
Maneesh Gupta 4c41d62435 [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
2018-07-25 15:41:04 +05:30
Maneesh Gupta 9d8dd3a4e6 [tests] Fixed build & disabled run of hipStdComplex on nvcc path
Change-Id: I885e96902faa065f6559183f33b6a7aa1f37e393
2018-07-25 15:39:45 +05:30
Aaron Enye Shi 2b73bccbef Fix return EXIT_FAILURE if ballot or anyall fails 2018-07-24 20:39:48 +00:00
Maneesh Gupta b1ca77147b Merge pull request #568 from Srinivasuluch/sprint2_9tests
Adding a few more struct scenarions and a ResultValidation()
2018-07-23 14:44:06 +05:30
saleelk 8bc73424d1 Fix hipHostRegister mem leak and copy kind in hipMemcpyAsync (#587) 2018-07-23 11:04:14 +05:30
Maneesh Gupta 1a2c16decb Merge pull request #559 from rpathani/master
Adding functor unit tests
2018-07-23 10:15:16 +05:30
Maneesh Gupta 23b4e46ca4 Merge pull request #554 from gargrahul/cleanup_hipmemset3d_test
Cleaned up hipMemset3D test
2018-07-23 10:11:49 +05:30
Srinivasuluch b37c56efed Update hipLaunchParm.cpp
Added struct bit field test, test number#21
2018-07-20 12:38:06 +05:30
rohit pathania bf9832d957 Merge branch 'master' of https://github.com/rpathani/HIP
# Conflicts:
#	tests/src/kernel/hipLaunchParmFunctor.cpp
2018-07-19 12:11:23 +05:30
rohit pathania 8434f2ed6b Merge branch 'master' of https://github.com/rpathani/HIP
# Conflicts:
#	tests/src/kernel/hipLaunchParmFunctor.cpp
2018-07-19 12:02:42 +05:30
Maneesh Gupta 12202dae90 Merge pull request #543 from ROCm-Developer-Tools/add-std-complex
Support std::complex for hip-clang
2018-07-19 07:14:45 +05:30
Yaxun Sam Liu 39374f4208 Fix test hipStdComplex.cpp to emit expected output for passing 2018-07-18 07:21:24 -04:00
Srinivasuluch 4c707232b9 Update hipLaunchParm.cpp
submitting changes as per Sam review/suggestions
2018-07-18 12:41:51 +05:30
Yaxun (Sam) Liu 80438035c2 Support std::complex for hip-clang 2018-07-18 00:08:04 -04:00
Alex Voicu 05ecc35825 And a few more oversights. 2018-07-17 19:33:13 +01:00
Alex Voicu 96aa6e22ee Constrain variadic constructor to ranks > 1 and add missing __device__s 2018-07-17 17:18:45 +01:00
lthakur e2eeee29da Update hipGetChanDesc.cpp
Removed bool variable 'testResult' from global scope and confined it to the function.
2018-07-17 13:40:54 +05:30
lthakur a185e8c1f9 Update hipGetAlgntoffset2D.cpp
Removed unwanted space.
2018-07-17 13:37:08 +05:30
lthakur feaa30076e Update hipGetAlgntoffset2D.cpp
Removed bool variable 'testResult' from global scope and confined it to the function.
2018-07-17 13:35:22 +05:30
lthakur fa36c49c81 Removed unused ,chan_test, variable. 2018-07-17 10:32:30 +05:30
Maneesh Gupta fb5199dee6 Merge branch 'master' into feature_native_vector_types
Change-Id: I943b94ee230871a960d8f9c321ad5e096183b415
2018-07-17 09:51:22 +05:30
Maneesh Gupta fbbe2599dd Merge pull request #515 from ROCm-Developer-Tools/hipclang-add-amdgcn-funcs
Add hipclang amdgcn functions
2018-07-17 09:25:09 +05:30
Alex Voicu fe289dbebe Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_native_vector_types 2018-07-15 11:44:48 +01:00
srinivas Charupally 19ace627a3 Adding more struct scenarions and a ResultValidation() 2018-07-12 17:08:41 +05:30
lthakur 429046edef Update hipGetChanDesc.cpp 2018-07-11 15:24:00 +05:30
lthakur bfd99f8af7 Update hipGetAlgntoffset2D.cpp 2018-07-11 15:23:21 +05:30
lthakur db437af693 Update hipGetAlgntoffset2D.cpp 2018-07-11 11:54:05 +05:30
lthakur 7057941431 Update hipGetChanDesc.cpp 2018-07-11 11:53:16 +05:30
lthakur add8693c9c Update hipGetAlgntoffset2D.cpp 2018-07-11 11:51:08 +05:30
rohit pathania 131e2ee05a Adding functor unit tests for hip launch param 2018-07-10 15:23:10 +05:30
rohit pathania 3bbce754da Adding functor unit tests for hip launch param 2018-07-09 15:08:17 +05:30
Aaron Enye Shi aa05779c64 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.
2018-07-06 11:26:48 -04:00
Rahul Garg 18944113ed Cleaned up hipMemset3D test 2018-07-06 14:54:08 +05:30
Aaron Enye Shi 76f86ef097 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.
2018-07-05 20:38:46 +00:00
Alex Voicu b3e6fcdf18 Add scalar operands and fix C implementation. 2018-06-29 05:23:49 +01:00
Srinivasuluch 181ccebee6 Update hipLaunchParm.cpp
Changing macro name
2018-06-27 22:06:53 +05:30
Srinivasuluch 8b67625b65 Update hipLaunchParm.cpp
wrap up to 80 characters per line
2018-06-27 22:04:12 +05:30
Srinivasuluch 9e78ef99e5 Update hipLaunchParm.cpp
changing the condition, a = b, as Sam suggested
2018-06-27 21:48:37 +05:30
Srinivasuluch a9419098de Update hipLaunchParm.cpp 2018-06-27 20:49:07 +05:30