Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb_config.h File Reference
#include <cstddef>
Include dependency graph for tbb_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __TBB_TODO   0
 
#define __TBB_GCC_VERSION   (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
 
#define __TBB_generic_os   1
 
#define __TBB_generic_arch   1
 
#define __TBB_TSX_AVAILABLE   ((__TBB_x86_32 || __TBB_x86_64) && !__TBB_DEFINE_MIC)
 
#define __TBB_USE_OPTIONAL_RTTI   (__GXX_RTTI || __RTTI || __INTEL_RTTI__)
 
#define __TBB_CPP11_PRESENT   (__cplusplus >= 201103L || _MSC_VER >= 1900)
 
#define __TBB_CPP17_FALLTHROUGH_PRESENT   (__cplusplus >= 201703L)
 
#define __TBB_FALLTHROUGH_PRESENT   (__TBB_GCC_VERSION >= 70000 && !__INTEL_COMPILER)
 
#define __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_CPP11_RVALUE_REF_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_IMPLICIT_MOVE_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_EXCEPTION_PTR_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_STATIC_ASSERT_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_CPP11_TUPLE_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_INITIALIZER_LISTS_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_CONSTEXPR_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_DEFAULTED_AND_DELETED_FUNC_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_NOEXCEPT_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_CPP11_STD_BEGIN_END_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_CPP11_AUTO_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_CPP11_DECLTYPE_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_CPP11_LAMBDAS_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_CPP11_DEFAULT_FUNC_TEMPLATE_ARGS_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_OVERRIDE_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_ALIGNAS_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_CPP11_TEMPLATE_ALIASES_PRESENT   __TBB_CPP11_PRESENT
 
#define __TBB_CPP14_INTEGER_SEQUENCE_PRESENT   (__cplusplus >= 201402L)
 
#define __TBB_CPP14_VARIABLE_TEMPLATES_PRESENT   (__cplusplus >= 201402L)
 
#define __TBB_CPP17_DEDUCTION_GUIDES_PRESENT   (__cplusplus >= 201703L)
 
#define __TBB_CPP17_INVOKE_RESULT_PRESENT   (__cplusplus >= 201703L)
 
#define __TBB_CPP11_ARRAY_PRESENT   (_MSC_VER >= 1700 || _LIBCPP_VERSION || __GXX_EXPERIMENTAL_CXX0X__ && __TBB_GLIBCXX_VERSION >= 40300)
 
#define __TBB_CPP11_VARIADIC_FIXED_LENGTH_EXP_PRESENT   __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT
 
#define __TBB_CPP11_VARIADIC_TUPLE_PRESENT   (!_MSC_VER || _MSC_VER >= 1800)
 
#define __TBB_CPP11_TYPE_PROPERTIES_PRESENT   (_LIBCPP_VERSION || _MSC_VER >= 1700 || (__TBB_GLIBCXX_VERSION >= 50000 && __GXX_EXPERIMENTAL_CXX0X__))
 
#define __TBB_CPP11_IS_COPY_CONSTRUCTIBLE_PRESENT   (__GXX_EXPERIMENTAL_CXX0X__ && __TBB_GLIBCXX_VERSION >= 40700 || __TBB_CPP11_TYPE_PROPERTIES_PRESENT)
 
#define __TBB_MOVE_IF_NOEXCEPT_PRESENT   (__TBB_NOEXCEPT_PRESENT && (__TBB_GLIBCXX_VERSION >= 40700 || _MSC_VER >= 1900 || _LIBCPP_VERSION))
 
#define __TBB_ALLOCATOR_TRAITS_PRESENT
 
#define __TBB_MAKE_EXCEPTION_PTR_PRESENT   (__TBB_EXCEPTION_PTR_PRESENT && (_MSC_VER >= 1700 || __TBB_GLIBCXX_VERSION >= 40600 || _LIBCPP_VERSION || __SUNPRO_CC))
 
#define __TBB_CPP11_SMART_POINTERS_PRESENT
 
#define __TBB_CPP11_FUTURE_PRESENT   (_MSC_VER >= 1700 || __TBB_GLIBCXX_VERSION >= 40600 && __GXX_EXPERIMENTAL_CXX0X__ || _LIBCPP_VERSION)
 
#define __TBB_CPP11_GET_NEW_HANDLER_PRESENT   (_MSC_VER >= 1900 || __TBB_GLIBCXX_VERSION >= 40900 && __GXX_EXPERIMENTAL_CXX0X__ || _LIBCPP_VERSION)
 
#define __TBB_CPP17_UNCAUGHT_EXCEPTIONS_PRESENT
 
#define __TBB_CPP17_MEMORY_RESOURCE_PRESENT
 
#define __TBB_CPP17_HW_INTERFERENCE_SIZE_PRESENT   (_MSC_VER >= 1911)
 
#define __TBB_STD_SWAP_HEADER   <algorithm>
 
#define __TBB_TSX_INTRINSICS_PRESENT   ((__RTM__ || _MSC_VER>=1700 || __INTEL_COMPILER>=1300) && !__TBB_DEFINE_MIC && !__ANDROID__)
 
#define __TBB_CONCAT_AUX(A, B)   A##B
 
#define __TBB_CONCAT(A, B)   __TBB_CONCAT_AUX(A,B)
 
#define __TBB_IS_MACRO_EMPTY(A, IGNORED)   __TBB_CONCAT_AUX(__TBB_MACRO_EMPTY,A)
 
#define __TBB_MACRO_EMPTY   1
 
#define TBB_USE_DEBUG   0
 
#define TBB_USE_ASSERT   TBB_USE_DEBUG
 
#define TBB_USE_THREADING_TOOLS   TBB_USE_DEBUG
 
#define TBB_USE_PERFORMANCE_WARNINGS   TBB_USE_DEBUG
 
#define TBB_USE_EXCEPTIONS   0
 
#define TBB_IMPLEMENT_CPP0X   (!__STDCPP_THREADS__)
 
#define TBB_USE_CAPTURED_EXCEPTION   0
 
#define __TBB_CONCURRENT_ORDERED_CONTAINERS_PRESENT
 
#define __TBB_WEAK_SYMBOLS_PRESENT   ( !_WIN32 && !__APPLE__ && !__sun && (__TBB_GCC_VERSION >= 40000 || __INTEL_COMPILER ) )
 
#define __TBB_DYNAMIC_LOAD_ENABLED   1
 
#define __TBB_COUNT_TASK_NODES   TBB_USE_ASSERT
 
#define __TBB_TASK_GROUP_CONTEXT   1
 
#define __TBB_SCHEDULER_OBSERVER   1
 
#define __TBB_FP_CONTEXT   __TBB_TASK_GROUP_CONTEXT
 
#define __TBB_RECYCLE_TO_ENQUEUE   __TBB_BUILD
 
#define __TBB_ARENA_OBSERVER   __TBB_SCHEDULER_OBSERVER
 
#define __TBB_TASK_ISOLATION   1
 
#define __TBB_TASK_PRIORITY   (__TBB_TASK_GROUP_CONTEXT)
 
#define __TBB_ENQUEUE_ENFORCED_CONCURRENCY   1
 
#define __TBB_DEFAULT_PARTITIONER   tbb::auto_partitioner
 
#define __TBB_USE_PROPORTIONAL_SPLIT_IN_BLOCKED_RANGES   1
 
#define __TBB_ENABLE_RANGE_FEEDBACK   0
 
#define __TBB_VARIADIC_MAX   15
 
#define __TBB_DEPRECATED
 
#define __TBB_DEPRECATED_MSG(msg)
 
#define __TBB_DEPRECATED_IN_VERBOSE_MODE
 
#define __TBB_DEPRECATED_IN_VERBOSE_MODE_MSG(msg)
 
#define __TBB_WIN8UI_SUPPORT   0
 
#define __TBB_FORCE_64BIT_ALIGNMENT_BROKEN   0
 
#define __TBB_IF_NO_COPY_CTOR_MOVE_SEMANTICS_BROKEN   (_MSC_VER && (__INTEL_COMPILER >= 1300 && __INTEL_COMPILER <= 1310) && !__INTEL_CXX11_MODE__)
 
#define __TBB_CPP11_DECLVAL_BROKEN   (_MSC_VER == 1600 || (__GNUC__ && __TBB_GCC_VERSION < 40500) )
 
#define __TBB_COPY_FROM_NON_CONST_REF_BROKEN   (_MSC_VER == 1700 && __INTEL_COMPILER && __INTEL_COMPILER < 1600)
 
#define __TBB_CPP11_DECLTYPE_OF_FUNCTION_RETURN_TYPE_BROKEN   (_MSC_VER == 1600 && !__INTEL_COMPILER)
 
#define __TBB_ATOMIC_CTORS   (__TBB_CONSTEXPR_PRESENT && __TBB_DEFAULTED_AND_DELETED_FUNC_PRESENT && (!__TBB_ZERO_INIT_WITH_DEFAULTED_CTOR_BROKEN))
 
#define __TBB_ALLOCATOR_CONSTRUCT_VARIADIC   (__TBB_CPP11_VARIADIC_TEMPLATES_PRESENT && __TBB_CPP11_RVALUE_REF_PRESENT)
 
#define __TBB_VARIADIC_PARALLEL_INVOKE   (TBB_PREVIEW_VARIADIC_PARALLEL_INVOKE && __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT && __TBB_CPP11_RVALUE_REF_PRESENT)
 
#define __TBB_FLOW_GRAPH_CPP11_FEATURES
 
#define __TBB_PREVIEW_STREAMING_NODE
 
#define __TBB_PREVIEW_OPENCL_NODE   (__TBB_PREVIEW_STREAMING_NODE && __TBB_CPP11_TEMPLATE_ALIASES_PRESENT)
 
