Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.2/utils/src/
DExecutionBurstServer.cpp93 std::vector<int32_t> unknownSlots = slots; in ensureCacheEntriesArePresentLocked() local
94 std::sort(unknownSlots.begin(), unknownSlots.end()); in ensureCacheEntriesArePresentLocked()
95 auto unknownSlotsEnd = std::unique(unknownSlots.begin(), unknownSlots.end()); in ensureCacheEntriesArePresentLocked()
96 unknownSlotsEnd = std::remove_if(unknownSlots.begin(), unknownSlotsEnd, slotIsKnown); in ensureCacheEntriesArePresentLocked()
97 unknownSlots.erase(unknownSlotsEnd, unknownSlots.end()); in ensureCacheEntriesArePresentLocked()
100 if (unknownSlots.empty()) { in ensureCacheEntriesArePresentLocked()
106 const auto ret = kBurstCallback->getMemories(unknownSlots, cb); in ensureCacheEntriesArePresentLocked()
111 if (returnedMemories.size() != unknownSlots.size()) { in ensureCacheEntriesArePresentLocked()
115 << unknownSlots.size() << ") and returned memories (" << returnedMemories.size() in ensureCacheEntriesArePresentLocked()
120 for (size_t i = 0; i < unknownSlots.size(); ++i) { in ensureCacheEntriesArePresentLocked()
[all …]