Optimize compile flags and rename Kernel name