Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/include/
DBufferTracker.h47 return RunTimePoolInfo::createFromExistingBuffer(kBuffer.get(), kSize); in createRunTimePoolInfo()
63 const std::unique_ptr<uint8_t[]> kBuffer; variable
/frameworks/ml/nn/driver/sample/
DSampleDriver.h42 : kBuffer(std::move(buffer)), kToken(std::move(token)) { in SampleBuffer()
43 CHECK(kBuffer != nullptr); in SampleBuffer()
51 const std::shared_ptr<ManagedBuffer> kBuffer;
DSampleDriver.cpp327 const ErrorStatus validationStatus = kBuffer->validateCopyTo(dstPool->getSize()); in copyTo()
331 const auto srcPool = kBuffer->createRunTimePoolInfo(); in copyTo()
356 const auto status = copyFromInternal(src, dimensions, kBuffer); in copyFrom()
358 kBuffer->updateDimensions(dimensions); in copyFrom()
359 kBuffer->setInitialized(true); in copyFrom()
361 kBuffer->setInitialized(false); in copyFrom()
/frameworks/ml/nn/runtime/
DMemory.h178 const sp<hal::IBuffer>& getIBuffer() const { return kBuffer; } in getIBuffer()
209 const sp<hal::IBuffer> kBuffer; variable
DMemory.cpp194 : kBuffer(std::move(buffer)), kToken(token) {} in Memory()
/frameworks/ml/nn/common/
DBufferTracker.cpp52 : kBuffer(std::move(buffer)), in ManagedBuffer()