added CUDA_ARCH_FEATUERS define (for correct handling of BIN(PTX) cases)
This commit is contained in:
@@ -72,9 +72,9 @@ namespace
|
||||
CV_EXPORTS bool cv::gpu::TargetArchs::builtWith(cv::gpu::GpuFeature feature)
|
||||
{
|
||||
if (feature == NATIVE_DOUBLE)
|
||||
return hasEqualOrGreater(1, 3);
|
||||
return ::compareToSet(CUDA_ARCH_FEATURES, 13, std::greater_equal<int>());
|
||||
if (feature == ATOMICS)
|
||||
return hasEqualOrGreater(1, 1);
|
||||
return ::compareToSet(CUDA_ARCH_FEATURES, 11, std::greater_equal<int>());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user