mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
fix for AVX2 version of v_reduce_min intrinsic
This commit is contained in:
@@ -772,6 +772,9 @@ template<typename R> struct TheTest
|
||||
EXPECT_EQ((LaneType)1, v_reduce_min(a));
|
||||
EXPECT_EQ((LaneType)R::nlanes, v_reduce_max(a));
|
||||
EXPECT_EQ((LaneType)((1 + R::nlanes)*R::nlanes/2), v_reduce_sum(a));
|
||||
dataA[0] += R::nlanes;
|
||||
R an = dataA;
|
||||
EXPECT_EQ((LaneType)2, v_reduce_min(an));
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user