Home
last modified time | relevance | path

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

/frameworks/ml/nn/driver/sample/
DSampleDriver.cpp282 auto bufferWrapper = ManagedBuffer::create(size, std::move(roles), std::move(operand)); in allocate() local
283 if (bufferWrapper == nullptr) { in allocate()
289 auto token = mBufferTracker->add(bufferWrapper); in allocate()
297 sp<SampleBuffer> sampleBuffer = new SampleBuffer(std::move(bufferWrapper), std::move(token)); in allocate()
338 const std::shared_ptr<ManagedBuffer>& bufferWrapper) { in copyFromInternal() argument
339 CHECK(bufferWrapper != nullptr); in copyFromInternal()
346 bufferWrapper->validateCopyFrom(dimensions, srcPool->getSize()); in copyFromInternal()
350 const auto dstPool = bufferWrapper->createRunTimePoolInfo(); in copyFromInternal()
392 auto bufferWrapper = driver.getBufferTracker()->get(pool.token()); in createRunTimePoolInfos() local
393 if (bufferWrapper == nullptr) { in createRunTimePoolInfos()
[all …]