1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
9 #include <cpp_interfaces/impl/ie_infer_async_request_thread_safe_default.hpp>
10 #include "mkldnn_infer_request.h"
12 namespace MKLDNNPlugin {
14 class MKLDNNAsyncInferRequest : virtual public InferenceEngine::AsyncInferRequestThreadSafeDefault {
16 MKLDNNAsyncInferRequest(const InferenceEngine::InferRequestInternal::Ptr &inferRequest,
17 const InferenceEngine::ITaskExecutor::Ptr &taskExecutor,
18 const InferenceEngine::TaskSynchronizer::Ptr &taskSynchronizer,
19 const InferenceEngine::ITaskExecutor::Ptr &callbackExecutor);
21 ~MKLDNNAsyncInferRequest() override;
23 void Infer() override;
26 } // namespace MKLDNNPlugin