Simple fixes for program path and CUDA setting

A simple pull request for fixing the program path and choosing proper thread number setting.