Yes, you are right, LGTM, will push it later.
> -----Original Message----- > From: Beignet [mailto:[email protected]] On Behalf Of > Jan Vesely > Sent: Thursday, October 20, 2016 0:48 > To: [email protected] > Subject: [Beignet] [PATCH] libocl: Provide specs required CL_VERSION > macros > > Specs mandate CL_VERSION_X_Y without underscores. > > Signed-off-by: Jan Vesely <[email protected]> > --- > > I'm not sure if you want to keep the old underscored versions. I left them as > they were. > > backend/src/libocl/tmpl/ocl_defines.tmpl.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/backend/src/libocl/tmpl/ocl_defines.tmpl.h > b/backend/src/libocl/tmpl/ocl_defines.tmpl.h > index f840a82..f5c65df 100644 > --- a/backend/src/libocl/tmpl/ocl_defines.tmpl.h > +++ b/backend/src/libocl/tmpl/ocl_defines.tmpl.h > @@ -22,6 +22,9 @@ > #define __CL_VERSION_1_0__ 100 > #define __CL_VERSION_1_1__ 110 > #define __CL_VERSION_1_2__ 120 > +#define CL_VERSION_1_0 100 > +#define CL_VERSION_1_1 110 > +#define CL_VERSION_1_2 120 > #define __ENDIAN_LITTLE__ 1 > #define __IMAGE_SUPPORT__ 1 > #define __kernel_exec(X, TYPE) __kernel > __attribute__((work_group_size_hint(X,1,1))) \ > -- > 2.7.4 > > _______________________________________________ > Beignet mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/beignet
