-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created openvino plugin c++ wrapper #7259
Created openvino plugin c++ wrapper #7259
Conversation
2cf22b2
to
e3dd8e3
Compare
833137a
to
a4f5e6b
Compare
a4f5e6b
to
0d807e0
Compare
0d807e0
to
7b32b62
Compare
d8cba94
to
e9f9731
Compare
@apankratovantonp could you please fix merge conflicts? |
b8be99f
to
6e65b8f
Compare
@@ -55,6 +60,12 @@ class INFERENCE_ENGINE_API_CLASS(SharedObjectLoader) { | |||
* @throws Exception if the function is not found | |||
*/ | |||
void* get_symbol(const char* symbolName) const; | |||
|
|||
/** | |||
* @brief Retruns reference to type erased implementation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-> Returns
ASSERT_NO_THROW(executableNetwork.CreateInferRequest()); | ||
} | ||
|
||
TEST_P(OVClassImportExportTestP, smoke_ExportUsingFileNameImportFromStreamNoThrowWithDeviceName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why have we removed this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ExecutableNetwork::Export(const std::string&);
was removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but we can modify the tests with ExecutableNetwork::Export(std::ostream&);
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
smoke_ImportNetworkNoThrowWithDeviceName
does the same but just uses an in-memory byte stream instead of a file.
} | ||
} | ||
|
||
class CoreImpl : public InferenceEngine::ICore, public std::enable_shared_from_this<InferenceEngine::ICore> { | ||
mutable std::map<std::string, InferenceEngine::InferencePlugin> plugins; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we remove InferenceEngine::InferencePlugin
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to solve exceptions from DLL safety manually in each place where the IInferencePlugin
API is used. It is very error-prone. With InferencePlugin
we just keep all these wappers in a single place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have ov::InferencePlugin
and Ie::InferencePlugin
. can we remove the last one?
OpenVINO
pluginOpenVINO
entities are connected toov::Core
class