| 327 | } |
| 328 | |
| 329 | string getCUDARuntimeVersion() noexcept { |
| 330 | int runtime = 0; |
| 331 | if (cudaSuccess == cudaRuntimeGetVersion(&runtime)) { |
| 332 | return int_version_to_string(runtime); |
| 333 | } else { |
| 334 | return int_version_to_string(CUDA_VERSION); |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | int &getMaxJitSize() { |
| 339 | constexpr int MAX_JIT_LEN = 100; |
no test coverage detected