Fix CUDA CC support.
- Auto fallback to highest compute capability
- Add env variables to force CC
Merge pull request #641 from sklam/cuda_cc50

Fix CUDA CC support.