Commit Graph

597 Commits

Author SHA1 Message Date
Maneesh Gupta 6b8913d4e5 [dtests] Fix deviceLib/hipTestIncludeMath on nvcc path
Change-Id: Ifb121886bec6c1134e98bd194ff1713f28454d33


[ROCm/hip commit: 0b211bb429]
2018-09-17 15:15:49 +05:30
Maneesh Gupta fdeb1f029d Merge pull request #606 from ROCm-Developer-Tools/add-test-global-var
Add HIP directed test hipTestGlobalVariable.cpp

[ROCm/hip commit: 30b1494c3d]
2018-09-17 11:11:51 +05:30
Maneesh Gupta 4a671abf13 Merge branch 'master' into support-malloc
[ROCm/hip commit: 66f863d1f3]
2018-09-17 10:17:25 +05:30
Maneesh Gupta 1d815add43 Merge pull request #639 from ROCm-Developer-Tools/skudchad-hip
Check for hipEnvVar at the same level if directed_tests location fails

[ROCm/hip commit: 48cc4f0d9e]
2018-09-16 18:31:37 +05:30
Maneesh Gupta 4a39405b64 Revert changes to runtime/stream/hipStreamSync2
[ROCm/hip commit: 9b2107749c]
2018-09-15 13:23:38 +05:30
Maneesh Gupta aef0245f90 Merge pull request #650 from ROCm-Developer-Tools/hip-clang-new
Support placement new in hip-clang

[ROCm/hip commit: cb348421d7]
2018-09-15 11:21:01 +05:30
Maneesh Gupta 5d1cad97bd Merge pull request #658 from phani544/hipClangFrndClass
[HIP-Clang]Add friend class/function test

[ROCm/hip commit: 87bf9aa9d1]
2018-09-14 08:59:40 +05:30
fpadmin 9073495700 [HIP-Clang]Add friend class/function test
[ROCm/hip commit: a8bc26344f]
2018-09-05 11:48:49 +05:30
Yaxun (Sam) Liu 747af80a5b Support placement new in hip-clang
[ROCm/hip commit: 338eaefa84]
2018-09-04 16:53:46 -04:00
Maneesh Gupta be7f89f25e Merge pull request #657 from yxsamliu/fix-clz
Fix ambiguity of __clz and __clzll

[ROCm/hip commit: a3a93a68d4]
2018-09-03 16:34:42 +05:30
Maneesh Gupta f219b3fa35 Merge pull request #651 from yxsamliu/hip-clang-clock
Add clock() and clock64()

[ROCm/hip commit: 7459defec1]
2018-09-03 16:32:30 +05:30
Maneesh Gupta d7fc3ca1e7 Merge pull request #640 from aaronenyeshi/hip-clang-add-bit-funcs
Add bitextract and bitinsert functions

[ROCm/hip commit: 943c4d874c]
2018-09-03 16:31:42 +05:30
Yaxun Sam Liu 275d66917e Fix ambiguity of __clz and __clzll
[ROCm/hip commit: 11c91c2fdd]
2018-08-31 18:07:57 -04:00
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
Saleel Kudchadker f47cdceb42 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into skudchad-hip
[ROCm/hip commit: cd926a44b7]
2018-08-31 10:38:41 -07:00
Maneesh Gupta 62a1c2f8f9 Merge pull request #564 from phani544/hipClangClass8B
Adding class size>8bytes tests

[ROCm/hip commit: 5ab1d757e4]
2018-08-30 10:33:47 +05:30
Aaron Enye Shi 1a34cbc1c4 Remove testing bitinsert/extract on nvcc path
[ROCm/hip commit: bbcb3fa0c0]
2018-08-29 15:29:53 +00:00
Yaxun Sam Liu c1ab349fc7 Add clock() and clock64()
[ROCm/hip commit: 1f74a66bea]
2018-08-29 10:51:00 -04:00
fpadmin 65a48ce72e Adding class size>8bytes tests
[ROCm/hip commit: 0022f53a10]
2018-08-29 15:16:43 +05:30
Aaron Enye Shi 31a34f6804 Add tests for bitextract and bitinsert
[ROCm/hip commit: 5893bbc1f4]
2018-08-28 20:01:54 +00:00
Saleel Kudchadker 0d410147cf Check for hipEnvVar at the same level if directed_tests location fails
[ROCm/hip commit: 8e0e373f69]
2018-08-17 12:14:42 -07:00
Yaxun Sam Liu f6374ced16 Add HIP directed test hipTestGlobalVariable.cpp
[ROCm/hip commit: a6c7aeed72]
2018-08-10 08:15:36 -04:00
Yaxun Sam Liu 9c2a33b5c9 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.


[ROCm/hip commit: b8a0c14171]
2018-08-08 08:55:28 -04:00
Yaxun Sam Liu 735e7ac097 Fix __HIP_DEVICE_COMPILE__ not defined when hip/math_functions.h is included
This fixes build failure in TensorFlow 1.8 for HCC


