Skip to content

Commit 338e7b5

Browse files
committed
Switch slide for create_mirror_view
1 parent 2dd439f commit 338e7b5

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

courses/01_beginners/main.tex

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,16 +1252,6 @@ \subsection{Compilation}
12521252
12531253
% _____________________________________________________________________________
12541254
1255-
\begin{frame}{How to access data living on the Host from the Host?}
1256-
\begin{center}
1257-
\includegraphics[width=0.9\textwidth]{host_create_mirror_view.png}
1258-
\end{center}
1259-
1260-
\structure{Solution:} Use \texttt{create\_mirror\_view}!
1261-
\end{frame}
1262-
1263-
% _____________________________________________________________________________
1264-
12651255
\begin{frame}[fragile]{Mirror functions wrap up}
12661256
\begin{minted}{C++}
12671257
auto mirror = Kokkos::create_mirror(view);
@@ -1272,13 +1262,23 @@ \subsection{Compilation}
12721262
& \SetCell[c=2]{l} Kokkos compiled on \\
12731263
Mirror function & CPU backend & GPU backend \\
12741264
\texttt{Kokkos::create\_mirror} & Allocate & Allocate \\
1275-
\texttt{Kokkos::create\_mirror\_view} & No allocate & Allocate \\
1265+
\texttt{Kokkos::create\_mirror\_view} & Don't allocate & Allocate \\
12761266
\end{tblr}
12771267
\end{center}
12781268
\end{frame}
12791269
12801270
% _____________________________________________________________________________
12811271
1272+
\begin{frame}{How to access data living on the Host from the Host?}
1273+
\begin{center}
1274+
\includegraphics[width=0.9\textwidth]{host_create_mirror_view.png}
1275+
\end{center}
1276+
1277+
\structure{Solution:} Use \texttt{create\_mirror\_view}!
1278+
\end{frame}
1279+
1280+
% _____________________________________________________________________________
1281+
12821282
\begin{frame}[fragile]{Deep copy data between memory space}
12831283
\begin{columns}
12841284
\begin{column}{0.61\linewidth}

0 commit comments

Comments
 (0)