commit | 671bd0365befbe5ab80acd9724b2302337685cdc | [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 20:24:40 2016 -0700 |
tree | 8e0dd1c3aa6b0c8a48d22085b9ff181fba5e5930 | |
parent | d17de145e31d91ec3a8edd2e989019d299718c06 [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 (cherry picked from commit 2173a9968276b2b91b7ed3d0a76d9e642710843b)