Home
last modified time | relevance | path

Searched refs:kMemory (Results 1 – 3 of 3) 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.cpp187 RuntimeMemory::RuntimeMemory(SharedMemory memory) : kMemory(std::move(memory)) { in RuntimeMemory()
188 CHECK(kMemory != nullptr); in RuntimeMemory()
189 mValidator = std::make_unique<SizedMemoryValidator>(nn::getSize(kMemory)); in RuntimeMemory()
193 : kMemory(std::move(memory)), mValidator(std::move(validator)) { in RuntimeMemory()
194 CHECK(kMemory != nullptr); in RuntimeMemory()
203 return kMemory; in getMemoryPool()
209 mCachedRunTimePoolInfo = RunTimePoolInfo::createFromMemory(kMemory); in getRunTimePoolInfo()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DSharedMemory.h156 kMemory(std::move(memory)), in RelocationTracker()
166 const SharedMemory kMemory; variable