Add the test case for builtin abs() function
authorJunyan He <junyan.he@linux.intel.com>
Mon, 1 Jul 2013 07:00:35 +0000 (15:00 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Mon, 1 Jul 2013 08:50:38 +0000 (16:50 +0800)
commit80d0a54d08a97a9bce2bbafd35f7d24fce859aaf
tree4aa9803e2ede4cb6a8b870ef3a1cc45dcf987f51
parente13b048a84c677a74a1a538b1d204241e62f8de0
Add the test case for builtin abs() function

All the integer value types check are supported.
Please use the case named compiler_abs_xxxx,
where xxxx means the data type such as int2, char4

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: Xing, Homer <homer.xing@intel.com>
Reviewed-by: Song, Ruiling <ruiling.song@intel.com>
kernels/compiler_abs.cl [new file with mode: 0644]
utests/CMakeLists.txt
utests/compiler_abs.cpp [new file with mode: 0644]