Merge pull request #16037 from alalek:dnn_test_fix_skip_vulkan

pull/15650/merge
Alexander Alekhin 5 years ago
commit 1633c29f29
  1. 2
      modules/dnn/test/test_misc.cpp

@ -184,7 +184,7 @@ TEST_P(setInput, normalization)
if (backend == DNN_BACKEND_OPENCV && target == DNN_TARGET_OPENCL_FP16 && dtype != CV_32F) if (backend == DNN_BACKEND_OPENCV && target == DNN_TARGET_OPENCL_FP16 && dtype != CV_32F)
applyTestTag(CV_TEST_TAG_DNN_SKIP_OPENCL_FP16); applyTestTag(CV_TEST_TAG_DNN_SKIP_OPENCL_FP16);
if (backend == DNN_BACKEND_VKCOM && dtype != CV_32F) if (backend == DNN_BACKEND_VKCOM && dtype != CV_32F)
throw SkipTestException(CV_TEST_TAG_DNN_SKIP_VULKAN); applyTestTag(CV_TEST_TAG_DNN_SKIP_VULKAN);
Mat inp(5, 5, CV_8UC3); Mat inp(5, 5, CV_8UC3);
randu(inp, 0, 255); randu(inp, 0, 255);

Loading…
Cancel
Save