| 201 | } |
| 202 | |
| 203 | static inline int getMinSupportedCompute(int cudaMajorVer) { |
| 204 | int CVSize = static_cast<int>(minSV.size()); |
| 205 | return (cudaMajorVer > CVSize ? minSV[CVSize - 1] |
| 206 | : minSV[cudaMajorVer - 1]); |
| 207 | } |
| 208 | |
| 209 | bool isEmbedded(pair<int, int> compute) { |
| 210 | int version = compute.first * 1000 + compute.second * 10; |