Home
last modified time | relevance | path

Searched refs:bin_f (Results 1 – 1 of 1) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/kash/
Dkernel_pack.cc103 std::string bin_f = json_f.substr(0, json_f.length() - 5) + ".ptx"; in ReadFromJsonFile() local
104 std::ifstream kernelbin(bin_f); in ReadFromJsonFile()
118 if (!CheckHash(json_f, bin_f, js)) { in ReadFromJsonFile()
135 std::string bin_f = json_f.substr(0, json_f.length() - 5) + binfile_suffix; in ReadFromJsonFile() local
138 auto sp = bin_f.rfind('/'); in ReadFromJsonFile()
140 MS_LOG(ERROR) << "illegal bin file path " << bin_f; in ReadFromJsonFile()
144 bin_f = bin_f.substr(0, sp + 1) + "lib" + bin_f.substr(sp + 1, bin_f.length() - sp - 1); in ReadFromJsonFile()
147 std::ifstream kernelbin(bin_f, std::ios::binary); in ReadFromJsonFile()
156 MS_LOG(INFO) << "kernelbin_name:" << bin_f; in ReadFromJsonFile()
165 if (!CheckHash(json_f, bin_f, js)) { in ReadFromJsonFile()
[all …]