How to determine the number of registers used by the kernel in OpenCL

I know that in CUDA, it can be seen with “keepit” option for nvcc, and it is also in the cubin file. But in OpenCL, I can only get the binaries with clGetProgramInfo(). In the binary file, I saw big numbers of register used. It is said that they are not true numbers, the actual registers are reused, so, much less than that. How can I get the exact number of registers with OpenCL? Thanks!