[ROCm/hip commit: 450ea49df0]
2018-08-07 17:14:39 -04:00
Yaxun Sam Liu fd1b704358 Fix declaration conflict when hip/math_functions.h is included first
This fixes build failure in TensorFlow 1.8 for HCC


[ROCm/hip commit: dacb18414e]
2018-08-07 15:44:59 -04:00
Maneesh Gupta 9ddcc6e6c6 Merge pull request #603 from b-sumner/master
Drop use of NVCC_COMPAT since it is always set

[ROCm/hip commit: 78ca12d583]
2018-08-03 08:45:18 +05:30
Maneesh Gupta de1f69f901 Merge pull request #514 from luckynikki/GETandALGN
[GETandALGN]: Get channel and alignment details

[ROCm/hip commit: 58b7c9c5c8]
2018-08-02 07:57:50 +05:30
lthakur a210507dcb Added offset value verification.
Added offset value verification.

[ROCm/hip commit: 26f944b1c1]
2018-08-01 10:41:30 +05:30
Yaxun Sam Liu cedd18a317 Do not use std::complex in test hipDeviceMalloc
[ROCm/hip commit: f06894e2f0]
2018-07-27 17:07:00 -04:00
Yaxun Sam Liu da2fd69c44 Fix thread index calculation in __hip_malloc
[ROCm/hip commit: 03320890de]
2018-07-27 16:24:51 -04:00
Yaxun Sam Liu 289bfe5f95 Support malloc/free for hip-clang
[ROCm/hip commit: 02d0e93601]
2018-07-27 16:24:51 -04:00
Brian Sumner 94afa0fc08 Drop use of NVCC_COMPAT since it is always set
[ROCm/hip commit: 71f96388ed]
2018-07-27 09:29:29 -07:00
Maneesh Gupta a192dbba39 Merge pull request #596 from mangupta/patch5-fixhiplaunchparm
[tests] Fixed hipLaunchParm test on nvcc path

[ROCm/hip commit: 1a09b9d4d4]
2018-07-26 06:17:50 +05:30
Maneesh Gupta 80d90da294 Merge pull request #595 from mangupta/patch4-fixhipStdComplex
[tests] Fixed build & disabled run of hipStdComplex on nvcc path

[ROCm/hip commit: 90a192661c]
2018-07-26 06:17:04 +05:30
Maneesh Gupta d5e3f869a4 [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/hip commit: 4c41d62435]
2018-07-25 15:41:04 +05:30
Maneesh Gupta ceacd2f23d [tests] Fixed build & disabled run of hipStdComplex on nvcc path
Change-Id: I885e96902faa065f6559183f33b6a7aa1f37e393


[ROCm/hip commit: 9d8dd3a4e6]
2018-07-25 15:39:45 +05:30
Aaron Enye Shi fea10ee7cd Fix return EXIT_FAILURE if ballot or anyall fails
[ROCm/hip commit: 2b73bccbef]
2018-07-24 20:39:48 +00:00
Maneesh Gupta 9d0c1481b7 Merge pull request #568 from Srinivasuluch/sprint2_9tests
Adding a few more struct scenarions and a ResultValidation()

[ROCm/hip commit: b1ca77147b]
2018-07-23 14:44:06 +05:30
saleelk 428120f219 Fix hipHostRegister mem leak and copy kind in hipMemcpyAsync (#587)
[ROCm/hip commit: 8bc73424d1]
2018-07-23 11:04:14 +05:30
Maneesh Gupta 69fd33b5b0 Merge pull request #559 from rpathani/master
Adding functor unit tests 

[ROCm/hip commit: 1a2c16decb]
2018-07-23 10:15:16 +05:30
Maneesh Gupta a9c7c89ae1 Merge pull request #554 from gargrahul/cleanup_hipmemset3d_test
Cleaned up hipMemset3D test

[ROCm/hip commit: 23b4e46ca4]
2018-07-23 10:11:49 +05:30
Srinivasuluch 3f8eda3528 Update hipLaunchParm.cpp
Added struct bit field test, test number#21

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


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


[ROCm/hip commit: 8434f2ed6b]
2018-07-19 12:02:42 +05:30
Maneesh Gupta 9648844caf Merge pull request #543 from ROCm-Developer-Tools/add-std-complex
Support std::complex for hip-clang

[ROCm/hip commit: 12202dae90]
2018-07-19 07:14:45 +05:30
Yaxun Sam Liu d2c89a438e Fix test hipStdComplex.cpp to emit expected output for passing
[ROCm/hip commit: 39374f4208]
2018-07-18 07:21:24 -04:00
Srinivasuluch a689e49040 Update hipLaunchParm.cpp
submitting changes as per Sam review/suggestions

[ROCm/hip commit: 4c707232b9]
2018-07-18 12:41:51 +05:30
Yaxun (Sam) Liu 30e14f699b Support std::complex for hip-clang
[ROCm/hip commit: 80438035c2]
2018-07-18 00:08:04 -04:00
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