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

Method run

src/cpu/operators/CpuDepthwiseConv2dAssemblyDispatch.cpp:110–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void CpuDepthwiseConv2dAssemblyDispatch::run(ITensorPack &tensors)
111{
112 ARM_COMPUTE_TRACE_EVENT(ARM_COMPUTE_PROF_CAT_CPU, ARM_COMPUTE_PROF_LVL_CPU,
113 "CpuDepthwiseConv2dAssemblyDispatch::run");
114 ARM_COMPUTE_ERROR_ON_MSG(tensors.empty(), "No inputs provided");
115
116 prepare(tensors);
117
118 // Split over rows (z) if there's more than 1, otherwise batches (w). This logic
119 // corresponds to the threading strategy in DepthFirstDriver::execute_internal
120 auto split_dimension = _pImpl->asm_kernel->window().num_iterations(Window::DimZ) != 1 ? Window::DimZ : Window::DimW;
121
122 NEScheduler::get().schedule_op(_pImpl->asm_kernel.get(), split_dimension, _pImpl->asm_kernel->window(), tensors);
123}
124
125void CpuDepthwiseConv2dAssemblyDispatch::prepare(ITensorPack &tensors)
126{

Callers

nothing calls this directly

Calls 4

num_iterationsMethod · 0.80
emptyMethod · 0.45
schedule_opMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected