Hi Xiuli, The patch is OK for me. I would like this to be merged into OCL20 branch first. Have you done some test against master branch? I just want to make sure it does not break anything in OpenCL 1.2.
Thanks! Ruiling > -----Original Message----- > From: Beignet [mailto:[email protected]] On Behalf Of > Xiuli Pan > Sent: Tuesday, March 22, 2016 2:09 PM > To: [email protected] > Cc: Pan, Xiuli <[email protected]> > Subject: [Beignet] [PATCH] Backend: Clang now support static, fix now > > From: Pan Xiuli <[email protected]> > > Signed-off-by: Pan Xiuli <[email protected]> > --- > backend/src/libocl/include/ocl_types.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/backend/src/libocl/include/ocl_types.h > b/backend/src/libocl/include/ocl_types.h > index 88e5642..2ae1562 100644 > --- a/backend/src/libocl/include/ocl_types.h > +++ b/backend/src/libocl/include/ocl_types.h > @@ -37,8 +37,6 @@ > #define PURE __attribute__((pure)) > #define CONST __attribute__((const)) > #define INLINE_OVERLOADABLE inline > __attribute__((overloadable,always_inline)) > -// FIXME, clang's opencl FE doesn't support static. > -#define static > > ///////////////////////////////////////////////////////////////////////////// > // OpenCL built-in scalar data types > -- > 2.5.0 > > _______________________________________________ > Beignet mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/beignet
