Skip to content

Commit

Permalink
Revert unintended changes to master
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanNovoselov committed Nov 8, 2022
1 parent 4c5906e commit 953fcb0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions src/inference/include/ie/ie_parallel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,17 +616,17 @@ void parallel_for5d(const T0& D0, const T1& D1, const T2& D2, const T3& D3, cons
int nthr = parallel_get_max_threads();
if (static_cast<size_t>(nthr) > work_amount)
nthr = static_cast<int>(work_amount);
// if (nthr == 1) {
if (nthr == 1) {
for_5d(0, 1, D0, D1, D2, D3, D4, func);
// } else {
// tbb::parallel_for(
// 0,
// nthr,
// [&](int ithr) {
// for_5d(ithr, nthr, D0, D1, D2, D3, D4, func);
// },
// tbb::static_partitioner());
// }
} else {
tbb::parallel_for(
0,
nthr,
[&](int ithr) {
for_5d(ithr, nthr, D0, D1, D2, D3, D4, func);
},
tbb::static_partitioner());
}
#elif IE_THREAD == IE_THREAD_TBB_AUTO
const int nthr = parallel_get_max_threads();
tbb::parallel_for(0, nthr, [&](int ithr) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ std::vector<std::string> disabledTestPatterns() {
// tests/functional/shared_test_classes/include/shared_test_classes/single_layer/non_max_suppression.hpp
// is shared across plugins
// passed local test and cpu has specific test cases with nms9 to cover
R"(smoke_NmsLayerTest.*)"
R"(smoke_NmsLayerTest.*)",
};

#define FIX_62820 0
Expand Down

0 comments on commit 953fcb0

Please sign in to comment.