#define __TBB_PREVIEW_MESSAGE_BASED_KEY_MATCHING   (TBB_PREVIEW_FLOW_GRAPH_FEATURES || __TBB_PREVIEW_OPENCL_NODE)
 
#define __TBB_PREVIEW_ASYNC_MSG   (TBB_PREVIEW_FLOW_GRAPH_FEATURES && __TBB_FLOW_GRAPH_CPP11_FEATURES)
 
#define __TBB_PREVIEW_FLOW_GRAPH_PRIORITIES   TBB_PREVIEW_FLOW_GRAPH_FEATURES
 
#define __TBB_PREVIEW_RESUMABLE_TASKS   ((__TBB_CPF_BUILD || TBB_PREVIEW_RESUMABLE_TASKS) && !__TBB_WIN8UI_SUPPORT && !__ANDROID__ && !__TBB_ipf)
 
#define __TBB_PREVIEW_CRITICAL_TASKS   (__TBB_CPF_BUILD || __TBB_PREVIEW_FLOW_GRAPH_PRIORITIES || __TBB_PREVIEW_RESUMABLE_TASKS)
 
#define __TBB_PREVIEW_FLOW_GRAPH_NODE_SET   (TBB_PREVIEW_FLOW_GRAPH_FEATURES && __TBB_CPP11_PRESENT && __TBB_FLOW_GRAPH_CPP11_FEATURES)
 

Macro Definition Documentation

◆ __TBB_ALIGNAS_PRESENT

#define __TBB_ALIGNAS_PRESENT   __TBB_CPP11_PRESENT

Definition at line 312 of file tbb_config.h.

◆ __TBB_ALLOCATOR_CONSTRUCT_VARIADIC

#define __TBB_ALLOCATOR_CONSTRUCT_VARIADIC   (__TBB_CPP11_VARIADIC_TEMPLATES_PRESENT && __TBB_CPP11_RVALUE_REF_PRESENT)

Definition at line 846 of file tbb_config.h.

◆ __TBB_ALLOCATOR_TRAITS_PRESENT

#define __TBB_ALLOCATOR_TRAITS_PRESENT
Value:
(__cplusplus >= 201103L && _LIBCPP_VERSION || _MSC_VER >= 1800 || \
__GXX_EXPERIMENTAL_CXX0X__ && __TBB_GLIBCXX_VERSION >= 40700 && !(__TBB_GLIBCXX_VERSION == 40700 && __TBB_DEFINE_MIC))

Definition at line 335 of file tbb_config.h.

◆ __TBB_ARENA_OBSERVER

#define __TBB_ARENA_OBSERVER   __TBB_SCHEDULER_OBSERVER

Definition at line 559 of file tbb_config.h.

◆ __TBB_ATOMIC_CTORS

#define __TBB_ATOMIC_CTORS   (__TBB_CONSTEXPR_PRESENT && __TBB_DEFAULTED_AND_DELETED_FUNC_PRESENT && (!__TBB_ZERO_INIT_WITH_DEFAULTED_CTOR_BROKEN))

End of __TBB_XXX_BROKEN macro section

Definition at line 837 of file tbb_config.h.

◆ __TBB_CONCAT

#define __TBB_CONCAT (   A,
 
)    __TBB_CONCAT_AUX(A,B)

Definition at line 410 of file tbb_config.h.

◆ __TBB_CONCAT_AUX

#define __TBB_CONCAT_AUX (   A,
 
)    A##B

Macro helpers

Definition at line 407 of file tbb_config.h.

◆ __TBB_CONCURRENT_ORDERED_CONTAINERS_PRESENT

#define __TBB_CONCURRENT_ORDERED_CONTAINERS_PRESENT
Value:
#define __TBB_INITIALIZER_LISTS_PRESENT
Definition: tbb_config.h:302
#define __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT
Definition: tbb_config.h:296
#define __TBB_CPP11_LAMBDAS_PRESENT
Definition: tbb_config.h:309
#define __TBB_IMPLICIT_MOVE_PRESENT
Definition: tbb_config.h:298
#define __TBB_CPP11_AUTO_PRESENT
Definition: tbb_config.h:307
#define __TBB_CPP11_RVALUE_REF_PRESENT
Definition: tbb_config.h:297
#define __TBB_CPP11_ARRAY_PRESENT
Definition: tbb_config.h:322

Check whether the request to use GCC atomics can be satisfied Internal TBB features & modes __TBB_CONCURRENT_ORDERED_CONTAINERS indicates that all conditions of use concurrent_map and concurrent_set are met.

Definition at line 513 of file tbb_config.h.

◆ __TBB_CONSTEXPR_PRESENT

#define __TBB_CONSTEXPR_PRESENT   __TBB_CPP11_PRESENT

Definition at line 303 of file tbb_config.h.

◆ __TBB_COPY_FROM_NON_CONST_REF_BROKEN

