Fix the CUDA 7 kernel issue for fact const