added optimized deviceSupports function

This commit is contained in:
Vladislav Vinogradov
2012-11-23 18:36:15 +04:00
parent a71ef7d67b
commit f00efcfc59
2 changed files with 100 additions and 20 deletions

View File

@@ -79,6 +79,8 @@ namespace cv { namespace gpu
WARP_SHUFFLE_FUNCTIONS = FEATURE_SET_COMPUTE_30
};
CV_EXPORTS bool deviceSupports(FeatureSet feature_set);
// Gives information about what GPU archs this OpenCV GPU module was
// compiled for
class CV_EXPORTS TargetArchs