Commit 82441a4b authored by Anatoly Baksheev's avatar Anatoly Baksheev

intro fix in gpu module

parent 8d369262
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
\cvclass{gpu::DevMem2D\_}\label{cppfunc.gpu.DevMem2D} \cvclass{gpu::DevMem2D\_}\label{cppfunc.gpu.DevMem2D}
This is a simple lightweight class that encapsulate pitched memory on GPU. It is untented to pass to nvcc-compiled code, i.e. CUDA kernels. Its members can be called both from host and from device code. This is a simple lightweight class that encapsulate pitched memory on GPU. It is intended to pass to nvcc-compiled code, i.e. CUDA kernels. So it is used internally by OpenCV and by users writes own device code. Its members can be called both from host and from device code.
\begin{lstlisting} \begin{lstlisting}
template <typename T> struct DevMem2D_ template <typename T> struct DevMem2D_
...@@ -33,7 +33,7 @@ template <typename T> struct DevMem2D_ ...@@ -33,7 +33,7 @@ template <typename T> struct DevMem2D_
\cvclass{gpu::PtrStep\_}\label{cppfunc.gpu.PtrStep} \cvclass{gpu::PtrStep\_}\label{cppfunc.gpu.PtrStep}
This is structure is similar toDevMem2D\_ but contains only pointer and row step. Width and height fields are excluded due to performance reasons. This is structure is similar to DevMem2D\_ but contains only pointer and row step. Width and height fields are excluded due to performance reasons. The structure is for internal use or for users who write own device code.
\begin{lstlisting} \begin{lstlisting}
template<typename T> struct PtrStep_ template<typename T> struct PtrStep_
...@@ -55,7 +55,7 @@ template<typename T> struct PtrStep_ ...@@ -55,7 +55,7 @@ template<typename T> struct PtrStep_
\end{lstlisting} \end{lstlisting}
\cvclass{gpu::PtrElemStrp\_}\ \cvclass{gpu::PtrElemStrp\_}\
This is structure is similar to DevMem2D\_ but contains only pointer and row step in elements. Width and height fields are excluded due to performance reasons. This class is can only be constructed if sizeof(T) is a multiple of 256. This is structure is similar to DevMem2D\_ but contains only pointer and row step in elements. Width and height fields are excluded due to performance reasons. This class is can only be constructed if sizeof(T) is a multiple of 256. The structure is for internal use or for users who write own device code.
\begin{lstlisting} \begin{lstlisting}
template<typename T> struct PtrElemStep_ : public PtrStep_<T> template<typename T> struct PtrElemStep_ : public PtrStep_<T>
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment