add built-in function "atan2"
authorHomer Hsing <homer.xing@intel.com>
Thu, 29 Aug 2013 05:41:24 +0000 (13:41 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 11 Sep 2013 07:05:51 +0000 (15:05 +0800)
commitd02d0ebca3bc8d05eb9784ffaf1019d805a98790
tree614c432f75d15ccd5621a9ef06c125d49008e19a
parentb8f59bed9098a34278747a50f61960bea30fae31
add built-in function "atan2"

also improve the accuracy of built-in function "atan"
also add a test case

Signed-off-by: Homer Hsing <homer.xing@intel.com>
Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
backend/src/builtin_vector_proto.def
backend/src/ocl_stdlib.tmpl.h
kernels/builtin_atan2.cl [new file with mode: 0644]
utests/CMakeLists.txt
utests/builtin_atan2.cpp [new file with mode: 0644]