pull/13383/head
Alexey Spizhevoy 14 years ago
parent ea94b43541
commit 97b0335ef6
  1. 4
      doc/gpu_data_structures.tex
  2. 4
      doc/gpu_introduction.tex

@ -54,7 +54,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. The structure is for internal use or for users who write own device code. 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}
@ -272,4 +272,4 @@ Ensures that size of matrix is big enough and matrix has proper type. The functi
\end{description} \end{description}
Also the following wrapper is available: Also the following wrapper is available:
\cvdefCpp{void ensureSizeIsEnough(Size size, int type, GpuMat\& m);} \cvdefCpp{void ensureSizeIsEnough(Size size, int type, GpuMat\& m);}

@ -1,4 +1,4 @@
\section {GPU module introduction} \section{GPU module introduction}
\subsection{General information} \subsection{General information}
@ -56,4 +56,4 @@ Each pair of stripes (from the left and the right images) has been processed on
The results are merged into the single disparity map. The results are merged into the single disparity map.
\end{itemize} \end{itemize}
With this scheme dual GPU gave 180\% performance increase comparing to the single Fermi GPU. The source code of the example is available at With this scheme dual GPU gave 180\% performance increase comparing to the single Fermi GPU. The source code of the example is available at
\url{https://code.ros.org/svn/opencv/trunk/opencv/examples/gpu/} \url{https://code.ros.org/svn/opencv/trunk/opencv/examples/gpu/}

Loading…
Cancel
Save