cuda: add SkipTestException handling

This commit is contained in:
cudawarped 2023-07-17 18:03:09 +03:00
parent 1920993525
commit e00c904585

View File

@ -202,6 +202,11 @@ namespace cvtest
{ \
UnsafeTestBody(); \
} \
catch (const cvtest::details::SkipTestExceptionBase& e) \
{ \
printf("[ SKIP ] %s\n", e.what()); \
cv::cuda::resetDevice(); \
} \
catch (...) \
{ \
cv::cuda::resetDevice(); \