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

Function getKernelCacheFilename

src/backend/cuda/compile_module.cpp:141–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141string getKernelCacheFilename(const int device, const string &key) {
142 const auto computeFlag = getComputeCapability(device);
143 const string computeVersion =
144 to_string(computeFlag.first) + to_string(computeFlag.second);
145
146 return "KER" + key + "_CU_" + computeVersion + "_AF_" +
147 to_string(AF_API_VERSION_CURRENT) + ".bin";
148}
149
150namespace arrayfire {
151namespace common {

Callers 2

compileModuleFunction · 0.70
loadModuleFromDiskFunction · 0.70

Calls 2

getComputeCapabilityFunction · 0.85
to_stringFunction · 0.85

Tested by

no test coverage detected