Home
last modified time | relevance | path

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

/frameworks/ml/nn/driver/sample/
DSampleDriver.cpp313 static void copyRunTimePoolInfos(const RunTimePoolInfo& srcPool, const RunTimePoolInfo& dstPool) { in copyRunTimePoolInfos() argument
314 CHECK(srcPool.getBuffer() != nullptr); in copyRunTimePoolInfos()
316 CHECK(srcPool.getSize() == dstPool.getSize()); in copyRunTimePoolInfos()
317 std::copy(srcPool.getBuffer(), srcPool.getBuffer() + srcPool.getSize(), dstPool.getBuffer()); in copyRunTimePoolInfos()
331 const auto srcPool = kBuffer->createRunTimePoolInfo(); in copyTo() local
332 copyRunTimePoolInfos(srcPool, dstPool.value()); in copyTo()
339 const auto srcPool = RunTimePoolInfo::createFromHidlMemory(src); in copyFromInternal() local
340 if (!srcPool.has_value()) { in copyFromInternal()
345 bufferWrapper->validateCopyFrom(dimensions, srcPool->getSize()); in copyFromInternal()
350 copyRunTimePoolInfos(srcPool.value(), dstPool); in copyFromInternal()