Relax cusparse windows guard on cuda 11 (#42412)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/42406
### cusparse Xcsrmm2 API:
(https://github.com/pytorch/pytorch/issues/37202)
- new: https://docs.nvidia.com/cuda/cusparse/index.html#cusparse-generic-function-spmm
- old (deprecated in cuda 11): https://docs.nvidia.com/cuda/archive/10.2/cusparse/index.html#csrmm2
Before:
|cuda ver | windows | linux |
|--|--|--|
| 10.1 | old api | old api |
| 10.2 | old api | new api |
| 11 | old api (build error claimed in https://github.com/pytorch/pytorch/issues/42406) | new api |
After:
|cuda ver | windows | linux |
|--|--|--|
| 10.1 | old api | old api |
| 10.2 | old api | **old api** |
| 11 | **new api** | new api |
### cusparse bmm-sparse-dense API
<details><summary>reverted, will be revisited in the future</summary>
(cc kurtamohler https://github.com/pytorch/pytorch/issues/33430)
- new: https://docs.nvidia.com/cuda/cusparse/index.html#cusparse-generic-function-spmm
Before:
|cuda ver | windows | linux |
|--|--|--|
| 10.1 | not supported | new api |
| 10.2 | not supported | new api |
| 11 | not supported | new api |
After:
|cuda ver | windows | linux |
|--|--|--|
| 10.1 | not supported | new api |
| 10.2 | not supported | new api |
| 11 | **new api** | new api |
</details>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/42412
Reviewed By: agolynski
Differential Revision: D22892032
Pulled By: ezyang
fbshipit-source-id: cded614af970f0efdc79c74e18e1d9ea8a46d012