Searched refs:kMemory (Results 1 – 2 of 2) sorted by relevance
176 const SharedMemory& getMemory() const { return kMemory; } in getMemory()204 const SharedMemory kMemory = std::make_shared<const Memory>(); variable281 return RunTimePoolInfo::createFromExistingBuffer(getPointer(), nn::getSize(kMemory)); in getRunTimePoolInfo()335 return RunTimePoolInfo::createFromExistingBuffer(getPointer(), nn::getSize(kMemory)); in getRunTimePoolInfo()
183 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()