1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

renamed gpu::DeviceInfo::has into gpu::DeviceInfo::supports

This commit is contained in:
Alexey Spizhevoy
2011-02-09 12:31:05 +00:00
parent 924670d32c
commit 63806c9ab9
13 changed files with 35 additions and 35 deletions
+3 -3
View File
@@ -673,7 +673,7 @@ struct CV_GpuMinMaxTest: public CvTest
try
{
bool double_ok = gpu::TargetArchs::builtWith(gpu::NATIVE_DOUBLE) &&
gpu::DeviceInfo().has(gpu::NATIVE_DOUBLE);
gpu::DeviceInfo().supports(gpu::NATIVE_DOUBLE);
int depth_end = double_ok ? CV_64F : CV_32F;
for (int depth = CV_8U; depth <= depth_end; ++depth)
@@ -798,7 +798,7 @@ struct CV_GpuMinMaxLocTest: public CvTest
try
{
bool double_ok = gpu::TargetArchs::builtWith(gpu::NATIVE_DOUBLE) &&
gpu::DeviceInfo().has(gpu::NATIVE_DOUBLE);
gpu::DeviceInfo().supports(gpu::NATIVE_DOUBLE);
int depth_end = double_ok ? CV_64F : CV_32F;
for (int depth = CV_8U; depth <= depth_end; ++depth)
@@ -875,7 +875,7 @@ struct CV_GpuCountNonZeroTest: CvTest
try
{
int depth_end;
if (cv::gpu::DeviceInfo().has(cv::gpu::NATIVE_DOUBLE))
if (cv::gpu::DeviceInfo().supports(cv::gpu::NATIVE_DOUBLE))
depth_end = CV_64F;
else
depth_end = CV_32F;