how to find the size of executable created by clbuildprogram in opencl

Hi,

I am getting an issue while running opencv-cl on qualcomm 800 series board (GPU: adreno 330, platform: android), i am getting error “CL_OUT_OF_HOST_MEMORY” while calling clbuildprogram function, i have checked all the arguments being passed to that function,they are okay, i have checked the memory being used for allocations on host before that call is 4MB, the size of file cl being passed to clCreateProgramWithSource is about 20KB, i have seen build log by pulling log using clprogrambuildinfo function, that log is also empty. I am unable to find out , what is the reason for occurrence of this error, can you tell me that is there any possibility to check the size being taken for building and linking files in clBuildProgram.

Thanks,
Shabuddin