Changing block size on compiled programm.

Hi everyone.
I have a question, and hope some one can answer to me, or suggest to find the solution for my problem.
So, question is: “May I change the kernel execution block sizes in already compiled program during the execution?”. I need to meassure performance of the kernels on different grids.

Sorry for my bad English.