LGTM, pushed, thanks.
On Fri, Aug 30, 2013 at 04:29:32PM +0800, Ruiling Song wrote: > Per opencl spec, bitfield is not supported. > > Signed-off-by: Ruiling Song <[email protected]> > --- > kernels/compiler_group_size.cl | 6 +++--- > utests/compiler_group_size.cpp | 6 +++--- > 2 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/kernels/compiler_group_size.cl b/kernels/compiler_group_size.cl > index 0fe88c1..4e2c333 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 > diff --git a/utests/compiler_group_size.cpp b/utests/compiler_group_size.cpp > index 02544b2..724d6e8 100644 > --- a/utests/compiler_group_size.cpp > +++ b/utests/compiler_group_size.cpp > @@ -2,9 +2,9 @@ > #include <string.h> > > struct xyz{ > - unsigned b:16; > - unsigned e:16; > - unsigned o; > + unsigned short b; > + unsigned short e; > + unsigned int o; > }; > > void compiler_group_size1(void) > -- > 1.7.9.5 > > _______________________________________________ > Beignet mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