#define __TBB_COPY_FROM_NON_CONST_REF_BROKEN   (_MSC_VER == 1700 && __INTEL_COMPILER && __INTEL_COMPILER < 1600)

Definition at line 814 of file tbb_config.h.

◆ __TBB_COUNT_TASK_NODES

#define __TBB_COUNT_TASK_NODES   TBB_USE_ASSERT

__TBB_SOURCE_DIRECTLY_INCLUDED is a mode used in whitebox testing when it's necessary to test internal functions not exported from TBB DLLs

Definition at line 537 of file tbb_config.h.

◆ __TBB_CPP11_ARRAY_PRESENT

#define __TBB_CPP11_ARRAY_PRESENT   (_MSC_VER >= 1700 || _LIBCPP_VERSION || __GXX_EXPERIMENTAL_CXX0X__ && __TBB_GLIBCXX_VERSION >= 40300)

Definition at line 322 of file tbb_config.h.

◆ __TBB_CPP11_AUTO_PRESENT

#define __TBB_CPP11_AUTO_PRESENT   __TBB_CPP11_PRESENT

Definition at line 307 of file tbb_config.h.

◆ __TBB_CPP11_DECLTYPE_OF_FUNCTION_RETURN_TYPE_BROKEN

#define __TBB_CPP11_DECLTYPE_OF_FUNCTION_RETURN_TYPE_BROKEN   (_MSC_VER == 1600 && !__INTEL_COMPILER)

Definition at line 823 of file tbb_config.h.

◆ __TBB_CPP11_DECLTYPE_PRESENT

#define __TBB_CPP11_DECLTYPE_PRESENT   __TBB_CPP11_PRESENT

Definition at line 308 of file tbb_config.h.

◆ __TBB_CPP11_DECLVAL_BROKEN

#define __TBB_CPP11_DECLVAL_BROKEN   (_MSC_VER == 1600 || (__GNUC__ && __TBB_GCC_VERSION < 40500) )

Definition at line 812 of file tbb_config.h.

◆ __TBB_CPP11_DEFAULT_FUNC_TEMPLATE_ARGS_PRESENT

#define __TBB_CPP11_DEFAULT_FUNC_TEMPLATE_ARGS_PRESENT   __TBB_CPP11_PRESENT

Definition at line 310 of file tbb_config.h.

◆ __TBB_CPP11_FUTURE_PRESENT

#define __TBB_CPP11_FUTURE_PRESENT   (_MSC_VER >= 1700 || __TBB_GLIBCXX_VERSION >= 40600 && __GXX_EXPERIMENTAL_CXX0X__ || _LIBCPP_VERSION)

Definition at line 344 of file tbb_config.h.

◆ __TBB_CPP11_GET_NEW_HANDLER_PRESENT

#define __TBB_CPP11_GET_NEW_HANDLER_PRESENT   (_MSC_VER >= 1900 || __TBB_GLIBCXX_VERSION >= 40900 && __GXX_EXPERIMENTAL_CXX0X__ || _LIBCPP_VERSION)

Definition at line 346 of file tbb_config.h.

◆ __TBB_CPP11_IS_COPY_CONSTRUCTIBLE_PRESENT

#define __TBB_CPP11_IS_COPY_CONSTRUCTIBLE_PRESENT   (__GXX_EXPERIMENTAL_CXX0X__ && __TBB_GLIBCXX_VERSION >= 40700 || __TBB_CPP11_TYPE_PROPERTIES_PRESENT)

Definition at line 331 of file tbb_config.h.

◆ __TBB_CPP11_LAMBDAS_PRESENT

#define __TBB_CPP11_LAMBDAS_PRESENT   __TBB_CPP11_PRESENT

Definition at line 309 of file tbb_config.h.

◆ __TBB_CPP11_PRESENT

#define __TBB_CPP11_PRESENT   (__cplusplus >= 201103L || _MSC_VER >= 1900)

__TBB_CPP11_PRESENT macro indicates that the compiler supports vast majority of C++11 features. Depending on the compiler, some features might still be unsupported or work incorrectly. Use it when enabling C++11 features individually is not practical, and be aware that some "good enough" compilers might be excluded.

Definition at line 149 of file tbb_config.h.

◆ __TBB_CPP11_RVALUE_REF_PRESENT

#define __TBB_CPP11_RVALUE_REF_PRESENT   __TBB_CPP11_PRESENT

Definition at line 297 of file tbb_config.h.

◆ __TBB_CPP11_SMART_POINTERS_PRESENT

#define __TBB_CPP11_SMART_POINTERS_PRESENT
Value:
( _MSC_VER >= 1600 || _LIBCPP_VERSION \
|| ((__cplusplus >= 201103L || __GXX_EXPERIMENTAL_CXX0X__) \
&& (__TBB_GLIBCXX_VERSION >= 40500 || __TBB_GLIBCXX_VERSION >= 40400 && __TBB_USE_OPTIONAL_RTTI)) )
#define __TBB_USE_OPTIONAL_RTTI
Definition: tbb_config.h:125

