endif()
endif()
- if((HAVE_CXX11
+if(NOT HAVE_CXX11)
+ message(FATAL_ERROR "OpenCV 4.x requires C++11")
+endif()
+
+ set(__OPENCV_ENABLE_ATOMIC_LONG_LONG OFF)
+ if(HAVE_CXX11 AND (X86 OR X86_64))
+ set(__OPENCV_ENABLE_ATOMIC_LONG_LONG ON)
+ endif()
+ option(OPENCV_ENABLE_ATOMIC_LONG_LONG "Enable C++ compiler support for atomic<long long>" ${__OPENCV_ENABLE_ATOMIC_LONG_LONG})
+
+ if((HAVE_CXX11 AND OPENCV_ENABLE_ATOMIC_LONG_LONG
AND NOT MSVC
AND NOT (X86 OR X86_64)
AND NOT OPENCV_SKIP_LIBATOMIC_COMPILER_CHECK)
bool isMyriadX();
-CV__DNN_EXPERIMENTAL_NS_END
+CV__DNN_INLINE_NS_END
- InferenceEngine::Core& getCore();
+ InferenceEngine::Core& getCore(const std::string& id);
template<typename T = size_t>
static inline std::vector<T> getShape(const Mat& mat)