commit | 0374c9f180032ed1ecaf99bcfc97712f23a071a9 | [log] [tgz] |
---|---|---|
author | Pirama Arumuga Nainar <pirama@google.com> | Mon Feb 29 11:09:31 2016 -0800 |
committer | Pirama Arumuga Nainar <pirama@google.com> | Mon Feb 29 13:49:58 2016 -0800 |
tree | 4a032a59469f6b477c9f0fd9411b55634145ef14 | |
parent | eb7db9c2a20f5067d031f97da49bd0028ed23232 [diff] |
[RenderScript] Utility functions to generate random Float16 Allocations. http://b/23536224 The numbers are randomly generated in the range [MIN_NORMAL, 16.0]. To include negative numbers, about half of the generated numbers are negated. Some special Float16 values are also substituted randomly. Extreme values are included when corresponding parameter is set. Change-Id: I827bea2945387ccdac4704bb5ba1db978cab2d05