30 using Ptr = std::shared_ptr<CPUStreamsExecutor>;
53 std::unique_ptr<Impl> _impl;
CPUStreamsExecutor(const Config &config={})
Constructor.
~CPUStreamsExecutor() override
A class destructor.
int GetNumaNodeId() override
Return the id of current NUMA Node.
void Execute(Task task) override
Execute the task in the current thread using streams executor configuration and constraints.
int GetStreamId() override
Return the index of current stream.
void run(Task task) override
Execute InferenceEngine::Task inside task executor context.
std::shared_ptr< CPUStreamsExecutor > Ptr
A shared pointer to a CPUStreamsExecutor object.
Definition: ie_cpu_streams_executor.hpp:30
Interface for Streams Task Executor. This executor groups worker threads into so-called streams.
Definition: ie_istreams_executor.hpp:31
std::function< void()> Task
Inference Engine Task Executor can use any copyable callable without parameters and output as a task....
Definition: ie_itask_executor.hpp:25
A header file for Inference Engine Streams-based Executor Interface.
Inference Engine Plugin API namespace.
Defines IStreamsExecutor configuration.
Definition: ie_istreams_executor.hpp:52