[Piglit] [PATCH] cl: fix clCompileProgram compil error with CL1.1
Jan Vesely
jan.vesely at rutgers.edu
Fri Feb 6 12:01:14 PST 2015
On Fri, 2015-02-06 at 12:37 +0100, EdB wrote:
> On Thursday 05 February 2015 13:49:37 Jan Vesely wrote:
> > On Tue, 2015-01-06 at 21:23 +0100, EdB wrote:
> > > Ping
> >
> > pushed
> thanks
feel free to ping patches that need review/push, I'll try to find some
time this week to have a look.
alternatively you can login to patchwork[0] and cleanup the patches that
were superseded/accepted and still show up.
jan
[0] http://patchwork.freedesktop.org/project/piglit/list/
> >
> > > Le 2014-12-06 23:56, Jan Vesely a écrit :
> > > > On Sat, 2014-12-06 at 12:17 +0100, EdB wrote:
> > > >> Hello
> > > >>
> > > >> The bug is Verified.Fixed.
> > > >> I don't have commit access. Can someone push it?
> > > >
> > > > you can add
> > > > Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
> > > >
> > > > but I can't push changes
> > > >
> > > >> On Thursday 27 November 2014 12:38:52 EdB wrote:
> > > >> > This fix https://bugs.freedesktop.org/show_bug.cgi?id=86361
> > > >> > ---
> > > >> >
> > > >> > tests/cl/api/compile-program.c | 6 ++++++
> > > >> > 1 file changed, 6 insertions(+)
> > > >> >
> > > >> > diff --git a/tests/cl/api/compile-program.c
> > > >> > b/tests/cl/api/compile-program.c index d280f98..54adecc 100644
> > > >> > --- a/tests/cl/api/compile-program.c
> > > >> > +++ b/tests/cl/api/compile-program.c
> > > >> > @@ -70,6 +70,7 @@ const char* empty_strings[] = {
> > > >> >
> > > >> > ""
> > > >> >
> > > >> > };
> > > >> >
> > > >> > +#if defined(CL_VERSION_1_2)
> > > >> >
> > > >> > static bool
> > > >> > test(cl_program program,
> > > >> >
> > > >> > cl_uint num_devices, const cl_device_id *device_list,
> > > >> >
> > > >> > @@ -96,6 +97,7 @@ test(cl_program program,
> > > >> >
> > > >> > return true;
> > > >> >
> > > >> > }
> > > >> >
> > > >> > +#endif
> > > >> >
> > > >> > enum piglit_result
> > > >> > piglit_cl_test(const int argc,
> > > >> >
> > > >> > @@ -103,6 +105,7 @@ piglit_cl_test(const int argc,
> > > >> >
> > > >> > const struct piglit_cl_api_test_config* config,
> > > >> > const struct piglit_cl_api_test_env* env)
> > > >> >
> > > >> > {
> > > >> >
> > > >> > +#if defined(CL_VERSION_1_2)
> > > >> >
> > > >> > enum piglit_result result = PIGLIT_PASS;
> > > >> >
> > > >> > int i;
> > > >> >
> > > >> > @@ -363,4 +366,7 @@ piglit_cl_test(const int argc,
> > > >> >
> > > >> > clReleaseProgram(program);
> > > >> >
> > > >> > return result;
> > > >> >
> > > >> > +#else
> > > >> > + return PIGLIT_SKIP;
> > > >> > +#endif
> > > >> >
> > > >> > }
> > > >>
> > > >> _______________________________________________
> > > >> Piglit mailing list
> > > >> Piglit at lists.freedesktop.org
> > > >> http://lists.freedesktop.org/mailman/listinfo/piglit
>
--
Jan Vesely <jan.vesely at cs.rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150206/8b403bbb/attachment.sig>
More information about the Piglit
mailing list