ippicv_2019_win_intel64_20180723_general.7z
opencv编译时下载慢 ippicv_2019_win_intel64_20180723_general
代码片段和文件信息
/*
// Copyright 2016-2018 Intel Corporation All Rights Reserved.
//
// The source code information and material (“Material“) contained herein is
// owned by Intel Corporation or its suppliers or licensors and title
// to such Material remains with Intel Corporation or its suppliers or
// licensors. The Material contains proprietary information of Intel
// or its suppliers and licensors. The Material is protected by worldwide
// copyright laws and treaty provisions. No part of the Material may be used
// copied reproduced modified published uploaded posted transmitted
// distributed or disclosed in any way without Intel‘s prior express written
// permission. No license under any patent copyright or other intellectual
// property rights in the Material is granted to or conferred upon you
// either expressly by implication inducement estoppel or otherwise.
// Any license under such intellectual property rights must be express and
// approved by Intel in writing.
//
// Unless otherwise agreed by Intel in writing
// you may not remove or alter this notice or any other notice embedded in
// Materials by Intel or Intel‘s suppliers or licensors in any way.
//
*/
#include “iw_own.h“
#include “iw/iw_image.h“
#if defined _WIN32
#include
#include
#else
#ifdef _OPENMP
#if (defined __GNUC__) && !(defined __clang__)
#define GCC_VERSION (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__)
#if (GCC_VERSION >= 40700)
#define OWN_ALLOW_OMP_ATOMICS
#endif
#undef GCC_VERSION
#else
#define OWN_ALLOW_OMP_ATOMICS
#endif
#endif
#ifdef OWN_ALLOW_OMP_ATOMICS
#include // Use OMP atomics
#else
#if (defined __clang__ && defined __has_include)
#if !__has_include()
#ifndef __STDC_NO_ATOMICS__
#define __STDC_NO_ATOMICS__
#endif
#endif
#elif (defined __GNUC__)
#define GCC_VERSION (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__)
#if (GCC_VERSION < 40900)
#ifndef __STDC_NO_ATOMICS__
#define __STDC_NO_ATOMICS__
#endif
#endif
#undef GCC_VERSION
#endif
#if !defined __STDC_NO_ATOMICS__
#include
#ifndef __ATOMIC_ACQ_REL
#define __ATOMIC_ACQ_REL 4
#endif
#else
#pragma message(“Atomic operations are not supported by this compiler. Some features my not be thread-safe.“)
#endif
#endif
#ifndef __APPLE__
#include
#endif
#endif
/* /////////////////////////////////////////////////////////////////////////////
// IW DLL entry points
//////////////////////
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)