MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / run

Method run

src/cpu/operators/CpuDynamicGemm.cpp:71–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void CpuDynamicGemm::run(ITensorPack &tensors)
72{
73 ARM_COMPUTE_TRACE_EVENT(ARM_COMPUTE_PROF_CAT_CPU, ARM_COMPUTE_PROF_LVL_CPU, "CpuDynamicGemm::run");
74 ARM_COMPUTE_EXIT_ON_MSG(tensors.empty(), "No inputs provided");
75
76 kernels::CpuDynamicGemmKernel *dynamic_gemm = _kernel.get();
77 dynamic_gemm->prepare(tensors, _reuse_b);
78
79 if (_reshape_b_and_c_only_on_first_run)
80 {
81 _reuse_b = true;
82 }
83
84 Window window = dynamic_gemm->window();
85 auto split_dimensions = dynamic_gemm->get_split_dimension_hint();
86
87 NEScheduler::get().schedule_op(_kernel.get(), split_dimensions, window, tensors);
88}
89
90const experimental::MemoryRequirements &CpuDynamicGemm::workspace_dynamic(const ITensorPack &tensors) const
91{

Callers

nothing calls this directly

Calls 5

emptyMethod · 0.45
getMethod · 0.45
prepareMethod · 0.45
schedule_opMethod · 0.45

Tested by

no test coverage detected