From 4094b2d7a57eecae3b68f792ed070aedf4be1f6c Mon Sep 17 00:00:00 2001 From: Sergey Alexandrov Date: Fri, 18 Sep 2015 13:12:58 +0200 Subject: [PATCH] Use stream argument when launching bilateral filter kernel --- modules/cudaimgproc/src/cuda/bilateral_filter.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cudaimgproc/src/cuda/bilateral_filter.cu b/modules/cudaimgproc/src/cuda/bilateral_filter.cu index 20d2bd9d7d..f81adc7a98 100644 --- a/modules/cudaimgproc/src/cuda/bilateral_filter.cu +++ b/modules/cudaimgproc/src/cuda/bilateral_filter.cu @@ -136,7 +136,7 @@ namespace cv { namespace cuda { namespace device float sigma_color2_inv_half = -0.5f/(sigma_color * sigma_color); cudaSafeCall( cudaFuncSetCacheConfig (bilateral_kernel >, cudaFuncCachePreferL1) ); - bilateral_kernel<<>>((PtrStepSz)src, (PtrStepSz)dst, b, kernel_size, sigma_spatial2_inv_half, sigma_color2_inv_half); + bilateral_kernel<<>>((PtrStepSz)src, (PtrStepSz)dst, b, kernel_size, sigma_spatial2_inv_half, sigma_color2_inv_half); cudaSafeCall ( cudaGetLastError () ); if (stream == 0)