Definition at line 340 of file tbb_config.h.

◆ __TBB_CPP11_STD_BEGIN_END_PRESENT

#define __TBB_CPP11_STD_BEGIN_END_PRESENT   __TBB_CPP11_PRESENT

Definition at line 306 of file tbb_config.h.

◆ __TBB_CPP11_TEMPLATE_ALIASES_PRESENT

#define __TBB_CPP11_TEMPLATE_ALIASES_PRESENT   __TBB_CPP11_PRESENT

Definition at line 313 of file tbb_config.h.

◆ __TBB_CPP11_TUPLE_PRESENT

#define __TBB_CPP11_TUPLE_PRESENT   __TBB_CPP11_PRESENT

Definition at line 301 of file tbb_config.h.

◆ __TBB_CPP11_TYPE_PROPERTIES_PRESENT

#define __TBB_CPP11_TYPE_PROPERTIES_PRESENT   (_LIBCPP_VERSION || _MSC_VER >= 1700 || (__TBB_GLIBCXX_VERSION >= 50000 && __GXX_EXPERIMENTAL_CXX0X__))

Definition at line 329 of file tbb_config.h.

◆ __TBB_CPP11_VARIADIC_FIXED_LENGTH_EXP_PRESENT

#define __TBB_CPP11_VARIADIC_FIXED_LENGTH_EXP_PRESENT   __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT

Definition at line 325 of file tbb_config.h.

◆ __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT

#define __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT   __TBB_CPP11_PRESENT

C++11 mode detection macros for Intel(R) C++ Compiler (enabled by -std=c++XY option): INTEL_CXX11_MODE for version >=13.0 (not available for ICC 15.0 if -std=c++14 is used), STDC_HOSTED for version >=12.0 (useful only on Windows), GXX_EXPERIMENTAL_CXX0X for version >=12.0 on Linux and macOS.

Definition at line 296 of file tbb_config.h.

◆ __TBB_CPP11_VARIADIC_TUPLE_PRESENT

#define __TBB_CPP11_VARIADIC_TUPLE_PRESENT   (!_MSC_VER || _MSC_VER >= 1800)

Definition at line 327 of file tbb_config.h.

◆ __TBB_CPP14_INTEGER_SEQUENCE_PRESENT

#define __TBB_CPP14_INTEGER_SEQUENCE_PRESENT   (__cplusplus >= 201402L)

Definition at line 314 of file tbb_config.h.

◆ __TBB_CPP14_VARIABLE_TEMPLATES_PRESENT

#define __TBB_CPP14_VARIABLE_TEMPLATES_PRESENT   (__cplusplus >= 201402L)

Definition at line 315 of file tbb_config.h.

◆ __TBB_CPP17_DEDUCTION_GUIDES_PRESENT

#define __TBB_CPP17_DEDUCTION_GUIDES_PRESENT   (__cplusplus >= 201703L)

Definition at line 316 of file tbb_config.h.

◆ __TBB_CPP17_FALLTHROUGH_PRESENT

#define __TBB_CPP17_FALLTHROUGH_PRESENT   (__cplusplus >= 201703L)

Definition at line 151 of file tbb_config.h.

◆ __TBB_CPP17_HW_INTERFERENCE_SIZE_PRESENT

#define __TBB_CPP17_HW_INTERFERENCE_SIZE_PRESENT   (_MSC_VER >= 1911)

Definition at line 354 of file tbb_config.h.

◆ __TBB_CPP17_INVOKE_RESULT_PRESENT

#define __TBB_CPP17_INVOKE_RESULT_PRESENT   (__cplusplus >= 201703L)

Definition at line 317 of file tbb_config.h.

◆ __TBB_CPP17_MEMORY_RESOURCE_PRESENT

#define __TBB_CPP17_MEMORY_RESOURCE_PRESENT
Value:
(_MSC_VER >= 1913 && (_MSVC_LANG > 201402L || __cplusplus > 201402L) || \
__GLIBCXX__ && __cpp_lib_memory_resource >= 201603)

Definition at line 352 of file tbb_config.h.

◆ __TBB_CPP17_UNCAUGHT_EXCEPTIONS_PRESENT

#define __TBB_CPP17_UNCAUGHT_EXCEPTIONS_PRESENT
Value:
(_MSC_VER >= 1900 || __GLIBCXX__ && __cpp_lib_uncaught_exceptions \
|| _LIBCPP_VERSION >= 3700 && (!__TBB_MACOS_TARGET_VERSION || __TBB_MACOS_TARGET_VERSION >= 101200))

Definition at line 348 of file tbb_config.h.

◆ __TBB_DEFAULT_PARTITIONER

#define __TBB_DEFAULT_PARTITIONER   tbb::auto_partitioner

Definition at line 596 of file tbb_config.h.

◆ __TBB_DEFAULTED_AND_DELETED_FUNC_PRESENT

#define __TBB_DEFAULTED_AND_DELETED_FUNC_PRESENT   __TBB_CPP11_PRESENT

