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

Method run

src/runtime/CL/functions/CLQLSTMLayer.cpp:81–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void CLQLSTMLayer::TensorCopyKernel::run()
82{
83 auto &q = CLScheduler::get().queue();
84
85 _src->map(q, true);
86 _dst->map(q, true);
87
88 Iterator input_iter{_src, _window};
89 Iterator output_iter{_dst, _window};
90
91 execute_window_loop(
92 _window, [&](const Coordinates &) { memcpy(output_iter.ptr(), input_iter.ptr(), _row_size); }, input_iter,
93 output_iter);
94
95 _src->unmap(q);
96 _dst->unmap(q);
97}
98
99CLQLSTMLayer::CLQLSTMLayer(std::shared_ptr<IMemoryManager> memory_manager)
100 : _input_to_input_reduction(std::make_unique<ClGemmLowpMatrixAReductionKernel>()),

Callers 1

prepareMethod · 0.45

Calls 4

mapMethod · 0.45
ptrMethod · 0.45
unmapMethod · 0.45
enqueueMethod · 0.45

Tested by

no test coverage detected