Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/core/src/android/text/
DPrecomputedTextMemoryUsageTest.java64 int[] memories = new int[TRIAL_COUNT]; in testMemoryUsage_Latin_NoHyphenation() local
72 memories[i] = PrecomputedText.create( in testMemoryUsage_Latin_NoHyphenation()
76 reportMemoryUsage(median(memories), "MemoryUsage_Latin_NoHyphenation"); in testMemoryUsage_Latin_NoHyphenation()
82 int[] memories = new int[TRIAL_COUNT]; in testMemoryUsage_Latin_Hyphenation() local
90 memories[i] = PrecomputedText.create( in testMemoryUsage_Latin_Hyphenation()
94 reportMemoryUsage(median(memories), "MemoryUsage_Latin_Hyphenation"); in testMemoryUsage_Latin_Hyphenation()
100 int[] memories = new int[TRIAL_COUNT]; in testMemoryUsage_CJK_NoHyphenation() local
108 memories[i] = PrecomputedText.create( in testMemoryUsage_CJK_NoHyphenation()
112 reportMemoryUsage(median(memories), "MemoryUsage_CJK_NoHyphenation"); in testMemoryUsage_CJK_NoHyphenation()
118 int[] memories = new int[TRIAL_COUNT]; in testMemoryUsage_CJK_Hyphenation() local
[all …]
/frameworks/ml/nn/runtime/
DManager.cpp138 const std::vector<const Memory*>& memories,
146 const std::vector<const Memory*>& memories, const std::vector<int>& waitFor,
283 std::vector<const Memory*>* memories) { in allocatePointerArgumentsToPool() argument
284 CHECK(memories != nullptr); in allocatePointerArgumentsToPool()
286 const uint32_t nextPoolIndex = memories->size(); in allocatePointerArgumentsToPool()
310 memories->push_back(memory.get()); in allocatePointerArgumentsToPool()
325 const std::vector<const Memory*>& memories, in execute() argument
332 std::vector<const Memory*> localMemories = memories; in execute()
433 const std::vector<const Memory*>& memories, const std::vector<int>& waitFor, in executeFenced() argument
440 std::vector<const Memory*> localMemories = memories; in executeFenced()
[all …]
DExecutionBuilder.cpp1082 const std::optional<Deadline>& deadline, const std::vector<const Memory*>& memories, in computeWithMemories() argument
1095 mInputs, mOutputs, memories, burstController, measure, deadline, loopTimeoutDuration); in computeWithMemories()
1147 std::vector<const Memory*> memories = mMemories.getObjects(); in computeOnCpuFallback() local
1148 std::vector<bool> isUsedAsInput(memories.size(), false); in computeOnCpuFallback()
1149 std::vector<bool> isUsedAsOutput(memories.size(), false); in computeOnCpuFallback()
1173 for (uint32_t i = 0; i < memories.size(); i++) { in computeOnCpuFallback()
1187 memories[i] = blobAhwb.get(); in computeOnCpuFallback()
1192 auto [nCompute, outputShapes, timing] = computeWithMemories({}, memories); in computeOnCpuFallback()
1198 for (uint32_t i = 0; i < memories.size(); i++) { in computeOnCpuFallback()
1201 n = copyHidlMemoryToIBuffer(memories[i]->getHidlMemory(), memory->getIBuffer(), {}); in computeOnCpuFallback()
DManager.h60 const std::vector<const Memory*>& memories,
71 const std::vector<const Memory*>& memories, const std::vector<int>& waitFor,
DExecutionBuilder.h291 const std::optional<Deadline>& deadline, const std::vector<const Memory*>& memories,
/frameworks/ml/nn/common/
DExecutionBurstController.cpp399 hidl_vec<hidl_memory> memories(slots.size()); in getMemories() local
400 std::transform(slots.begin(), slots.end(), memories.begin(), [this](int32_t slot) { in getMemories()
405 if (!std::all_of(memories.begin(), memories.end(), in getMemories()
412 cb(V1_0::ErrorStatus::NONE, std::move(memories)); in getMemories()
417 const hidl_vec<hidl_memory>& memories, const std::vector<intptr_t>& keys) { in getSlots() argument
422 slots.reserve(memories.size()); in getSlots()
423 for (size_t i = 0; i < memories.size(); ++i) { in getSlots()
424 slots.push_back(getSlotLocked(memories[i], keys[i])); in getSlots()
DExecutionBurstServer.cpp586 const hidl_vec<hidl_memory>& memories) { in ensureCacheEntriesArePresentLocked() argument
588 returnedMemories = memories; in ensureCacheEntriesArePresentLocked()
/frameworks/ml/nn/common/include/
DExecutionBurstController.h254 std::vector<int32_t> getSlots(const hardware::hidl_vec<hardware::hidl_memory>& memories,
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t344 * and similar memories.