Definition at line 304 of file tbb_config.h.

◆ __TBB_DEPRECATED

#define __TBB_DEPRECATED

Definition at line 636 of file tbb_config.h.

◆ __TBB_DEPRECATED_IN_VERBOSE_MODE

#define __TBB_DEPRECATED_IN_VERBOSE_MODE

Definition at line 647 of file tbb_config.h.

◆ __TBB_DEPRECATED_IN_VERBOSE_MODE_MSG

#define __TBB_DEPRECATED_IN_VERBOSE_MODE_MSG (   msg)

Definition at line 648 of file tbb_config.h.

◆ __TBB_DEPRECATED_MSG

#define __TBB_DEPRECATED_MSG (   msg)

Definition at line 637 of file tbb_config.h.

◆ __TBB_DYNAMIC_LOAD_ENABLED

#define __TBB_DYNAMIC_LOAD_ENABLED   1

__TBB_DYNAMIC_LOAD_ENABLED describes the system possibility to load shared libraries at run time

Definition at line 525 of file tbb_config.h.

◆ __TBB_ENABLE_RANGE_FEEDBACK

#define __TBB_ENABLE_RANGE_FEEDBACK   0

Definition at line 604 of file tbb_config.h.

◆ __TBB_ENQUEUE_ENFORCED_CONCURRENCY

#define __TBB_ENQUEUE_ENFORCED_CONCURRENCY   1

Definition at line 587 of file tbb_config.h.

◆ __TBB_EXCEPTION_PTR_PRESENT

#define __TBB_EXCEPTION_PTR_PRESENT   __TBB_CPP11_PRESENT

Definition at line 299 of file tbb_config.h.

◆ __TBB_FALLTHROUGH_PRESENT

#define __TBB_FALLTHROUGH_PRESENT   (__TBB_GCC_VERSION >= 70000 && !__INTEL_COMPILER)

Definition at line 152 of file tbb_config.h.

◆ __TBB_FLOW_GRAPH_CPP11_FEATURES

#define __TBB_FLOW_GRAPH_CPP11_FEATURES
Value:
&& !__TBB_UPCAST_OF_TUPLE_OF_REF_BROKEN
#define __TBB_CPP11_DEFAULT_FUNC_TEMPLATE_ARGS_PRESENT
Definition: tbb_config.h:310
#define __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT
Definition: tbb_config.h:296
#define __TBB_CPP11_VARIADIC_TUPLE_PRESENT
Definition: tbb_config.h:327
#define __TBB_CPP11_SMART_POINTERS_PRESENT
Definition: tbb_config.h:340
#define __TBB_CPP11_AUTO_PRESENT
Definition: tbb_config.h:307
#define __TBB_CPP11_RVALUE_REF_PRESENT
Definition: tbb_config.h:297

Definition at line 849 of file tbb_config.h.

◆ __TBB_FORCE_64BIT_ALIGNMENT_BROKEN

#define __TBB_FORCE_64BIT_ALIGNMENT_BROKEN   0

Macros of the form __TBB_XXX_BROKEN denote known issues that are caused by the bugs in compilers, standard or OS specific libraries. They should be removed as soon as the corresponding bugs are fixed or the buggy OS/compiler versions go out of the support list.

Definition at line 796 of file tbb_config.h.

◆ __TBB_FP_CONTEXT

#define __TBB_FP_CONTEXT   __TBB_TASK_GROUP_CONTEXT

Definition at line 549 of file tbb_config.h.

◆ __TBB_GCC_VERSION

#define __TBB_GCC_VERSION   (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)

Definition at line 41 of file tbb_config.h.

◆ __TBB_generic_arch

#define __TBB_generic_arch   1

Definition at line 102 of file tbb_config.h.

◆ __TBB_generic_os

#define __TBB_generic_os   1

Target OS is either iOS* or iOS* simulator Preprocessor symbols to determine HW architecture

Definition at line 91 of file tbb_config.h.

◆ __TBB_IF_NO_COPY_CTOR_MOVE_SEMANTICS_BROKEN

#define __TBB_IF_NO_COPY_CTOR_MOVE_SEMANTICS_BROKEN   (_MSC_VER && (__INTEL_COMPILER >= 1300 && __INTEL_COMPILER <= 1310) && !__INTEL_CXX11_MODE__)

Definition at line 810 of file tbb_config.h.

◆ __TBB_IMPLICIT_MOVE_PRESENT

#define __TBB_IMPLICIT_MOVE_PRESENT   __TBB_CPP11_PRESENT

Definition at line 298 of file tbb_config.h.

◆ __TBB_INITIALIZER_LISTS_PRESENT

#define __TBB_INITIALIZER_LISTS_PRESENT   __TBB_CPP11_PRESENT

Definition at line 302 of file tbb_config.h.

◆ __TBB_IS_MACRO_EMPTY

