1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

added checkPtxVersion into gpu module

This commit is contained in:
Alexey Spizhevoy
2011-01-18 14:52:35 +00:00
parent cbb132ccb1
commit 1a0d41fb53
5 changed files with 107 additions and 46 deletions
+2 -2
View File
@@ -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);