Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DExecutionBuilder.cpp245 uint32_t poolIndex = mMemories.add(memory); in setInputFromMemory()
326 uint32_t poolIndex = mMemories.add(memory); in setOutputFromMemory()
1071 const RuntimeMemory* memory = mMemories[p.locationAndLength().poolIndex]; in compute()
1191 const RuntimeMemory* memory = mMemories[output.locationAndLength().poolIndex]; in updateMemories()
1206 const RuntimeMemory* memory = mMemories[output.locationAndLength().poolIndex]; in finishComputation()
1387 mMemories = mExecutionBuilder->mMemories; in mapInputsAndOutputsTrivially()
1414 const RuntimeMemory* memory = mExecutionBuilder->mMemories[builderPoolIndex]; in mapInputOrOutput()
1415 const uint32_t executorPoolIndex = mMemories.add(memory); in mapInputOrOutput()
1430 uint32_t poolIndex = mMemories.add(memory); in setInputOrOutputFromMemory()
1498 mInputs, mOutputs, mMemories.getObjects(), measure, loopTimeoutDuration, in getReusableExecution()
[all …]
DModelBuilder.cpp309 uint32_t poolIndex = mMemories.add(mLargeValueMemory.get()); in copyLargeValuesToSharedMemory()
356 operand.location = {.poolIndex = mMemories.add(memory), in setOperandValueFromMemory()
913 MemoryTracker mMemories; member in android::nn::ModelBuilder::ModelMaker
939 model.pools.reserve(mMemories.size()); in makeModel()
940 std::transform(mMemories.begin(), mMemories.end(), std::back_inserter(model.pools), in makeModel()
969 operand.location.poolIndex = mMemories.add(refModel->mMemories[originalPoolIndex]); in updateOperandLocations()
DExecutionBuilder.h154 return mMemories[poolIndex]->getRunTimePoolInfo(); in getRunTimePoolInfo()
207 MemoryTracker mMemories; variable
471 MemoryTracker mMemories; variable
DModelBuilder.h111 const MemoryTracker& getMemories() const { return mMemories; } in getMemories()
216 MemoryTracker mMemories; variable
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp294 const WrapperMemory* memory = &mMemories[std::get<0>(regionDescriptor)]; in getRegion()
318 std::vector<WrapperMemory> mMemories; member in android::__anon4ae2a5140111::TestMemories
336 mMemories.emplace_back(memory); in layout()
DTestValidation.cpp253 for (auto* memory : mMemories) ANeuralNetworksMemory_free(memory); in TearDown()
271 mMemories.push_back(ashmem); in createAshmem()
276 std::vector<ANeuralNetworksMemory*> mMemories; member in __anon6395cfc60111::ValidationTestMemoryDesc