#define __TBB_IS_MACRO_EMPTY (   A,
  IGNORED 
)    __TBB_CONCAT_AUX(__TBB_MACRO_EMPTY,A)

Definition at line 412 of file tbb_config.h.

◆ __TBB_MACRO_EMPTY

#define __TBB_MACRO_EMPTY   1

Definition at line 413 of file tbb_config.h.

◆ __TBB_MAKE_EXCEPTION_PTR_PRESENT

#define __TBB_MAKE_EXCEPTION_PTR_PRESENT   (__TBB_EXCEPTION_PTR_PRESENT && (_MSC_VER >= 1700 || __TBB_GLIBCXX_VERSION >= 40600 || _LIBCPP_VERSION || __SUNPRO_CC))

Definition at line 337 of file tbb_config.h.

◆ __TBB_MOVE_IF_NOEXCEPT_PRESENT

#define __TBB_MOVE_IF_NOEXCEPT_PRESENT   (__TBB_NOEXCEPT_PRESENT && (__TBB_GLIBCXX_VERSION >= 40700 || _MSC_VER >= 1900 || _LIBCPP_VERSION))

Definition at line 334 of file tbb_config.h.

◆ __TBB_NOEXCEPT_PRESENT

#define __TBB_NOEXCEPT_PRESENT   __TBB_CPP11_PRESENT

Definition at line 305 of file tbb_config.h.

◆ __TBB_OVERRIDE_PRESENT

#define __TBB_OVERRIDE_PRESENT   __TBB_CPP11_PRESENT

Definition at line 311 of file tbb_config.h.

◆ __TBB_PREVIEW_ASYNC_MSG

#define __TBB_PREVIEW_ASYNC_MSG   (TBB_PREVIEW_FLOW_GRAPH_FEATURES && __TBB_FLOW_GRAPH_CPP11_FEATURES)

Definition at line 857 of file tbb_config.h.

◆ __TBB_PREVIEW_CRITICAL_TASKS

#define __TBB_PREVIEW_CRITICAL_TASKS   (__TBB_CPF_BUILD || __TBB_PREVIEW_FLOW_GRAPH_PRIORITIES || __TBB_PREVIEW_RESUMABLE_TASKS)

Definition at line 870 of file tbb_config.h.

◆ __TBB_PREVIEW_FLOW_GRAPH_NODE_SET

#define __TBB_PREVIEW_FLOW_GRAPH_NODE_SET   (TBB_PREVIEW_FLOW_GRAPH_FEATURES && __TBB_CPP11_PRESENT && __TBB_FLOW_GRAPH_CPP11_FEATURES)

Definition at line 874 of file tbb_config.h.

◆ __TBB_PREVIEW_FLOW_GRAPH_PRIORITIES

#define __TBB_PREVIEW_FLOW_GRAPH_PRIORITIES   TBB_PREVIEW_FLOW_GRAPH_FEATURES

Definition at line 861 of file tbb_config.h.

◆ __TBB_PREVIEW_MESSAGE_BASED_KEY_MATCHING

#define __TBB_PREVIEW_MESSAGE_BASED_KEY_MATCHING   (TBB_PREVIEW_FLOW_GRAPH_FEATURES || __TBB_PREVIEW_OPENCL_NODE)

Definition at line 856 of file tbb_config.h.

◆ __TBB_PREVIEW_OPENCL_NODE

#define __TBB_PREVIEW_OPENCL_NODE   (__TBB_PREVIEW_STREAMING_NODE && __TBB_CPP11_TEMPLATE_ALIASES_PRESENT)

Definition at line 855 of file tbb_config.h.

◆ __TBB_PREVIEW_RESUMABLE_TASKS

#define __TBB_PREVIEW_RESUMABLE_TASKS   ((__TBB_CPF_BUILD || TBB_PREVIEW_RESUMABLE_TASKS) && !__TBB_WIN8UI_SUPPORT && !__ANDROID__ && !__TBB_ipf)

Definition at line 866 of file tbb_config.h.

◆ __TBB_PREVIEW_STREAMING_NODE

#define __TBB_PREVIEW_STREAMING_NODE
Value:
&& TBB_PREVIEW_FLOW_GRAPH_NODES && !TBB_IMPLEMENT_CPP0X && !__TBB_UPCAST_OF_TUPLE_OF_REF_BROKEN)
#define __TBB_FLOW_GRAPH_CPP11_FEATURES
Definition: tbb_config.h:849
#define __TBB_CPP11_VARIADIC_FIXED_LENGTH_EXP_PRESENT
Definition: tbb_config.h:325
#define TBB_IMPLEMENT_CPP0X
Definition: tbb_config.h:484

Definition at line 853 of file tbb_config.h.

◆ __TBB_RECYCLE_TO_ENQUEUE

#define __TBB_RECYCLE_TO_ENQUEUE   __TBB_BUILD

Definition at line 556 of file tbb_config.h.

◆ __TBB_SCHEDULER_OBSERVER

#define __TBB_SCHEDULER_OBSERVER   1

