mirror of
https://github.com/opencv/opencv.git
synced 2025-01-19 06:53:50 +08:00
fix cv::gpu::resize function
add missing stream parameter to call_resize_linear_glob
This commit is contained in:
parent
10f89b9c8b
commit
1f72873c55
@ -213,7 +213,7 @@ namespace cv { namespace gpu { namespace device
|
||||
const dim3 block(32, 8);
|
||||
const dim3 grid(divUp(dst.cols, block.x), divUp(dst.rows, block.y));
|
||||
|
||||
resize_linear<<<grid, block>>>(src, dst, fy, fx);
|
||||
resize_linear<<<grid, block, 0, stream>>>(src, dst, fy, fx);
|
||||
cudaSafeCall( cudaGetLastError() );
|
||||
|
||||
if (stream == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user