some utility for GPU module internal purposes

This commit is contained in:
Anatoly Baksheev
2010-11-10 17:05:36 +00:00
parent f76d393910
commit 55a722fc9d
4 changed files with 49 additions and 10 deletions

View File

@@ -52,7 +52,7 @@ namespace cv
{
namespace gpu
{
//////////////////////////////// Initialization ////////////////////////
//////////////////////////////// Initialization & Info ////////////////////////
//! This is the only function that do not throw exceptions if the library is compiled without Cuda.
CV_EXPORTS int getCudaEnabledDeviceCount();
@@ -67,6 +67,11 @@ namespace cv
CV_EXPORTS void getGpuMemInfo(size_t& free, size_t& total);
//////////////////////////////// Error handling ////////////////////////
CV_EXPORTS void error(const char *error_string, const char *file, const int line, const char *func);
CV_EXPORTS void nppError( int err, const char *file, const int line, const char *func);
//////////////////////////////// GpuMat ////////////////////////////////
class Stream;
class CudaMem;