Hello, I'm using Odroid-XU3.
And I installed Opencv 3.0.0-rc1 on odroid-xu3 ubuntu 14.04.
I want to use function clCreateProgramWithBinary() instead of clCreateProgramWithSource().
Because of build time for clCreateProgramWithSource() and clBuildProgram(), my application using opencl is very slow than using opencv.
Is there offline compiler for Mali-T628 MP6 OpenCL?
Thanks.
Hi,
The OpenCL offline compiler is not currently publicly available, but should be available very soon (Probably with the next version of the driver).
Thanks,
Anthony
Sorry, I kind of missed the point here: you don't actually need the offline compiler to generate a kernel binary, you can use clGetProgramInfo():
size_t size; size_t size_ret; clGetProgramInfo( p, CL_PROGRAM_BINARY_SIZES, 1, &size, &size_ret ); assert( 1 == size_ret ); void *binary = malloc( size ); clGetProgramInfo( p, CL_PROGRAM_BINARIES, 1, &binary, &size_ret );
Note: The performance of this code path improved *a lot* since r5p0, so if the performance on your device is still not great, please patient until the new version of the driver comes out
Thank you very much!!!
I'lll try it!
Hi zz5414,
Just so you know the v5.0 of the offline compiler (With OpenCL support) has now been officially released: http://malideveloper.arm.com/develop-for-mali/tools/software-tools/mali-offline-compiler/