mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
dnn(test): mark unstable OpenCL tests
This commit is contained in:
parent
c9faa09d55
commit
f25450791b
@ -113,7 +113,11 @@ TEST_P(Convolution, Accuracy)
|
|||||||
bool skipCheck = false;
|
bool skipCheck = false;
|
||||||
if (cvtest::skipUnstableTests && backendId == DNN_BACKEND_OPENCV &&
|
if (cvtest::skipUnstableTests && backendId == DNN_BACKEND_OPENCV &&
|
||||||
(targetId == DNN_TARGET_OPENCL || targetId == DNN_TARGET_OPENCL_FP16) &&
|
(targetId == DNN_TARGET_OPENCL || targetId == DNN_TARGET_OPENCL_FP16) &&
|
||||||
kernel == Size(3, 1) && stride == Size(1, 1) && pad == Size(0, 1))
|
(
|
||||||
|
(kernel == Size(3, 1) && stride == Size(1, 1) && pad == Size(0, 1)) ||
|
||||||
|
(stride.area() > 1 && !(pad.width == 0 && pad.height == 0))
|
||||||
|
)
|
||||||
|
)
|
||||||
skipCheck = true;
|
skipCheck = true;
|
||||||
|
|
||||||
int sz[] = {outChannels, inChannels / group, kernel.height, kernel.width};
|
int sz[] = {outChannels, inChannels / group, kernel.height, kernel.width};
|
||||||
|
Loading…
Reference in New Issue
Block a user