summaryrefslogtreecommitdiff
path: root/kernels/compiler_group_size.cl
diff options
context:
space:
mode:
authorRuiling Song <ruiling.song@intel.com>2013-08-30 16:29:32 +0800
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-08-30 16:33:10 +0800
commitb6c4b6968fe9788f4ca0233c910af7b66d4636b5 (patch)
tree1738d26d1cb6c90ca5a5e41121403035de557724 /kernels/compiler_group_size.cl
parent287a250f1925b0d84e7585c2707ea2409c15fb1b (diff)
downloadbeignet-b6c4b6968fe9788f4ca0233c910af7b66d4636b5.tar.gz
Fix utest compiler_group_size4 error.
Per opencl spec, bitfield is not supported. Signed-off-by: Ruiling Song <ruiling.song@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'kernels/compiler_group_size.cl')
-rw-r--r--kernels/compiler_group_size.cl6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernels/compiler_group_size.cl b/kernels/compiler_group_size.cl
index 0fe88c1a..4e2c3337 100644
--- a/kernels/compiler_group_size.cl
+++ b/kernels/compiler_group_size.cl
@@ -11,9 +11,9 @@ compiler_group_size(__global unsigned int *dst)
}
struct xyz{
- unsigned b:16;
- unsigned e:16;
- unsigned o;
+ unsigned short b;
+ unsigned short e;
+ unsigned int o;
};
__kernel void