12 ExecutionFrame::ExecutionFrame() {}
17 for (
auto& workload: m_WorkloadQueue)
21 return m_NextExecutionFrame;
24 void ExecutionFrame::PostAllocationConfigure()
26 for (
auto&& workloadPtr: m_WorkloadQueue)
28 workloadPtr.get()->PostAllocationConfigure();
34 for (
auto&& workloadPtr: m_WorkloadQueue)
36 workloadPtr.get()->RegisterDebugCallback(func);
40 void ExecutionFrame::AddWorkloadToQueue(std::unique_ptr<IWorkload> workload)
42 m_WorkloadQueue.push_back(move(workload));
47 m_NextExecutionFrame = nextExecutionFrame;
Copyright (c) 2020 ARM Limited.
void IgnoreUnused(Ts &&...)
std::function< void(LayerGuid guid, unsigned int slotIndex, ITensorHandle *tensorHandle)> DebugCallbackFunction
Define the type of callback for the Debug layer to call.
ExecutionFrame interface to enqueue a workload computation.