struct InferenceEngine::AsyncInferRequestThreadSafeDefault::ImmediateStreamsExecutor¶
struct ImmediateStreamsExecutor: public InferenceEngine::ITaskExecutor
{
// fields
IStreamsExecutor::Ptr _streamsExecutor;
// construction
ImmediateStreamsExecutor(const IStreamsExecutor::Ptr& streamsExecutor);
// methods
void run(InferenceEngine::Task task);
};
Inherited Members¶
public:
// typedefs
typedef std::shared_ptr<ITaskExecutor> Ptr;
// methods
virtual void run(Task task) = 0;
virtual void runAndWait(const std::vector<Task>& tasks);