[Mesa-dev] [PATCH] clover: fix piglit cl-api-build-program test

EdB edb+mesa at sigluy.net
Sat Aug 16 08:08:40 PDT 2014


On Saturday, August 16, 2014 04:37:08 PM Francisco Jerez wrote:
> EdB <edb+mesa at sigluy.net> writes:
> > program build should failed if there is created kernel attached to program
> > 
> > piglit error:
> > "Trigger CL_INVALID_OPERATION if there are kernel objects attached to
> > program">
> >[...]
> 
> How about doing it as follows?
I used a counter related  to clRetain and clRelease because I was concerned 
that internally life of core object is not linked to api object.
ie a clKernel could have released (one clCreate, one clRealease) but clover 
may still using it and prevent a new build.
To be fair, I didn't found such case at that moment.


More information about the mesa-dev mailing list