Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DMemory.h176 const SharedMemory& getMemory() const { return kMemory; } in getMemory()
204 const SharedMemory kMemory = std::make_shared<const Memory>(); variable
281 return RunTimePoolInfo::createFromExistingBuffer(getPointer(), nn::getSize(kMemory)); in getRunTimePoolInfo()
335 return RunTimePoolInfo::createFromExistingBuffer(getPointer(), nn::getSize(kMemory)); in getRunTimePoolInfo()
DMemory.cpp183 RuntimeMemory::RuntimeMemory(SharedMemory memory) : kMemory(std::move(memory)) { in RuntimeMemory()
184 CHECK(kMemory != nullptr); in RuntimeMemory()
185 mValidator = std::make_unique<SizedMemoryValidator>(nn::getSize(kMemory)); in RuntimeMemory()
189 : kMemory(std::move(memory)), mValidator(std::move(validator)) { in RuntimeMemory()
190 CHECK(kMemory != nullptr); in RuntimeMemory()
199 return kMemory; in getMemoryPool()
205 mCachedRunTimePoolInfo = RunTimePoolInfo::createFromMemory(kMemory); in getRunTimePoolInfo()