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(std::move(workload));
47 m_NextExecutionFrame = nextExecutionFrame;
ExecutionFrame interface to enqueue a workload computation.
Copyright (c) 2021 ARM Limited and Contributors.
std::function< void(LayerGuid guid, unsigned int slotIndex, ITensorHandle *tensorHandle)> DebugCallbackFunction
Define the type of callback for the Debug layer to call.
void IgnoreUnused(Ts &&...)