Definition at line 545 of file tbb_config.h.

◆ __TBB_STATIC_ASSERT_PRESENT

#define __TBB_STATIC_ASSERT_PRESENT   __TBB_CPP11_PRESENT

Definition at line 300 of file tbb_config.h.

◆ __TBB_STD_SWAP_HEADER

#define __TBB_STD_SWAP_HEADER   <algorithm>

Definition at line 359 of file tbb_config.h.

◆ __TBB_TASK_GROUP_CONTEXT

#define __TBB_TASK_GROUP_CONTEXT   1

Definition at line 541 of file tbb_config.h.

◆ __TBB_TASK_ISOLATION

#define __TBB_TASK_ISOLATION   1

Definition at line 563 of file tbb_config.h.

◆ __TBB_TASK_PRIORITY

#define __TBB_TASK_PRIORITY   (__TBB_TASK_GROUP_CONTEXT)

Definition at line 571 of file tbb_config.h.

◆ __TBB_TODO

#define __TBB_TODO   0

This header is supposed to contain macro definitions and C style comments only. The macros defined here are intended to control such aspects of TBB build as

  • presence of compiler features
  • compilation modes
  • feature sets
  • known compiler/platform issues

Definition at line 31 of file tbb_config.h.

◆ __TBB_TSX_AVAILABLE

#define __TBB_TSX_AVAILABLE   ((__TBB_x86_32 || __TBB_x86_64) && !__TBB_DEFINE_MIC)

Definition at line 110 of file tbb_config.h.

◆ __TBB_TSX_INTRINSICS_PRESENT

#define __TBB_TSX_INTRINSICS_PRESENT   ((__RTM__ || _MSC_VER>=1700 || __INTEL_COMPILER>=1300) && !__TBB_DEFINE_MIC && !__ANDROID__)

Definition at line 404 of file tbb_config.h.

◆ __TBB_USE_OPTIONAL_RTTI

#define __TBB_USE_OPTIONAL_RTTI   (__GXX_RTTI || __RTTI || __INTEL_RTTI__)

Presence of compiler features

Definition at line 125 of file tbb_config.h.

◆ __TBB_USE_PROPORTIONAL_SPLIT_IN_BLOCKED_RANGES

#define __TBB_USE_PROPORTIONAL_SPLIT_IN_BLOCKED_RANGES   1

Definition at line 600 of file tbb_config.h.

◆ __TBB_VARIADIC_MAX

#define __TBB_VARIADIC_MAX   15

Definition at line 615 of file tbb_config.h.

◆ __TBB_VARIADIC_PARALLEL_INVOKE

#define __TBB_VARIADIC_PARALLEL_INVOKE   (TBB_PREVIEW_VARIADIC_PARALLEL_INVOKE && __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT && __TBB_CPP11_RVALUE_REF_PRESENT)

Definition at line 848 of file tbb_config.h.

◆ __TBB_WEAK_SYMBOLS_PRESENT

#define __TBB_WEAK_SYMBOLS_PRESENT   ( !_WIN32 && !__APPLE__ && !__sun && (__TBB_GCC_VERSION >= 40000 || __INTEL_COMPILER ) )

__TBB_WEAK_SYMBOLS_PRESENT denotes that the system supports the weak symbol mechanism

Definition at line 520 of file tbb_config.h.

◆ __TBB_WIN8UI_SUPPORT

#define __TBB_WIN8UI_SUPPORT   0

__TBB_WIN8UI_SUPPORT enables support of Windows* Store Apps and limit a possibility to load shared libraries at run time only from application container

Definition at line 661 of file tbb_config.h.

◆ TBB_IMPLEMENT_CPP0X

#define TBB_IMPLEMENT_CPP0X   (!__STDCPP_THREADS__)

By default, use C++11 classes if available

Definition at line 484 of file tbb_config.h.

◆ TBB_USE_ASSERT

#define TBB_USE_ASSERT   TBB_USE_DEBUG

Definition at line 438 of file tbb_config.h.

◆ TBB_USE_CAPTURED_EXCEPTION

#define TBB_USE_CAPTURED_EXCEPTION   0

IA-64 architecture pre-built TBB binaries do not support exception_ptr.

Definition at line 492 of file tbb_config.h.

◆ TBB_USE_DEBUG

#define TBB_USE_DEBUG   0

User controlled TBB features & modes

Definition at line 433 of file tbb_config.h.

◆ TBB_USE_EXCEPTIONS

#define TBB_USE_EXCEPTIONS   0

Definition at line 463 of file tbb_config.h.

◆ TBB_USE_PERFORMANCE_WARNINGS

#define TBB_USE_PERFORMANCE_WARNINGS   TBB_USE_DEBUG

Definition at line 449 of file tbb_config.h.

◆ TBB_USE_THREADING_TOOLS

#define TBB_USE_THREADING_TOOLS   TBB_USE_DEBUG

Definition at line 442 of file tbb_config.h.


Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.