Skip to content

Commit ba4ba05

Browse files
committed
Cosmetic changes
1 parent 433ca5e commit ba4ba05

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

courses/01_beginners/main.tex

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,9 @@ \subsection{Compilation}
10101010
\begin{center}
10111011
\includegraphics[width=0.65\textwidth]{device_view_memory.png}
10121012
\end{center}
1013+
1014+
\vspace{-0.5em}
1015+
10131016
\begin{itemize}
10141017
\item If Kokkos is compiled with a \highlight{GPU backend}, the View data is allocated in the \highlight{Device memory} by default
10151018
\item Metadata are on the Host
@@ -1267,7 +1270,7 @@ \subsection{Compilation}
12671270
% _____________________________________________________________________________
12681271
12691272
\begin{frame}[fragile]{Deep copy data between memory space}
1270-
\begin{columns} %
1273+
\begin{columns}
12711274
\begin{column}{0.61\linewidth}
12721275
\begin{minted}{C++}
12731276
Kokkos::View<int**>
@@ -1287,9 +1290,9 @@ \subsection{Compilation}
12871290
\end{column}
12881291
\begin{column}{0.4\linewidth}
12891292
\begin{itemize}
1290-
\item \texttt{deep\_copy(dst, src)} copy src to dst, even if the data are in different memory spaces
1293+
\item \texttt{deep\_copy(dst, src)} copy \texttt{src} to \texttt{dst}, even if the data are in different memory spaces
12911294
\item Views must be similar (same shape, layout, etc.)
1292-
\item If \texttt{deep\_copy} detects that the destination view is a shallow copy of the source view (created by create\_mirror\_view for instance), it does nothing
1295+
\item If \texttt{deep\_copy} detects that the destination view is a shallow copy of the source view (created by \texttt{create\_mirror\_view} for instance), it does nothing
12931296
\end{itemize}
12941297
\end{column}
12951298
\end{columns}

0 commit comments

Comments
 (0)