Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/utils/common/src/
DCommonUtils.cpp68 void copyPointersToSharedMemory(nn::Operand* operand, nn::ConstantMemoryBuilder* memoryBuilder) { in copyPointersToSharedMemory() argument
70 CHECK(memoryBuilder != nullptr); in copyPointersToSharedMemory()
80 operand->location = memoryBuilder->append(data, operand->location.length); in copyPointersToSharedMemory()
84 nn::ConstantMemoryBuilder* memoryBuilder) { in copyPointersToSharedMemory() argument
87 [memoryBuilder](auto& operand) { in copyPointersToSharedMemory()
88 copyPointersToSharedMemory(&operand, memoryBuilder); in copyPointersToSharedMemory()
187 nn::ConstantMemoryBuilder memoryBuilder(modelInShared.pools.size()); in flushDataFromPointerToShared() local
188 copyPointersToSharedMemory(&modelInShared.main, &memoryBuilder); in flushDataFromPointerToShared()
190 [&memoryBuilder](auto& subgraph) { in flushDataFromPointerToShared()
191 copyPointersToSharedMemory(&subgraph, &memoryBuilder); in flushDataFromPointerToShared()
[all …]