| 209 | } |
| 210 | |
| 211 | void CpuSubKernel::run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) |
| 212 | { |
| 213 | ARM_COMPUTE_TRACE_EVENT(ARM_COMPUTE_PROF_CAT_CPU, ARM_COMPUTE_PROF_LVL_CPU, "CpuSubKernel::run_op"); |
| 214 | ARM_COMPUTE_UNUSED(info); |
| 215 | ARM_COMPUTE_ERROR_ON_UNCONFIGURED_KERNEL(this); |
| 216 | ARM_COMPUTE_ERROR_ON_INVALID_SUBWINDOW(ICpuKernel::window(), window); |
| 217 | ARM_COMPUTE_ERROR_ON(_run_method == nullptr); |
| 218 | |
| 219 | const ITensor *src0 = tensors.get_const_tensor(TensorType::ACL_SRC_0); |
| 220 | const ITensor *src1 = tensors.get_const_tensor(TensorType::ACL_SRC_1); |
| 221 | ITensor *dst = tensors.get_tensor(TensorType::ACL_DST); |
| 222 | |
| 223 | _run_method(src0, src1, dst, _policy, window); |
| 224 | } |
| 225 | |
| 226 | const char *CpuSubKernel::name() const |
| 227 | { |
no test coverage detected