fixed some bugs in OpenCL branch of UMat implementation; maybe now the tests will finally pass?! (please ;( )

This commit is contained in:
Vadim Pisarevsky
2013-10-25 11:19:40 +04:00
parent ace0d4bad0
commit 6416c33020
2 changed files with 12 additions and 7 deletions

View File

@@ -47,6 +47,7 @@
#include <iterator>
#include <limits>
#include <numeric>
#include "opencv2/core/ocl.hpp"
using namespace cv;
using namespace std;
@@ -123,6 +124,10 @@ bool CV_UMatTest::TestUMat()
void CV_UMatTest::run( int /* start_from */)
{
printf("Use OpenCL: %s\nHave OpenCL: %s\n",
ocl::useOpenCL() ? "TRUE" : "FALSE",
ocl::haveOpenCL() ? "TRUE" : "FALSE" );
if (!TestUMat())
return;