fix program path.
choose proper thread number per block according to CUDA architecture.
Merge pull request #62 from viirya/master

Fix example path + set number of CUDA threads according to architecture