diff options
author | rander <rander.wang@intel.com> | 2017-06-19 13:20:47 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2017-07-04 10:04:59 +0800 |
commit | 3ece4846013dc213686a372ddf630e34e435ea5c (patch) | |
tree | 88bfbe6cdf491ce96b38ac606241e1efcabc7e10 /kernels/compiler_popcount.cl | |
parent | 7e1e128818c96736a5953e9ff9a566e680bec98a (diff) |
backend: refine math log function
remove a few unnecessary codes , and get 20% improvement
at worse case. If X is a NAN, there are some if-return
codes to return NAN. Now change it to add(x - x) which
get the same NAN
pass the conformance tests and utests
Signed-off-by: rander.wang <rander.wang@intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'kernels/compiler_popcount.cl')
0 files changed, 0 insertions, 0 deletions