| 69 | } |
| 70 | |
| 71 | void 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 | |
| 90 | const experimental::MemoryRequirements &CpuDynamicGemm::workspace_dynamic(const ITensorPack &tensors) const |
| 91 | { |
nothing calls this directly
no test coverage detected