- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm a bit confused, how is CPU extensions loading code supposed to change with v2020R1.
The sample has this code:
if ((flag.find("CPU") != std::string::npos)) { #ifdef WITH_EXTENSIONS /** Load default extensions lib for the CPU device (e.g. SSD's DetectionOutput)**/ ie.AddExtension(std::make_shared<Extensions::Cpu::CpuExtensions>(), "CPU"); #endif if (!FLAGS_l.empty()) { // CPU(MKLDNN) extensions are loaded as a shared library and passed as a pointer to base extension auto extension_ptr = make_so_pointer<IExtension>(FLAGS_l); ie.AddExtension(extension_ptr, "CPU"); slog::info << "CPU Extension loaded: " << FLAGS_l << slog::endl; } }
However, Extensions::Cpu::CpuExtensions is only seems to be defined in the template for extension generator, and not in an actual API. As far as loading by the path to libMKLDNN.dylib, this doesn't seem to work either:
Exception in loadNetwork dlSym cannot locate method 'CreateExtension': dlsym(0x7feaa452ece0, CreateExtension): symbol not found
Please advise
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alex,
In the latest OpenVINO 2020.1 release, the CPU extensions library were removed as they were moved into the plugin.
Please refer the release notes for additional changes.
Regards,
Jaivin

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page