GBE: fix error in the rootn fastpath function for some special input.
authorZhigang Gong <zhigang.gong@intel.com>
Fri, 29 Aug 2014 02:04:38 +0000 (10:04 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 2 Sep 2014 04:44:16 +0000 (12:44 +0800)
commitbfa6135c9e7a53d2aab21c8c3257e85eb61b1212
tree1cf72e8a283ff68c2d2941eb642ff46cf751568c
parent8e1c54f415af9d7c09bd240dbdf4a49cbb5b2727
GBE: fix error in the rootn fastpath function for some special input.

The fastpath is to lose some accuracy but get fast speed. It is not
to generate error result. The rootn has many special input and need
to be taken care before we call the native pow directly.
This patch fix all the pow related failures at the OpenCV 3.0 test
suite.

Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
backend/src/ocl_stdlib.tmpl.h