After this binary_find kernel is compiled only once during binary_find algorithm execution instead of in every iteration of the while loop.