Searched refs:NPUManager (Results 1 – 7 of 7) sorted by relevance
27 int NPUManager::CompareVersion(const string &version1, const string &version2) { in CompareVersion()42 bool NPUManager::CheckEMUIVersion() { in CheckEMUIVersion()58 void NPUManager::Reset() { in Reset()79 bool NPUManager::CheckDDKVersion() { in CheckDDKVersion()95 bool NPUManager::IsSupportNPU() { in IsSupportNPU()112 bool NPUManager::IsKirinChip() { in IsKirinChip()146 int NPUManager::AddModel(std::shared_ptr<domi::ModelBufferData> model_buffer_data, const std::strin… in AddModel()156 std::shared_ptr<hiai::AiModelMngerClient> NPUManager::CreateAiModelMngerClient() { in CreateAiModelMngerClient()170 int NPUManager::LoadOMModel() { in LoadOMModel()229 std::shared_ptr<hiai::AiModelMngerClient> NPUManager::GetClient(const std::string &model_name) { in GetClient()[all …]
49 class NPUManager {51 explicit NPUManager(int frequency) : frequency_(frequency) {} in NPUManager() function53 ~NPUManager() { Reset(); } in ~NPUManager()
31 explicit NPUExecutor(const std::string &model_name, NPUManager *npu_manager = nullptr)48 NPUManager *npu_manager_ = nullptr;
29 NPUSubGraph(const std::vector<NPUOp *> &npu_ops, NPUManager *npu_manager) in NPUSubGraph()84 NPUManager *npu_manager_ = nullptr;
31 …NPUGraph(std::vector<NPUOp *> npu_ops, NPUManager *npu_manager, const std::vector<mindspore::MSTen… in NPUGraph()82 NPUManager *npu_manager_ = nullptr;
45 NPUManager *npu_manager_ = nullptr;
77 npu_manager_ = new (std::nothrow) NPUManager(frequency_); in Init()