You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\begin{frame}[fragile]{Deep copy data between memory space}
1270
-
\begin{columns}%
1273
+
\begin{columns}
1271
1274
\begin{column}{0.61\linewidth}
1272
1275
\begin{minted}{C++}
1273
1276
Kokkos::View<int**>
@@ -1287,9 +1290,9 @@ \subsection{Compilation}
1287
1290
\end{column}
1288
1291
\begin{column}{0.4\linewidth}
1289
1292
\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
1291
1294
\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
0 commit comments