Home | History | Annotate | Download | only in runtime

Lines Matching defs:memory

77     state = ModelArgumentInfo::MEMORY;
89 state = ModelArgumentInfo::MEMORY;
160 const Memory* memory, size_t offset, size_t length) {
169 if (!memory->validateSize(offset, length)) {
173 uint32_t poolIndex = mMemories.add(memory);
200 const Memory* memory, size_t offset, size_t length) {
209 if (!memory->validateSize(offset, length)) {
213 uint32_t poolIndex = mMemories.add(memory);
419 Memory* memory) {
439 memory->create(total); // TODO check error
440 mMemories.add(memory);
480 case ModelArgumentInfo::MEMORY: {
483 const Memory* memory = mExecutionBuilder->mMemories[builderPoolIndex];
484 const uint32_t executorPoolIndex = mMemories.add(memory);
493 const Memory* memory, uint32_t offset,
499 uint32_t poolIndex = mMemories.add(memory);
511 case ModelArgumentInfo::MEMORY:
512 VLOG(EXECUTION) << prefix << "MEMORY("
583 // protection on read only memory but that's not currently done.
584 Memory inputPointerArguments;
585 Memory outputPointerArguments;
639 // it seems like this is a small memory leak, if the Callback stays
660 // Copy the output data from shared memory to the output buffers.
711 for (const Memory* mem : mMemories) {