Evgeny Mankov
3bc3b61fb4
[HIPIFY][tests] Add reverse engineered HIP sample hipEvent
2019-05-13 22:12:43 +03:00
emankov
4b861bca39
[HIPIFY][tests] Add reverse engineered HIP sample MatrixTranspose
2019-05-13 19:37:18 +03:00
Maneesh Gupta
88abfde2f8
[dtests] Fix hipModule test for nvcc path
...
Change-Id: If918b87b848a825242e06b0d552a7be188a1c4b6
2019-05-09 18:17:19 +05:30
Maneesh Gupta
eb637766b9
[dtests] Add complex_loading_behavior test
...
Change-Id: Iadf135cb727a1a3761abef20336d652b159c7dcd
2019-05-09 18:03:42 +05:30
Maneesh Gupta
79843f3b12
[dtests] Add hipModule test to unit tests
...
Change-Id: I1dac38f8580265e2e9c82d88e4f070a2ff87f60b
2019-05-09 11:36:46 +05:30
Maneesh Gupta
49a2d785d0
[hit] Add support for BUILD_CMD
2019-05-09 11:36:26 +05:30
Maneesh Gupta
622ea32964
[hit] Remove CUSTOM_CMD
...
Change-Id: Ia156fe6aab9cfcc11284823ea5131e33eaf962bc
2019-05-09 09:59:18 +05:30
Maneesh Gupta
9f2d1453fb
[hit] Rename RUN -> TEST & RUN_NAMED -> TEST_NAMED
...
Change-Id: I75e24f15129973cee15fc9dac65d678bd2172074
2019-05-09 09:59:18 +05:30
Maneesh Gupta
f931152280
Merge pull request #1075 from mhbliao/hliao/master/test_fix2
...
[test] Add device variant of `std::declval`.
2019-05-07 16:15:01 +05:30
Maneesh Gupta
1d4941e487
Merge pull request #1074 from mhbliao/hliao/master/test_fix
...
[test] Use explicit cast for address space cast.
2019-05-07 16:09:15 +05:30
Maneesh Gupta
98ab402fcb
Merge pull request #1073 from kpyzhov/multi-thread-device-test
...
hipMultiThreadDevice test: Reduced maximum number of created HIP stre…
2019-05-07 16:08:37 +05:30
Maneesh Gupta
fea21dc6d5
Merge pull request #1072 from kpyzhov/master
...
Refined hipSetDevice test.
2019-05-07 16:07:36 +05:30
Maneesh Gupta
730763c817
Merge pull request #1069 from mhbliao/hliao/master/test_cleanup
...
[test] Remove unused common routines.
2019-05-07 16:02:57 +05:30
Michael LIAO
4fbfb646f6
[test] Add device variant of std::declval.
...
- Current clang disallows any invocation of wrong-side functions even
under context with type-inspection only. Work around that by adding a
variant of `std::decl` with `__device__` attribute.
2019-05-03 15:58:31 -04:00
Michael LIAO
2746d95906
[test] Use explicit cast for address space cast.
2019-05-03 14:56:00 -04:00
Maneesh Gupta
37d01a7da9
Merge pull request #1058 from mhbliao/hliao/master/devfunc
...
[Device Function] Fix implementation
2019-05-03 17:47:51 +05:30
Konstantin Pyzhov
e29c9d50a6
hipMultiThreadDevice test: Reduced maximum number of created HIP streams on Windows.
2019-05-03 05:43:30 -04:00
Konstantin Pyzhov
069fb7e486
Refined hipSetDevice test.
2019-05-03 05:39:45 -04:00
Michael LIAO
16a27e06ee
[test] Remove unused common routines.
...
- Remove used common routines, which variadic functions, not supported
feature, are used.
2019-05-02 12:34:07 -04:00
emankov
e3082f5142
[HIPIFY][tests] Add cuSPARSE CSR-BCSR-SPMV-conversions example
2019-04-30 17:37:34 +03:00
Michael LIAO
9bd2d5746d
[Device Function] Fix implementation of __bitinsert_u64
...
- It's a common mistake by assuming 1 << shamt would be promoted to
64-bit, if shamt is a 64-bit integer. That's not the case. Replace
that left shift to a 64-bit one to ensure it won't fall into undefined
behavior.
- Fix the host-side implementation as well for device function testing.
2019-04-30 08:59:13 -04:00
Evgeny Mankov
3fee0f3765
[HIPIFY][DNN] cudnnSetFilter4dDescriptor support
2019-04-25 12:18:51 +03:00
Rahul Garg
2bc2c46d4d
Add hipMallocManaged default functional support ( #1036 )
...
* Add hipMallocManaged default functional support
* Fix build error
* Add dtest
2019-04-24 16:50:03 +05:30
Rahul Garg
e5e7651a4a
Fix D2DAsync test
2019-04-18 07:35:06 +05:30
Evgeny Mankov
8bca9f1d7a
[HIPIFY][tests] Fix typo in test for CUDA 10.x
2019-04-01 19:52:08 +03:00
Evgeny Mankov
e899ee0e06
[HIPIFY][tests] Update lit testing infrastructure
...
+ Set -D__LP64__ in case of 64-bit hipify-clang binary
[partial workaround for clang's bug https://bugs.llvm.org/show_bug.cgi?id=38811 ]
C:/GIT/LLVM/trunk/llvm-64-release-vs2017/dist/lib/clang/9.0.0\include\__clang_cuda_device_functions.h(1609,45): error GEF7559A7: no matching function for call to 'roundf'
__DEVICE__ long lroundf(float __a) { return roundf(__a); }
#if defined(__LP64__)
__DEVICE__ long lround(double __a) { return llround(__a); }
__DEVICE__ long lroundf(float __a) { return llroundf(__a); } // ok: llroundf should be used when 64-bit
#else
__DEVICE__ long lround(double __a) { return round(__a); }
__DEVICE__ long lroundf(float __a) { return roundf(__a); } // error
#endif
+ Print more system info while testing in the following form:
========================================
CUDA 9.0 - will be used for testing
LLVM 9.0.0svn - will be used for testing
AMD64 - Platform architecture
Windows 10 - Platform OS
64 - hipify-clang binary bitness
32 - python 3.7.2 binary bitness
========================================
2019-03-06 19:26:05 +03:00
Maneesh Gupta
0c4a40efcc
Merge pull request #932 from ROCm-Developer-Tools/feature_maybe_dlopen_test
...
Add one test case for complex dynamic loading behavior
2019-03-06 17:32:23 +05:30
Maneesh Gupta
51f29b9cee
Update hipMemset.cpp
...
Address build issues on nvcc path.
2019-03-05 12:11:11 +05:30
Wen-Heng (Jack) Chung
bfde8a7fab
Add direct test for hipMemsetD32 and hipMemsetD32Async
2019-03-04 17:20:32 +00:00
Rahul Garg
131c0ea326
Fix review comments
2019-03-02 23:38:37 +05:30
Rahul Garg
77c6d5451f
Fix hipMemset test for HIP/NVCC
2019-03-01 03:46:57 +05:30
Rahul Garg
026dc9457e
Update hipMemset test
2019-02-28 06:54:49 +05:30
Wen-Heng (Jack) Chung
8e5bb3c57a
Add one test case for complex dynamic loading behavior
...
Existing HIT syntax doesn't seem to support the expected build and run steps
for this test.
2019-02-25 17:03:31 +00:00
Evgeny Mankov
3a8ef9c8a2
[HIPIFY][tests] caffe2 test fix
2019-02-25 17:12:32 +03:00
Evgeny Mankov
2619f22e5c
[HIPIFY][Caffe2] Initial Caffe2 support
2019-02-23 20:46:22 +03:00
Evgeny Mankov
d26dc3cea7
[HIPIFY][DNN] Revise and sync with CUDNN 10 and hipDNN
...
+ CUDNN_API_supported_by_HIP.md update
+ CUDA_Runtime_API_functions_supported_by_HIP.md update
+ libraryPropertyType_t is moved to Runtime
+ test update
2019-02-13 19:40:59 +03:00
Evgeny Mankov
7ba8c440e6
[HIPIFY][RAND] revise
...
+ add missing functions
+ add minimum rocRAND support
+ updated CURAND_API_supported_by_HIP.md
2019-02-08 17:54:28 +03:00
Evgeny Mankov
385fe36f2a
[HIPIFY][BLAS][tests] Add tests on hipifying to 'roc'
2019-02-07 19:25:23 +03:00
Maneesh Gupta
50a12f1ce1
Merge pull request #863 from aaronenyeshi/add-dot-instructions
...
Add Dot functions as amd_mixed_dot function
2019-01-29 06:01:01 +05:30
Aaron Enye Shi
ede494bd5f
Fix mixed dot for Jenkins rocm_2_0
2019-01-24 22:48:35 +00:00
Aaron Enye Shi
7e46f0639c
Exclude mixed dot functions from nvcc path
2019-01-24 21:00:45 +00:00
Evgeny Mankov
4ff355357f
[HIPIFY] CUDA Runtime API functions total revise (up to CUDA 10.0)
...
+ for all CUDA versions starting from 7.0
+ add missing functions
+ sync with HIP
+ update CUDA_Runtime_API_functions_supported_by_HIP.md
+ update affected tests
+ fix typos
+ formatting, annotating
2019-01-24 14:05:36 +03:00
Aaron Enye Shi
f31aa946e7
Fix mixed dot for Jenkins rocm_head
2019-01-23 16:39:25 +00:00
Aaron Enye Shi
1d70f4217e
Add tests for dot functions
2019-01-22 22:32:28 +00:00
Evgeny Mankov
841e056935
[HIPIFY][tests] Exclude one more test if CUDA == 7.0, which is of CUDA 7.5
2019-01-22 22:26:43 +03:00
Yaxun Sam Liu
aa6abb0dcf
Fix get_time in tests for nvcc
2019-01-21 14:07:50 -05:00
Yaxun Sam Liu
05b5e30187
Use chrono instead of sys/time.h in test
...
sys/time.h is not available on Windows. Use C++11 <chrono> instead so that the tests
compile on Windows.
2019-01-20 00:05:27 -05:00
Evgeny Mankov
0206fadc14
[HIPIFY] option cuda-path might be used with '--' as well as with a single dash: '-'
...
+ Update README.md
2019-01-10 18:01:33 +03:00
Evgeny Mankov
fbfe005e4e
[HIPIFY] Introduce CUDA installation path option '-cuda-path'
...
Repeats clang's '--cuda-path' option.
[Reason]
In case of absence of any other clang's options setting '-cuda-path' allows not to specify separator '--' before clang's '--cuda-path'.
+ Tests and scripts are updated accordingly.
2019-01-09 20:18:36 +03:00
Maneesh Gupta
580c808400
Update hipAsynchronousStreams.cpp
...
This test needs to be excluded from nvcc platform
2019-01-07 09:26:21 +05:30