performance fix of convertC3C4
add OCL 1.2 feature for setTo bug fix of integral replace the error code -217 with suitable MACRO simplify tests, no need apply a new context for each test case add more control for tests in utility.hpp
This commit is contained in:
@@ -160,7 +160,7 @@ namespace cv
|
||||
{
|
||||
if(mat_dst.clCxt -> impl -> double_support ==0 && mat_dst.type() == CV_64F)
|
||||
{
|
||||
CV_Error(-217,"Selected device don't support double\r\n");
|
||||
CV_Error(CV_GpuNotSupported,"Selected device don't support double\r\n");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -299,7 +299,7 @@ namespace cv
|
||||
|
||||
if(mat_src.clCxt -> impl -> double_support ==0 && mat_src.type() == CV_64F)
|
||||
{
|
||||
CV_Error(-217,"Selected device don't support double\r\n");
|
||||
CV_Error(CV_GpuNotSupported,"Selected device don't support double\r\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user