fix #3296 : Unsupported gpu architecture 'compute_21'
Merge pull request #1556 from jet47:fix-bug-3296