/aosp_15_r20/external/executorch/runtime/executor/test/ |
H A D | memory_manager_test.cpp | 28 EXPECT_EQ(mm.temp_allocator(), nullptr); in TEST() 39 EXPECT_EQ(mm.temp_allocator(), nullptr); in TEST() 45 MemoryAllocator temp_allocator(0, nullptr); in TEST() local 47 MemoryManager mm(&method_allocator, &planned_memory, &temp_allocator); in TEST() 51 EXPECT_EQ(mm.temp_allocator(), &temp_allocator); in TEST() 57 MemoryAllocator temp_allocator(0, nullptr); in TEST() local 65 /*temporary_allocator=*/&temp_allocator); in TEST() 69 EXPECT_EQ(mm.temp_allocator(), &temp_allocator); in TEST()
|
H A D | managed_memory_manager.h | 31 MemoryAllocator* temp_allocator = nullptr) 39 memory_manager_(&method_allocator_, &planned_memory_, temp_allocator) {}
|
/aosp_15_r20/external/executorch/runtime/kernel/test/ |
H A D | kernel_runtime_context_test.cpp | 74 MemoryAllocator temp_allocator( in TEST_F() local 76 KernelRuntimeContext context(nullptr, &temp_allocator); in TEST_F() 85 MemoryAllocator temp_allocator( in TEST_F() local 87 KernelRuntimeContext context(nullptr, &temp_allocator); in TEST_F() 96 TestMemoryAllocator temp_allocator( in TEST_F() local 98 KernelRuntimeContext context(nullptr, &temp_allocator); in TEST_F() 101 EXPECT_EQ(temp_allocator.last_seen_alignment, 2); in TEST_F()
|
/aosp_15_r20/external/executorch/examples/arm/executor_runner/ |
H A D | arm_executor_runner.cpp | 427 ArmMemoryAllocator temp_allocator( in main() local 431 &method_allocator, &planned_memory, &temp_allocator); in main() 497 if (temp_allocator.size() > 0) { in main() 501 temp_allocator.used_size(), in main() 502 temp_allocator.size(), in main() 503 temp_allocator.free_size(), in main() 504 100 * temp_allocator.used_size() / temp_allocator.size()); in main()
|
/aosp_15_r20/external/executorch/runtime/executor/ |
H A D | memory_manager.h | 55 MemoryAllocator* temp_allocator = nullptr) 58 temp_allocator_(temp_allocator) { in method_allocator_() 60 method_allocator != temp_allocator, in method_allocator_() 104 MemoryAllocator* temp_allocator() const { in temp_allocator() function
|
H A D | method.h | 274 MemoryAllocator* temp_allocator) in Method() argument 278 temp_allocator_(temp_allocator), in Method()
|
H A D | method.cpp | 566 MemoryAllocator* temp_allocator = memory_manager->temp_allocator(); in load() local 567 if (temp_allocator == nullptr) { in load() 575 temp_allocator = platform_allocator; in load() 577 Method method(program, memory_manager, event_tracer, temp_allocator); in load()
|
/aosp_15_r20/external/executorch/extension/module/ |
H A D | module.cpp | 54 std::unique_ptr<runtime::MemoryAllocator> temp_allocator, in Module() argument 61 temp_allocator ? std::move(temp_allocator) in Module() 70 std::unique_ptr<runtime::MemoryAllocator> temp_allocator, in Module() argument 77 temp_allocator ? std::move(temp_allocator) in Module()
|
H A D | module.h | 66 std::unique_ptr<runtime::MemoryAllocator> temp_allocator = nullptr, 82 std::unique_ptr<runtime::MemoryAllocator> temp_allocator = nullptr,
|
/aosp_15_r20/external/executorch/runtime/backend/ |
H A D | backend_execution_context.h | 24 MemoryAllocator* temp_allocator = nullptr, 27 temp_allocator_(temp_allocator), in event_tracer_()
|
/aosp_15_r20/external/executorch/runtime/kernel/ |
H A D | kernel_runtime_context.h | 42 MemoryAllocator* temp_allocator = nullptr) 43 : event_tracer_(event_tracer), temp_allocator_(temp_allocator) {} in event_tracer_()
|
/aosp_15_r20/external/executorch/extension/training/module/ |
H A D | training_module.h | 34 std::unique_ptr<runtime::MemoryAllocator> temp_allocator = nullptr, 39 std::move(temp_allocator), in Module() argument
|