General reduction test improvement and bug fixes.
Improved testing (UT_reduce.java):
- Add addint3D test.
- Execute 2D and 3D tests over a range of sizes.
Bug fixes:
- Fix bug in fz3 kernel (combiner function).
- Fix bug in UT_reduce_backward.java findMinAndMax test (copy fix from UT_reduce.java).
- In UT_reduce.java (which creates a very large number of Allocations), explicitly
invoke Allocation.destroy() to avoid out-of-native-memory problems.
Bug: 27299475
Change-Id: I939a329af9f92e57bc8aa4c22db2b56996f1ff88
(cherry picked from commit d41c224c3e1e31e29d225e51b994d689022cfd07)
3 files changed