Evgeny Mankov
d38bbc99aa
[HIPIFY][tests][fix] Add correct CUDA version detection while testing
...
+ Add lit.cfg.in for CMake variables substitution to now generated lit.cfg
+ Exclude lit.cfg
+ Exclude CUDA 9.0 tests if CUDA < 9.0
+ Report CUDA version before running tests
[ROCm/clr commit: 2b01f1eb6f ]
2018-12-11 22:03:11 +03:00
Evgeny Mankov
27496f1d0d
[HIPIFY][tests] Reorganization
...
[ROCm/clr commit: b76cf94562 ]
2018-12-04 20:47:34 +03:00
Evgeny Mankov
c6efca710f
[HIPIFY][SPARSE] Add 3 more CUDA 10.0 tests
...
+ lit update
+ fix typos
[ROCm/clr commit: a421aff96d ]
2018-12-04 19:24:29 +03:00
Evgeny Mankov
d3ffb890c0
[HIPIFY][SPARSE] Matrix Reorderings and Format Conversion Reference
...
+ cuSPARSE is supported up to CUDA 10.0
+ cuSPARSE_08 test (CUDA 10.0)
+ update CUSPARSE_API_supported_by_HIP.md
+ lit: add a rule for CUDA 10.0 tests excluding
[ROCm/clr commit: 424e4c8229 ]
2018-11-30 15:33:57 +03:00
Evgeny Mankov
1c4d1bf7a6
[HIPIFY][SPARSE] Preconditioners Reference: Tridiagonal and Pentadiagonal solves
...
+ Tridiagonal Solve, Batched Tridiagonal and Pentadiagonal Solve
+ cuSPARSE_07 test
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/clr commit: e8054fe485 ]
2018-11-29 18:46:51 +03:00
Evgeny Mankov
81004dc3ac
[HIPIFY][SPARSE] Preconditioners Reference: Incomplete LU Factorization: level 0
...
+ cuSPARSE_06 test
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/clr commit: ef99d6dee4 ]
2018-11-29 15:59:58 +03:00
Evgeny Mankov
c0224ff0b9
[HIPIFY][SPARSE] Preconditioners Reference: Incomplete Cholesky Factorization: level 0
...
+ cuSPARSE_05 test
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/clr commit: e90373c927 ]
2018-11-28 20:10:30 +03:00
Evgeny Mankov
239104d125
[HIPIFY][SPARSE] Extra functions
...
+ cuSPARSE_04 test
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/clr commit: c75b3c444b ]
2018-11-27 12:41:50 +03:00
Evgeny Mankov
8623c6dbf0
[HIPIFY][SPARSE] Level 3 functions
...
+ cuSPARSE_03 test
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/clr commit: a384efcecf ]
2018-11-27 11:57:25 +03:00
Evgeny Mankov
353b3936f5
[HIPIFY][SPARSE] Helper and Level 1,2 functions
...
+ 2 cuSPARSE tests
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/clr commit: a04788ffa7 ]
2018-11-26 15:11:52 +03:00
Maneesh Gupta
f0976b3c37
Merge pull request #748 from mkuron/getsymboladdress
...
Implement hipGetSymbolAddress and hipGetSymbolSize
[ROCm/clr commit: 40d3184dd1 ]
2018-11-21 10:32:01 +05:30
emankov
2a9370f82e
[HIPIFY][SPARSE] Initial support
...
[ROCm/clr commit: f66388bd05 ]
2018-11-20 17:58:05 +03:00
Michael Kuron
4b77b5c1ba
Merge branch 'master' into getsymboladdress
...
[ROCm/clr commit: e9b88711e2 ]
2018-11-20 12:03:22 +01:00
Aaron Enye Shi
890beb81d6
Guard rcp rounded implementation as well
...
Since rcp implementations of non-default rounded versions are not correct or supported in OCML, guard them using the same macro OCML_BASIC_ROUNDED_OPERATIONS. Also update the docs and tests.
[ROCm/clr commit: 7b3bbc85c5 ]
2018-11-06 19:53:28 +00:00
Aaron Enye Shi
4480bb6d06
Guard the OCML rounded operations instead
...
Instead of commenting all these functions out, guard the functions with a macro OCML_BASIC_ROUNDED_OPERATIONS.
[ROCm/clr commit: 9aa92238ab ]
2018-11-06 16:32:14 +00:00
Michael Kuron
35227acd6d
Test for hipGetSymbolSize and hipGetSymbolAddress
...
[ROCm/clr commit: fe2281f101 ]
2018-11-06 11:39:34 +01:00
Aaron Enye Shi
5c1dc7a071
Remove non-working non-default-rounded math apis
...
In ROCm-Device-Libs, they have dropped the non-default-rounded versions of add, sub, mul, div, sqrt and fma. Therefore, ocml has removed the rte, rtp, rtn, and rtz counterparts. This will remove the same math APIs in HIP for _ru, _rd, _rn, and _rz.
[ROCm/clr commit: cef6e8ef1f ]
2018-11-05 22:34:16 +00:00
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