fix builtin function "fmax"
authorHomer Hsing <homer.xing@intel.com>
Fri, 8 Nov 2013 07:35:41 +0000 (15:35 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Mon, 11 Nov 2013 05:42:36 +0000 (13:42 +0800)
commit18c49179cd9cd92dac5007f1b9bc0542478cb3c8
tree3e9652dfed0d25ac6c934e7f804c1c281e868b37
parent8c708167d17c2cd4f6c9740f7364513d0ef08156
fix builtin function "fmax"

if an parameter is nan, then returns another parameter.

v2: no need to test nan for integer
Signed-off-by: Homer Hsing <homer.xing@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/ocl_stdlib.tmpl.h