added gpu::count_non_zero version for CC1.0, refactored gpu module a little

This commit is contained in:
Alexey Spizhevoy
2010-11-29 07:18:11 +00:00
parent 120a3b75fc
commit 72f020a8f3
5 changed files with 117 additions and 35 deletions

View File

@@ -68,6 +68,9 @@ namespace cv
CV_EXPORTS void getGpuMemInfo(size_t& free, size_t& total);
CV_EXPORTS bool hasNativeDoubleSupport(int device);
CV_EXPORTS bool hasAtomicsSupport(int device);
//////////////////////////////// Error handling ////////////////////////
CV_EXPORTS void error(const char *error_string, const char *file, const int line, const char *func);