Home
last modified time | relevance | path

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

/frameworks/ml/nn/driver/sample/
DSampleDriver.cpp281 auto bufferWrapper = ManagedBuffer::create(size, std::move(roles), std::move(operand)); in allocate() local
282 if (bufferWrapper == nullptr) { in allocate()
288 auto token = mBufferTracker->add(bufferWrapper); in allocate()
296 sp<SampleBuffer> sampleBuffer = new SampleBuffer(std::move(bufferWrapper), std::move(token)); in allocate()
337 const std::shared_ptr<ManagedBuffer>& bufferWrapper) { in copyFromInternal() argument
338 CHECK(bufferWrapper != nullptr); in copyFromInternal()
345 bufferWrapper->validateCopyFrom(dimensions, srcPool->getSize()); in copyFromInternal()
349 const auto dstPool = bufferWrapper->createRunTimePoolInfo(); in copyFromInternal()
391 auto bufferWrapper = driver.getBufferTracker()->get(pool.token()); in createRunTimePoolInfos() local
392 if (bufferWrapper == nullptr) { in createRunTimePoolInfos()
[all …]