Minor correction concerning compilation compatibility with CUDA 9.0
authorSeyyed Hossein Hasanpour <coderx7@gmail.com>
Mon, 9 Apr 2018 05:36:49 +0000 (10:06 +0430)
committerWook Song <wook16.song@samsung.com>
Thu, 23 Jan 2020 13:50:39 +0000 (22:50 +0900)
commit9579fd2ef0408871805b93cc98a10a0e759c37dd
tree25dd176053d9067a7ac60032a173e9d1ada95ad2
parent31cae2770e0417a3eb63338b9bbe27f1e68bc2cf
Minor correction concerning compilation compatibility with CUDA 9.0

Since CUDA 9.0 doesn't support sm_20 and sm_21 anymore. This PR allows Caffe to compile with CUDA 9.0 and newer versions successfully.
This addresses the discussion concerning [#6237](https://github.com/BVLC/caffe/pull/6237) in [master (#6237)](https://github.com/BVLC/caffe/commit/cb150eca6d593ddb85e53acd05b8dcf709ea8337#diff-2004a3d3e6b4ed2e2812bb0b4b998f18)
cmake/Cuda.cmake