Skip to content

Commit

Permalink
update mTuneLws when updateCache is called.
Browse files Browse the repository at this point in the history
huangzhengxiang committed Dec 10, 2024
1 parent 2b899c1 commit c1889ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions express/Executor.cpp
Original file line number Diff line number Diff line change
@@ -376,9 +376,9 @@ void Executor::RuntimeManager::updateCache() {
MNN_PRINT("Update cache to %s, size = %zu\n", mInside->mCache->cacheFile.c_str(), buffer.second);
writeCacheFile(mInside->mCache, buffer);
mInside->mCache->lastCacheSize = buffer.second;
// Reset cache
loadCache(mInside->mInfo, buffer.first, buffer.second);
}
// Reset cache
loadCache(mInside->mInfo, nullptr, 0);
}

std::vector<bool> Executor::RuntimeManager::isBackendSupport(const std::vector<MNNForwardType> types) {

0 comments on commit c1889ce

Please sign in to comment.