EstervQrCode 1.1.1
Library for qr code manipulation
Static Public Member Functions | List of all members

Class providing a set of static methods to check what NVIDIA* card architecture the CUDA module was built for. More...

#include <cuda.hpp>

Static Public Member Functions

static bool builtWith (FeatureSet feature_set)
 The following method checks whether the module was built with the support of the given feature: More...
 
static CV_WRAP bool has (int major, int minor)
 There is a set of methods to check whether the module contains intermediate (PTX) or binary CUDA code for the given architecture(s): More...
 
static CV_WRAP bool hasPtx (int major, int minor)
 
static CV_WRAP bool hasBin (int major, int minor)
 
static CV_WRAP bool hasEqualOrLessPtx (int major, int minor)
 
static CV_WRAP bool hasEqualOrGreater (int major, int minor)
 
static CV_WRAP bool hasEqualOrGreaterPtx (int major, int minor)
 
static CV_WRAP bool hasEqualOrGreaterBin (int major, int minor)
 

Detailed Description

Class providing a set of static methods to check what NVIDIA* card architecture the CUDA module was built for.

According to the CUDA C Programming Guide Version 3.2: "PTX code produced for some specific compute capability can always be compiled to binary code of greater or equal compute capability".

Member Function Documentation

◆ builtWith()

static bool cv::cuda::TargetArchs::builtWith ( FeatureSet  feature_set)
static

The following method checks whether the module was built with the support of the given feature:

Parameters
feature_setFeatures to be checked. See :ocvcuda::FeatureSet.

◆ has()

static CV_WRAP bool cv::cuda::TargetArchs::has ( int  major,
int  minor 
)
static

There is a set of methods to check whether the module contains intermediate (PTX) or binary CUDA code for the given architecture(s):

Parameters
majorMajor compute capability version.
minorMinor compute capability version.

◆ hasBin()

static CV_WRAP bool cv::cuda::TargetArchs::hasBin ( int  major,
int  minor 
)
static

◆ hasEqualOrGreater()

static CV_WRAP bool cv::cuda::TargetArchs::hasEqualOrGreater ( int  major,
int  minor 
)
static

◆ hasEqualOrGreaterBin()

static CV_WRAP bool cv::cuda::TargetArchs::hasEqualOrGreaterBin ( int  major,
int  minor 
)
static

◆ hasEqualOrGreaterPtx()

static CV_WRAP bool cv::cuda::TargetArchs::hasEqualOrGreaterPtx ( int  major,
int  minor 
)
static

◆ hasEqualOrLessPtx()

static CV_WRAP bool cv::cuda::TargetArchs::hasEqualOrLessPtx ( int  major,
int  minor 
)
static

◆ hasPtx()

static CV_WRAP bool cv::cuda::TargetArchs::hasPtx ( int  major,
int  minor 
)
static

The documentation for this class was generated from the following file: