mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
added perf test for gpu::erode, fixed docs, refactored perf. sample
This commit is contained in:
@@ -60,10 +60,13 @@ void inline contextOff()
|
||||
safeCall(cuCtxPopCurrent(&prev_context));
|
||||
}
|
||||
|
||||
// GPUs data
|
||||
GpuMat d_left[2];
|
||||
GpuMat d_right[2];
|
||||
StereoBM_GPU* bm[2];
|
||||
GpuMat d_result[2];
|
||||
|
||||
// CPU result
|
||||
Mat result;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
|
||||
Reference in New Issue
Block a user