MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getCUDARuntimeVersion

Function getCUDARuntimeVersion

src/backend/cuda/platform.cpp:329–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329string 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
338int &getMaxJitSize() {
339 constexpr int MAX_JIT_LEN = 100;

Callers 2

getPlatformInfoFunction · 0.85
devpropFunction · 0.85

Calls 1

int_version_to_stringFunction · 0.85

Tested by

no test coverage detected