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

Method run_op

src/cpu/kernels/CpuSubKernel.cpp:211–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211void 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
226const char *CpuSubKernel::name() const
227{

Callers 5

schedule_commonMethod · 0.45
schedule_opMethod · 0.45
schedule_opMethod · 0.45
do_runMethod · 0.45
enqueue_commonMethod · 0.45

Calls 2

get_const_tensorMethod · 0.80
get_tensorMethod · 0.45

Tested by

no test coverage detected