Auto plugin async infer request implementation (#5707)
* Async auto-request, now with revamped SetCallback (after https://github.com/openvinotoolkit/openvino/pull/5645 merged) it is safe to set. Also test modification to verify that the callback is called on the same (user's) request and e.g. not on the actual device's request * Override CreateInferRequestImpl() instead of CreateInferRequest() Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com> Co-authored-by: myshevts <maxim.y.shevtsov@intel.com>
This commit is contained in:
@@ -217,6 +217,18 @@ public:
|
||||
* @return true if current InferRequest object is initialized, false - otherwise
|
||||
*/
|
||||
explicit operator bool() const noexcept;
|
||||
|
||||
/**
|
||||
* @brief Compares whether this request wraps the same impl underneath
|
||||
* @return true if current InferRequest object doesn't wrap the same impl as the operator's arg
|
||||
*/
|
||||
bool operator!=(const InferRequest&) const noexcept;
|
||||
|
||||
/**
|
||||
* @brief Compares whether this request wraps the same impl underneath
|
||||
* @return true if current InferRequest object wraps the same impl as the operator's arg
|
||||
*/
|
||||
bool operator==(const InferRequest&) const noexcept;
|
||||
};
|
||||
|
||||
template<>
|
||||
|
||||
Reference in New Issue
Block a user