added checkPtxVersion into gpu module
This commit is contained in:
@@ -72,8 +72,8 @@ namespace cv
|
||||
CV_EXPORTS bool hasNativeDoubleSupport(int device);
|
||||
CV_EXPORTS bool hasAtomicsSupport(int device);
|
||||
|
||||
//! Checks if the GPU module was built with PTX support (-arch) of the given CC
|
||||
CV_EXPORTS bool hasPtxFor(int major, int minor);
|
||||
template <unsigned int cmp_op>
|
||||
CV_EXPORTS bool checkPtxVersion(int major, int minor);
|
||||
|
||||
//! Checks if the GPU module is PTX compatible with the given NVIDIA device
|
||||
CV_EXPORTS bool isCompatibleWith(int device);
|
||||
|
Reference in New Issue
Block a user