Export TBlob specialization for Windows (#15516)
* Export TBlob specialization for Windows * Changed macro in define --------- Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
This commit is contained in:
parent
180e77f047
commit
68ccd078dc
@ -809,7 +809,7 @@ protected:
|
||||
};
|
||||
|
||||
// These should not be exported for WIN32 to avoid usage of '_handle' and '_allocator' across CRT bounaries
|
||||
#ifndef WIN32
|
||||
#ifndef _WIN32
|
||||
extern template class INFERENCE_ENGINE_API_CLASS(InferenceEngine::TBlob<float>);
|
||||
extern template class INFERENCE_ENGINE_API_CLASS(InferenceEngine::TBlob<double>);
|
||||
extern template class INFERENCE_ENGINE_API_CLASS(InferenceEngine::TBlob<int8_t>);
|
||||
|
@ -85,7 +85,7 @@ Blob::Ptr make_shared_blob(const Blob::Ptr& inputBlob,
|
||||
Blob::~Blob() {}
|
||||
MemoryBlob::~MemoryBlob() {}
|
||||
|
||||
#ifndef WIN32
|
||||
#ifndef _WIN32
|
||||
template class TBlob<float>;
|
||||
template class TBlob<double>;
|
||||
template class TBlob<int8_t>;
|
||||
|
Loading…
Reference in New Issue
Block a user