diff --git a/doc/tutorials/gpu/gpu-thrust-interop/gpu_thrust_interop.markdown b/doc/tutorials/gpu/gpu-thrust-interop/gpu_thrust_interop.markdown index 64f763bd59..0332808cbb 100644 --- a/doc/tutorials/gpu/gpu-thrust-interop/gpu_thrust_interop.markdown +++ b/doc/tutorials/gpu/gpu-thrust-interop/gpu_thrust_interop.markdown @@ -1,4 +1,4 @@ -Using a cv::cuda::GpuMat with thrust +Using a cv::cuda::GpuMat with thrust {#tutorial_gpu_thrust_interop} =========================================== Goal @@ -67,4 +67,4 @@ Next we will determine how many values are greater than 0 by using thrust::count @snippet samples/cpp/tutorial_code/gpu/gpu-thrust-interop/main.cu pred_greater We will use those results to create an output buffer for storing the copied values, we will then use copy_if with the same predicate to populate the output buffer. -Lastly we will download the values into a CPU mat for viewing. \ No newline at end of file +Lastly we will download the values into a CPU mat for viewing. diff --git a/doc/tutorials/gpu/table_of_content_gpu.markdown b/doc/tutorials/gpu/table_of_content_gpu.markdown index fe4e2c8801..163f5e3b3f 100644 --- a/doc/tutorials/gpu/table_of_content_gpu.markdown +++ b/doc/tutorials/gpu/table_of_content_gpu.markdown @@ -13,3 +13,10 @@ run the OpenCV algorithms. This will give a good grasp on how to approach coding on the GPU module, once you already know how to handle the other modules. As a test case it will port the similarity methods from the tutorial @ref tutorial_video_input_psnr_ssim to the GPU. + +- @subpage tutorial_gpu_thrust_interop + + *Compatibility:* \>= OpenCV 3.0 + + This tutorial will show you how to wrap a GpuMat into a thrust iterator in order to be able to + use the functions in the thrust library.