Hi there,
I am writing an interface class to the IE for an application and am unable to copy initialise members of a class when tried inside a public interface function. It works fine when done from inside the constructor of the class.
Example:
auto pluginDispatcher = InferenceEngine::PluginDispatcher( { "./", "" } ); m_intelPlugin = pluginDispatcher.getPluginByDevice( szComputeDevice ); // m_intelPlugin is the member of the interface class
I think the ie_plugin_ptr is not releasing the ownership once the IE object gets internally managed instead of by the user. Can someone point out the thing which I might be overlooking here.
Thanks and Bests,
Sid
Link Copied
Hi Siddhant. There is not enough information here to understand what the issue is. Can you kindly attach a sample code which compiles and runs as a zip file ?
For more complete information about compiler optimizations, see our Optimization Notice.