reafactoring: replaced query device props functions with the DeviceInfo class
This commit is contained in:
@@ -531,7 +531,7 @@ void cv::gpu::BruteForceMatcher_GPU_base::radiusMatch(const GpuMat& queryDescs,
|
||||
}
|
||||
};
|
||||
|
||||
CV_Assert(hasAtomicsSupport(getDevice()));
|
||||
CV_Assert(DeviceInfo().has(ATOMICS));
|
||||
|
||||
const int nQuery = queryDescs.rows;
|
||||
const int nTrain = trainDescs.rows;
|
||||
|
Reference in New Issue
Block a user