pull/13383/head
Andrey Morozov 15 years ago
parent ffe7bdf69c
commit 2d36ba2175
  1. 10
      modules/gpu/src/cuda/matrix_operations.cu

@ -49,7 +49,7 @@
using namespace cv::gpu;
using namespace cv::gpu::impl;
__constant__ __align__(16) double scalar_d[4];
__constant__ double scalar_d[4];
namespace mat_operators
{
@ -267,7 +267,7 @@ namespace cv
CopyToFunc func = tab[depth];
if (func == 0) error("Operation \'ConvertTo\' doesn't supported on your GPU model", __FILE__, __LINE__);
if (func == 0) cv::gpu::error("Unsupported convert operation", __FILE__, __LINE__);
func(mat_src, mat_dst, mask, channels);
}
@ -321,7 +321,7 @@ namespace cv
SetToFunc_without_mask func = tab[depth];
if (func == 0) error("Operation \'ConvertTo\' doesn't supported on your GPU model", __FILE__, __LINE__);
if (func == 0) cv::gpu::error("Unsupported convert operation", __FILE__, __LINE__);
func(mat, channels);
}
@ -350,7 +350,7 @@ namespace cv
SetToFunc_with_mask func = tab[depth];
if (func == 0) error("Operation \'ConvertTo\' doesn't supported on your GPU model", __FILE__, __LINE__);
if (func == 0) cv::gpu::error("Unsupported convert operation", __FILE__, __LINE__);
func(mat, mask, channels);
}
@ -410,4 +410,4 @@ namespace cv
}
} // namespace impl
} // namespace gpu
} // namespace cv
} // namespace cv

Loading…
Cancel
Save