| 43 | { |
| 44 | |
| 45 | void CpuDynamicGemmKernel::configure(const ITensorInfo *a, |
| 46 | const ITensorInfo *b, |
| 47 | const ITensorInfo *c, |
| 48 | ITensorInfo *d, |
| 49 | float alpha, |
| 50 | float beta, |
| 51 | size_t base_aux_slot, |
| 52 | const GEMMInfo &gemm_info) |
| 53 | { |
| 54 | ARM_COMPUTE_TRACE_EVENT(ARM_COMPUTE_PROF_CAT_CPU, ARM_COMPUTE_PROF_LVL_CPU, "CpuDynamicGemmKernel::configure"); |
| 55 | ARM_COMPUTE_ERROR_THROW_ON(CpuDynamicGemmKernel::validate(a, b, c, d, alpha, beta, gemm_info)); |
| 56 | |
| 57 | _heuristics = CpuDynamicGemmKernelHeuristics{a, b, c, d, alpha, beta, gemm_info}; |
| 58 | |
| 59 | _name = std::string{"CpuDynamicGemmKernel"}.append("/").append(_heuristics.name()); |
| 60 | |
| 61 | _base_aux_slot = base_aux_slot; |
| 62 | _aux_mem.reserve(Count); |
| 63 | |
| 64 | Window window = _heuristics.get_window()(d); |
| 65 | ICPPKernel::configure(window); |
| 66 | } |
| 67 | |
| 68 | Status CpuDynamicGemmKernel::validate(const ITensorInfo *a, |
| 69 | const ITensorInfo *b, |
nothing calls this directly
no test coverage detected