GPU module: minor interface changes
This commit is contained in:
@@ -61,6 +61,8 @@ namespace cv
|
||||
T* ptr;
|
||||
size_t step;
|
||||
|
||||
DevMem2D_() : cols(0), rows(0), ptr(0), step(0) {}
|
||||
|
||||
DevMem2D_(int rows_, int cols_, T *ptr_, size_t step_)
|
||||
: cols(cols_), rows(rows_), ptr(ptr_), step(step_) {}
|
||||
|
||||
|
@@ -62,10 +62,10 @@ namespace cv
|
||||
CV_EXPORTS void setDevice(int device);
|
||||
CV_EXPORTS int getDevice();
|
||||
|
||||
CV_EXPORTS void getComputeCapability(int device, int* major, int* minor);
|
||||
CV_EXPORTS void getComputeCapability(int device, int& major, int& minor);
|
||||
CV_EXPORTS int getNumberOfSMs(int device);
|
||||
|
||||
CV_EXPORTS void getGpuMemInfo(size_t *free, size_t* total);
|
||||
CV_EXPORTS void getGpuMemInfo(size_t& free, size_t& total);
|
||||
|
||||
//////////////////////////////// GpuMat ////////////////////////////////
|
||||
class Stream;
|
||||
|
Reference in New Issue
Block a user