| 207 | } |
| 208 | |
| 209 | bool isEmbedded(pair<int, int> compute) { |
| 210 | int version = compute.first * 1000 + compute.second * 10; |
| 211 | return end(jetsonComputeCapabilities) != |
| 212 | find(begin(jetsonComputeCapabilities), |
| 213 | end(jetsonComputeCapabilities), version); |
| 214 | } |
| 215 | |
| 216 | bool checkDeviceWithRuntime(int runtime, pair<int, int> compute) { |
| 217 | auto rt = find_if( |
no test coverage detected