Re: [Mesa-dev] [PATCH] clover: Cache serialized binaries

2014-06-16 Thread Tom Stellard
On Sun, Jun 15, 2014 at 01:08:14PM +0200, Francisco Jerez wrote: > Tom Stellard writes: > > > We were serializing the binaries once when clGetProgramInfo was called > > with CL_PROGRAM_BINARY_SIZES and then again when it was called with > > CL_PROGRAM_BINARIES. This was slowing down some OpenCV

Re: [Mesa-dev] [PATCH] clover: Cache serialized binaries

2014-06-15 Thread Francisco Jerez
Tom Stellard writes: > We were serializing the binaries once when clGetProgramInfo was called > with CL_PROGRAM_BINARY_SIZES and then again when it was called with > CL_PROGRAM_BINARIES. This was slowing down some OpenCV tests which were > building binary kernel caches. > > This improves the run

[Mesa-dev] [PATCH] clover: Cache serialized binaries

2014-06-13 Thread Tom Stellard
We were serializing the binaries once when clGetProgramInfo was called with CL_PROGRAM_BINARY_SIZES and then again when it was called with CL_PROGRAM_BINARIES. This was slowing down some OpenCV tests which were building binary kernel caches. This improves the run-time of OpenCV's OCL_ImgProc/CvtC