| 139 | } |
| 140 | |
| 141 | string 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 | |
| 150 | namespace arrayfire { |
| 151 | namespace common { |
no test coverage detected