now GPU stereo_bp test prints error mesage and test system continues execution

pull/13383/head
Alexey Spizhevoy 14 years ago
parent faee18961d
commit 993773b74a
  1. 2
      modules/gpu/src/matrix_operations.cpp
  2. 2
      modules/gpu/src/multi_gpu_manager.cpp

@ -65,7 +65,7 @@ namespace cv
GpuMat& GpuMat::setTo(const Scalar& /*s*/, const GpuMat& /*mask*/) { throw_nogpu(); return *this; }
GpuMat GpuMat::reshape(int /*new_cn*/, int /*new_rows*/) const { throw_nogpu(); return GpuMat(); }
void GpuMat::create(int /*_rows*/, int /*_cols*/, int /*_type*/) { throw_nogpu(); }
void GpuMat::release() { throw_nogpu(); }
void GpuMat::release() {}
void createContinuous(int /*rows*/, int /*cols*/, int /*type*/, GpuMat& /*m*/) { throw_nogpu(); }

@ -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(); }

Loading…
Cancel
Save