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

Function getCudnnVersion

src/backend/cuda/cudnnModule.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67Version getCudnnVersion(const LibHandle& handle) {
68 std::function<size_t()> fptr(reinterpret_cast<size_t (*)()>(
69 common::getFunctionPointer(handle, "cudnnGetVersion")));
70 size_t v = fptr();
71
72 return cudnnVersionComponents(v);
73}
74
75cudnnModule::cudnnModule()
76 : module({"cudnn"}, {"", "64_8", "64_7", "64_6", "64_5", "64_4"}, {""},

Callers

nothing calls this directly

Calls 2

cudnnVersionComponentsFunction · 0.85
getFunctionPointerFunction · 0.50

Tested by

no test coverage detected