improve compatibility with new nvidia GPUs (resolves #880)
Merge pull request #1030 from MichaelKorn/cuda

improve compatibility with new nvidia GPUs (resolves #880)