Alex Voicu
c505c2be38
Re-sync with upstream.
...
[ROCm/clr commit: 602280eb8b ]
2018-10-18 12:27:03 +01:00
Maneesh Gupta
50e89b0a30
Replace hipLaunchKernel -> hipLaunchKernelGGL
...
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
[ROCm/clr commit: e1fe095471 ]
2018-10-17 14:32:25 +05:30
Alex Voicu
f3495964ea
Minimal should mean minimal.
...
[ROCm/clr commit: 217fe345ca ]
2018-10-11 00:21:41 +01:00
Alex Voicu
0e5f21c96b
Trailing whitespace is still not the final frontier.
...
[ROCm/clr commit: 7874ec8aaf ]
2018-10-11 00:08:09 +01:00
Alex Voicu
16b5a7c63e
Use HIP math functions, stop using hipLaunchParm.
...
[ROCm/clr commit: 031c1d574f ]
2018-10-10 11:56:54 +01:00
Alex Voicu
50388a3bd1
Re-sync with upstream.
...
[ROCm/clr commit: 9ec697c620 ]
2018-10-10 11:43:49 +01:00
Maneesh Gupta
c4ed6b18fb
Implementation for stream priority
...
- Requires ROCm 1.9.x or higher
- Requires HCC with PR#886 merged
Change-Id: Id7c95ea091ee610e80c9ad815f1cb989cba570ca
[ROCm/clr commit: 07ee1f07d8 ]
2018-10-05 16:27:46 +05:30
Maneesh Gupta
27986e6788
Merge pull request #685 from ROCm-Developer-Tools/hip-trig-return
...
Improve hip_trig test case
[ROCm/clr commit: 802520f5f1 ]
2018-09-26 09:50:48 +05:30
Aaron Enye Shi
20e9391cfb
Use trig functions from ocml instead
...
[ROCm/clr commit: 04ed44f074 ]
2018-09-25 15:58:36 +00:00
Aaron Enye Shi
4bbfaf06b5
Fix missing HIP_ASSERT in hip_trig
...
[ROCm/clr commit: bc5de031a5 ]
2018-09-24 15:01:24 +00:00
Maneesh Gupta
0d75b78a5a
Merge pull request #683 from ROCm-Developer-Tools/hip-float-rounded
...
Disable non-default-rounded functions
[ROCm/clr commit: ad008c5e3f ]
2018-09-24 09:32:52 +05:30
Aaron Enye Shi
f4fc30ccc7
Improve hip_trig test case
...
Hip_trig is failing but returning a passing value on HIP-Clang. Also update with debug output and free arrays used.
[ROCm/clr commit: afef6a3ece ]
2018-09-21 15:28:10 -04:00
Maneesh Gupta
203e3dd5d5
Update hipTestFMA.cpp
...
[ROCm/clr commit: a4bdbe0aaf ]
2018-09-21 11:00:08 +05:30
Aaron Enye Shi
646de2e876
Disable non-default-rounded functions
...
Device library has removed the non-default-rounded functions, so hipFloatMath will fail to build. These include the removal of __ocml_sqrt_rte, __ocml_sqrt_rtn, __ocml_sqrt_rtp, and __ocml_sqrt_rtz. As seen here: https://github.com/RadeonOpenCompute/ROCm-Device-Libs/commit/2fc04e10e1354edee331ce700f98a60f8255effb . Disable these function tests for now, until they are re-enabled, or deleted completely.
[ROCm/clr commit: a3dea28c9d ]
2018-09-20 16:33:32 -04:00
Maneesh Gupta
f742125288
Update hipTestFMA.cpp
...
Fix the test so that it works on nvcc path as well.
[ROCm/clr commit: e614aac0da ]
2018-09-20 11:23:51 +05:30
Yaxun Sam Liu
a7b03bee08
Add fma function with float and _Float16 arguments
...
[ROCm/clr commit: a8bed200b7 ]
2018-09-19 09:59:33 -04:00
Rahul Garg
45e7d824ad
Fixed get alignment offset test for NVCC
...
- Removed dtest hipGetAlgntoffset2D.cpp
- hipGetTextureAlignmentOffset is being tested now in hipBindTexRef1DFetch.cpp
[ROCm/clr commit: c878d9cde4 ]
2018-09-18 14:10:03 +05:30
Maneesh Gupta
0bae7eaad3
[dests] Fix hipTestClock, hipTestNew & hipTestGlobalVariable tests for nvcc
...
nvcc does not support global kernels in struct/class
Change-Id: I2d7297e0c3725564215e20dbdd31c0bb8d7a07de
[ROCm/clr commit: f63ffaf6e5 ]
2018-09-17 15:32:05 +05:30
Maneesh Gupta
6e7f871105
[dtests] Fix deviceLib/hipSimpleAtomicsTest for nvcc
...
Change-Id: I23cbea2820d41da6f6a1bcab4bc3b59ac21799dd
[ROCm/clr commit: 7066147760 ]
2018-09-17 15:26:45 +05:30
Maneesh Gupta
51f5e9ea04
[dtests] Fix deviceLib/hipTestIncludeMath on nvcc path
...
Change-Id: Ifb121886bec6c1134e98bd194ff1713f28454d33
[ROCm/clr commit: 644fc85a37 ]
2018-09-17 15:15:49 +05:30
Alex Voicu
f5d204450c
Align with HC Next.
...
[ROCm/clr commit: 26c26f63cb ]
2018-09-17 11:50:29 +03:00
Maneesh Gupta
0ecfac50cb
Merge pull request #606 from ROCm-Developer-Tools/add-test-global-var
...
Add HIP directed test hipTestGlobalVariable.cpp
[ROCm/clr commit: a5aa5cbcfa ]
2018-09-17 11:11:51 +05:30
Maneesh Gupta
20abaa15c4
Merge branch 'master' into support-malloc
...
[ROCm/clr commit: b23609ad42 ]
2018-09-17 10:17:25 +05:30
Maneesh Gupta
e0a77ca23b
Merge pull request #639 from ROCm-Developer-Tools/skudchad-hip
...
Check for hipEnvVar at the same level if directed_tests location fails
[ROCm/clr commit: 4d0d1fb3f4 ]
2018-09-16 18:31:37 +05:30
Maneesh Gupta
00157dc427
Revert changes to runtime/stream/hipStreamSync2
...
[ROCm/clr commit: f9167cd2da ]
2018-09-15 13:23:38 +05:30
Maneesh Gupta
191a752474
Merge pull request #650 from ROCm-Developer-Tools/hip-clang-new
...
Support placement new in hip-clang
[ROCm/clr commit: 9f553c0b40 ]
2018-09-15 11:21:01 +05:30
Maneesh Gupta
1c719c97f3
Merge pull request #658 from phani544/hipClangFrndClass
...
[HIP-Clang]Add friend class/function test
[ROCm/clr commit: 2f794fd99f ]
2018-09-14 08:59:40 +05:30
fpadmin
6801abdb7a
[HIP-Clang]Add friend class/function test
...
[ROCm/clr commit: 9ca3401f8b ]
2018-09-05 11:48:49 +05:30
Yaxun (Sam) Liu
dabbf3771b
Support placement new in hip-clang
...
[ROCm/clr commit: cc0fbc0e2e ]
2018-09-04 16:53:46 -04:00
Maneesh Gupta
7891e7423d
Merge pull request #657 from yxsamliu/fix-clz
...
Fix ambiguity of __clz and __clzll
[ROCm/clr commit: 6dfb6fac8b ]
2018-09-03 16:34:42 +05:30
Maneesh Gupta
7b45626603
Merge pull request #651 from yxsamliu/hip-clang-clock
...
Add clock() and clock64()
[ROCm/clr commit: d515998ac4 ]
2018-09-03 16:32:30 +05:30
Maneesh Gupta
15bb444efa
Merge pull request #640 from aaronenyeshi/hip-clang-add-bit-funcs
...
Add bitextract and bitinsert functions
[ROCm/clr commit: 11d1b8d310 ]
2018-09-03 16:31:42 +05:30
Yaxun Sam Liu
1da85d8537
Fix ambiguity of __clz and __clzll
...
[ROCm/clr commit: 701519d27d ]
2018-08-31 18:07:57 -04:00
Saleel Kudchadker
54b81517d8
Fix record_event and hipStreamSync2 tests. The test should expect null stream to complete if synchrionize is called as per the spec
...
[ROCm/clr commit: 3684975b91 ]
2018-08-31 12:54:23 -07:00
Saleel Kudchadker
67fc95f323
Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into skudchad-hip
...
[ROCm/clr commit: b76c94afb9 ]
2018-08-31 10:38:41 -07:00
Maneesh Gupta
0ae3d1b453
Merge pull request #564 from phani544/hipClangClass8B
...
Adding class size>8bytes tests
[ROCm/clr commit: 0b8e209532 ]
2018-08-30 10:33:47 +05:30
Aaron Enye Shi
31864c4973
Remove testing bitinsert/extract on nvcc path
...
[ROCm/clr commit: ecfb2bdeba ]
2018-08-29 15:29:53 +00:00
Yaxun Sam Liu
137880f369
Add clock() and clock64()
...
[ROCm/clr commit: 0f4546deca ]
2018-08-29 10:51:00 -04:00
fpadmin
68cdeeba66
Adding class size>8bytes tests
...
[ROCm/clr commit: 19b5ac131a ]
2018-08-29 15:16:43 +05:30
Aaron Enye Shi
7801c309b3
Add tests for bitextract and bitinsert
...
[ROCm/clr commit: 622342f01d ]
2018-08-28 20:01:54 +00:00
Saleel Kudchadker
ec328d9ac8
Check for hipEnvVar at the same level if directed_tests location fails
...
[ROCm/clr commit: 4946c4357d ]
2018-08-17 12:14:42 -07:00
Yaxun Sam Liu
cce9389cd5
Add HIP directed test hipTestGlobalVariable.cpp
...
[ROCm/clr commit: 41416edd14 ]
2018-08-10 08:15:36 -04:00
Yaxun Sam Liu
d3295e61e2
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/clr commit: 87de95975a ]
2018-08-08 08:55:28 -04:00
Yaxun Sam Liu
6e153a743f
Fix __HIP_DEVICE_COMPILE__ not defined when hip/math_functions.h is included
...
This fixes build failure in TensorFlow 1.8 for HCC
[ROCm/clr commit: 058eb7535b ]
2018-08-07 17:14:39 -04:00
Yaxun Sam Liu
6df5aef807
Fix declaration conflict when hip/math_functions.h is included first
...
This fixes build failure in TensorFlow 1.8 for HCC
[ROCm/clr commit: 69bbf45b44 ]
2018-08-07 15:44:59 -04:00
Maneesh Gupta
0f033ca572
Merge pull request #603 from b-sumner/master
...
Drop use of NVCC_COMPAT since it is always set
[ROCm/clr commit: b485957858 ]
2018-08-03 08:45:18 +05:30
Maneesh Gupta
c440c4d3e8
Merge pull request #514 from luckynikki/GETandALGN
...
[GETandALGN]: Get channel and alignment details
[ROCm/clr commit: 2960739c43 ]
2018-08-02 07:57:50 +05:30
lthakur
313cdfd494
Added offset value verification.
...
Added offset value verification.
[ROCm/clr commit: b7a4b2c300 ]
2018-08-01 10:41:30 +05:30
Yaxun Sam Liu
d539617d9b
Do not use std::complex in test hipDeviceMalloc
...
[ROCm/clr commit: fc1ed91ddb ]
2018-07-27 17:07:00 -04:00
Yaxun Sam Liu
ea77788a5f
Fix thread index calculation in __hip_malloc
...
[ROCm/clr commit: f08f26942c ]
2018-07-27 16:24:51 -04:00