EasyCL icon indicating copy to clipboard operation
EasyCL copied to clipboard

Adding loading cache kernel with clCreateProgramWithBinary

Open hksonngan opened this issue 10 years ago • 1 comments

everty time compiling kernel in AMD and Nvidia speed is acceptable but in Intel it quite slow (my GPU Intel HD4000 compile cl file with 600 line it take over 2 minutes) So we can save compiled kernel with clGetProgramInfo( _program, CL_PROGRAM_BINARIES, sizeof( unsigned char* ) * nDevices, pgBinaries, NULL ); and next time loading clCreateProgramWithBinary

hksonngan avatar Aug 14 '15 08:08 hksonngan

Yes... but I dont have time to do that right now. Is this something you might consider looking into?

hughperkins avatar Aug 14 '15 10:08 hughperkins