commit | 2173a9968276b2b91b7ed3d0a76d9e642710843b | [log] [tgz] |
---|---|---|
author | Pirama Arumuga Nainar <pirama@google.com> | Thu Mar 31 15:14:08 2016 -0700 |
committer | Pirama Arumuga Nainar <pirama@google.com> | Thu Mar 31 15:14:08 2016 -0700 |
tree | 71c51eef5f28a6cedc1dabbe4d545787e816b854 | |
parent | b87fbbf700aea11f3beb939cb08fc6b8a2fc76aa [diff] |
Define Float16 clamp Bug: http://b/27366867 clamp is defined in two files: driver/runtime/arch/generic.c (used to build libclcore for most architectures) and driver/runtime/arch/clamp.c (used to build libclcore for AArch64, ARM32 with Neon). I had added Float16 clamp in clamp.c but not in generic.c. This CL adds the functions to arch/generic.c. Change-Id: I26df4f1efec6e909c786baf132d6c296b5a3468f