From: Homer Hsing Date: Fri, 4 Jan 2013 01:23:18 +0000 (+0800) Subject: more test case for OpenCL 1.1 integer built-in macros X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05d3e0f7c670adff764b86bcc812b7b73e1b81a0;p=contrib%2Fbeignet.git more test case for OpenCL 1.1 integer built-in macros --- diff --git a/kernels/compiler_integer_builtin.cl b/kernels/compiler_integer_builtin.cl index 865b91c..4faacd6 100644 --- a/kernels/compiler_integer_builtin.cl +++ b/kernels/compiler_integer_builtin.cl @@ -2,6 +2,7 @@ __kernel void compiler_integer_builtin() { int i = 0, i1 = -1, i2 = -2; unsigned u = 1, u1 = 2, u2 = 3; + i = CHAR_MAX; i = abs(u); i = abs_diff(u1, u2); i = add_sat(i1, i2);