now GPU stereo_bp test prints error mesage and test system continues execution
authorAlexey Spizhevoy <no@email>
Thu, 17 Feb 2011 11:09:29 +0000 (11:09 +0000)
committerAlexey Spizhevoy <no@email>
Thu, 17 Feb 2011 11:09:29 +0000 (11:09 +0000)
modules/gpu/src/matrix_operations.cpp
modules/gpu/src/multi_gpu_manager.cpp

index b4018ae..52821f9 100644 (file)
@@ -65,7 +65,7 @@ namespace cv
         GpuMat& GpuMat::setTo(const Scalar& /*s*/, const GpuMat& /*mask*/) { throw_nogpu(); return *this; }\r
         GpuMat GpuMat::reshape(int /*new_cn*/, int /*new_rows*/) const { throw_nogpu(); return GpuMat(); }\r
         void GpuMat::create(int /*_rows*/, int /*_cols*/, int /*_type*/) { throw_nogpu(); }\r
-        void GpuMat::release() { throw_nogpu(); }\r
+        void GpuMat::release() {}\r
 \r
         void createContinuous(int /*rows*/, int /*cols*/, int /*type*/, GpuMat& /*m*/) { throw_nogpu(); }\r
 \r
index 68bab7e..8492f70 100644 (file)
@@ -48,7 +48,7 @@ namespace cv { namespace gpu {
 
 class MultiGpuManager::Impl {};
 MultiGpuManager::MultiGpuManager() { throw_nogpu(); }
-MultiGpuManager::~MultiGpuManager() { throw_nogpu(); }
+MultiGpuManager::~MultiGpuManager() {}
 void MultiGpuManager::init() { throw_nogpu(); }
 void MultiGpuManager::gpuOn(int) { throw_nogpu(); }
 void MultiGpuManager::gpuOff() { throw_nogpu(); }