multiple yet minor fixes to make most of the tests pass on Mac with Iris graphics
This commit is contained in:
@@ -240,6 +240,11 @@ void cv::parallel_for_(const cv::Range& range, const cv::ParallelLoopBody& body,
|
||||
{
|
||||
ProxyLoopBody pbody(body, range, nstripes);
|
||||
cv::Range stripeRange = pbody.stripeRange();
|
||||
if( stripeRange.end - stripeRange.start == 1 )
|
||||
{
|
||||
body(range);
|
||||
return;
|
||||
}
|
||||
|
||||
#if defined HAVE_TBB
|
||||
|
||||
|
Reference in New Issue
Block a user