renamed GpuFeature into FeatureSet and updated docs

This commit is contained in:
Alexey Spizhevoy
2011-02-15 13:56:59 +00:00
parent 04709a2793
commit 2f8af6335e
4 changed files with 28708 additions and 28709 deletions

View File

@@ -64,7 +64,7 @@ namespace cv
CV_EXPORTS void setDevice(int device);
CV_EXPORTS int getDevice();
enum GpuFeature
enum FeatureSet
{
FEATURE_SET_COMPUTE_10 = 10,
FEATURE_SET_COMPUTE_11 = 11,
@@ -81,7 +81,7 @@ namespace cv
class CV_EXPORTS TargetArchs
{
public:
static bool builtWith(GpuFeature feature);
static bool builtWith(FeatureSet feature_set);
static bool has(int major, int minor);
static bool hasPtx(int major, int minor);
static bool hasBin(int major, int minor);
@@ -115,7 +115,7 @@ namespace cv
size_t totalMemory() const;
// Checks whether device supports the given feature
bool supports(GpuFeature feature) const;
bool supports(FeatureSet feature_set) const;
// Checks whether the GPU module can be run on the given device
bool isCompatible() const;