mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
replaced has* methods in the GPU module with the TargetArchs monostate
This commit is contained in:
@@ -659,7 +659,7 @@ struct CV_GpuMinMaxTest: public CvTest
|
||||
{
|
||||
try
|
||||
{
|
||||
bool double_ok = gpu::hasGreaterOrEqualVersion(1, 3) &&
|
||||
bool double_ok = gpu::TargetArchs::builtWith(gpu::NATIVE_DOUBLE) &&
|
||||
gpu::hasNativeDoubleSupport(gpu::getDevice());
|
||||
int depth_end = double_ok ? CV_64F : CV_32F;
|
||||
|
||||
@@ -793,7 +793,7 @@ struct CV_GpuMinMaxLocTest: public CvTest
|
||||
{
|
||||
try
|
||||
{
|
||||
bool double_ok = gpu::hasGreaterOrEqualVersion(1, 3) &&
|
||||
bool double_ok = gpu::TargetArchs::builtWith(gpu::NATIVE_DOUBLE) &&
|
||||
gpu::hasNativeDoubleSupport(gpu::getDevice());
|
||||
int depth_end = double_ok ? CV_64F : CV_32F;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user