Searched refs:memoryBuilder (Results 1 – 1 of 1) sorted by relevance
68 void copyPointersToSharedMemory(nn::Operand* operand, nn::ConstantMemoryBuilder* memoryBuilder) { in copyPointersToSharedMemory() argument70 CHECK(memoryBuilder != nullptr); in copyPointersToSharedMemory()80 operand->location = memoryBuilder->append(data, operand->location.length); in copyPointersToSharedMemory()84 nn::ConstantMemoryBuilder* memoryBuilder) { in copyPointersToSharedMemory() argument87 [memoryBuilder](auto& operand) { in copyPointersToSharedMemory()88 copyPointersToSharedMemory(&operand, memoryBuilder); in copyPointersToSharedMemory()187 nn::ConstantMemoryBuilder memoryBuilder(modelInShared.pools.size()); in flushDataFromPointerToShared() local188 copyPointersToSharedMemory(&modelInShared.main, &memoryBuilder); in flushDataFromPointerToShared()190 [&memoryBuilder](auto& subgraph) { in flushDataFromPointerToShared()191 copyPointersToSharedMemory(&subgraph, &memoryBuilder); in flushDataFromPointerToShared()[all …]