22.3: remove tbb version check for using tbbbind static library (#15700)

This commit is contained in:
Fang Xu 2023-02-15 01:31:18 +05:30 committed by GitHub
parent 233c3ef841
commit 20120ca646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -4,6 +4,8 @@
#include "ie_parallel_custom_arena.hpp"
#include <cstring>
#include "itt.hpp"
#if IE_THREAD == IE_THREAD_TBB || IE_THREAD == IE_THREAD_TBB_AUTO
@ -12,7 +14,12 @@
# define TBBBIND_2_5_AVAILABLE 0
# endif
# define USE_TBBBIND_2_5 (TBBBIND_2_5_AVAILABLE && TBB_INTERFACE_VERSION < 12020)
# define USE_TBBBIND_2_5 TBBBIND_2_5_AVAILABLE
# if USE_TBBBIND_2_5
# pragma message("USE_TBBBIND_2_5 is enabled")
# else
# pragma message("USE_TBBBIND_2_5 is disabled")
# endif
# define TBB_NUMA_SUPPORT_PRESENT (TBB_INTERFACE_VERSION >= 11100)
# if defined(__APPLE__)
// 2021.2 TBB doesn't export for macOS symbol: