Commit aa167434 authored by BALACHANDAR S's avatar BALACHANDAR S Committed by Alexander Alekhin

Merge pull request #14252 from balachandarsv:master-mac-openvino-support

* Mac support for op inference engine

Adding condition to check for mac and add corresponding libraries

* Adding mac support in test cases
parent d8b8c3b1
......@@ -784,6 +784,8 @@ void InfEngineBackendNet::initPlugin(InferenceEngine::ICNNNetwork& net)
continue;
#ifdef _WIN32
std::string libName = "cpu_extension" + suffixes[i] + ".dll";
#elif defined(__APPLE__)
std::string libName = "libcpu_extension" + suffixes[i] + ".dylib";
#else
std::string libName = "libcpu_extension" + suffixes[i] + ".so";
#endif // _WIN32
......
......@@ -172,6 +172,8 @@ void runIE(Target target, const std::string& xmlPath, const std::string& binPath
continue;
#ifdef _WIN32
std::string libName = "cpu_extension" + suffixes[i] + ".dll";
#elif defined(__APPLE__)
std::string libName = "libcpu_extension" + suffixes[i] + ".dylib";
#else
std::string libName = "libcpu_extension" + suffixes[i] + ".so";
#endif // _WIN32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment