Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:kubic:ei-demo
dldt
enable-VPU-Myriad-support.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File enable-VPU-Myriad-support.patch of Package dldt
# - Update VPU firmware path to /lib/firmware in myriad plugin --- a/inference-engine/src/vpu/myriad_plugin/myriad_executor.cpp +++ b/inference-engine/src/vpu/myriad_plugin/myriad_executor.cpp @@ -93,18 +93,7 @@ ncStatus_t MyriadExecutor::bootNextDevice(std::vector<DevicePtr> &devicePool, DeviceDesc device; - char* dirName = nullptr; - -#if !defined(_WIN32) - Dl_info info; - dladdr(&device_mutex, &info); - char* dli_fname = nullptr; - - if (info.dli_fname != nullptr) { - dli_fname = strdup(info.dli_fname); - dirName = dirname(dli_fname); - } -#endif + const char* dirName = "/lib/firmware"; ncDeviceDescr_t in_deviceDesc = {}; in_deviceDesc.platform = configPlatform; @@ -134,12 +123,6 @@ ncStatus_t MyriadExecutor::bootNextDevice(std::vector<DevicePtr> &devicePool, // Open new device with specific path to FW folder statusOpen = ncDeviceOpen(&device._deviceHandle, in_deviceDesc, watchdogInterval, dirName); -#if !defined(_WIN32) - if (info.dli_fname != nullptr) { - free(dli_fname); - } -#endif - if (statusOpen != NC_OK) { ncDeviceClose(&device._deviceHandle); return statusOpen;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor