1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

fixed error reporting in GPU module (exceptions in destructors, etc)

This commit is contained in:
Anatoly Baksheev
2010-11-15 16:22:52 +00:00
parent d7d0754f38
commit f2df784830
6 changed files with 134 additions and 115 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ static inline bool check_and_treat_gpu_exception(const cv::Exception& e, CvTS* t
{
switch (e.code)
{
case CV_GpuNotFound:
ts->printf(CvTS::LOG, "\nGpu not found");
case CV_GpuNotSupported:
ts->printf(CvTS::LOG, "\nGpu not supported by the library");
break;
case CV_GpuApiCallError: