Add general reduction test cases demonstrating distinguished initializers.
New kernels look for a float input value of minimum absolute value.
Such a kernel requires a distinguished initializer outside the input domain,
and must explicitly check for and specially handle an accumulator with
this distinguished value. Two different kernels show two different
variations of this approach, demonstrating particular patterns that can
arise when writing reduction kernels.
Also, when generating input data consisting of pseudorandom floats,
include negative floats.
Bug: 23535724
Change-Id: I79441bb63fae44fb50a32213458d4980ce16b477
2 files changed