|
| 1 | +% !TeX program = xelatex |
| 2 | + |
| 3 | +\documentclass[ |
| 4 | + aspectratio=169, |
| 5 | + handout, |
| 6 | +]{beamer} |
| 7 | + |
| 8 | +\usepackage{minted} |
| 9 | +\usepackage{xcolor} |
| 10 | +\usepackage{tcolorbox} |
| 11 | +\usepackage{graphicx} |
| 12 | +\usepackage{fontspec} |
| 13 | +\usepackage{tabularray} |
| 14 | + |
| 15 | +% allow to look for themes in another folder |
| 16 | +% https://tex.stackexchange.com/a/284157/301699 |
| 17 | +\makeatletter |
| 18 | +\def\beamer@calltheme#1#2#3{% |
| 19 | + \def\beamer@themelist{#2} |
| 20 | + \@for\beamer@themename:=\beamer@themelist\do |
| 21 | + {\usepackage[{#1}]{\beamer@themelocation/#3\beamer@themename}}} |
| 22 | + |
| 23 | +\def\usefolder#1{ |
| 24 | + \def\beamer@themelocation{#1} |
| 25 | +} |
| 26 | +\def\beamer@themelocation{} |
| 27 | +\makeatother |
| 28 | + |
| 29 | +\usefolder{..} |
| 30 | +\usetheme{cexa-kokkos} |
| 31 | + |
| 32 | +\AtBeginSection{ |
| 33 | + \begin{frame}{Outline} |
| 34 | + \tableofcontents[currentsection, hideothersubsections] |
| 35 | + \end{frame} |
| 36 | +} |
| 37 | + |
| 38 | +\AtBeginSubsection{ |
| 39 | + \begin{frame}{Outline} |
| 40 | + \tableofcontents[currentsection, currentsubsection] |
| 41 | + \end{frame} |
| 42 | +} |
| 43 | + |
| 44 | +\setminted{ |
| 45 | + autogobble, |
| 46 | + fontsize=\small, |
| 47 | + bgcolor=lightgray, |
| 48 | + xleftmargin=0.5em, |
| 49 | + xrightmargin=0.5em, |
| 50 | + breaklines, |
| 51 | +} |
| 52 | + |
| 53 | +\NewTblrTheme{kokkostable}{ |
| 54 | + \SetTblrInner{ |
| 55 | + width=\linewidth, |
| 56 | + rowhead=1, |
| 57 | + rows={ht=\baselineskip}, |
| 58 | + row{odd}={bg=lightgray}, |
| 59 | + row{1}={bg=lightmain}, |
| 60 | + } |
| 61 | +} |
| 62 | + |
| 63 | +\graphicspath{{../../images/}} |
| 64 | + |
| 65 | +%Information to be included in the title page: |
| 66 | +\title{Kokkos intermediate course} |
| 67 | +\author{The CExA team} |
| 68 | +\institute{CEA} |
| 69 | +\date{\today} |
| 70 | +\titlegraphic{% |
| 71 | + \includegraphics[height=4em]{kokkos.png}% |
| 72 | + \hspace{1em}% |
| 73 | + \includegraphics[height=4em]{cexa_logo.png} |
| 74 | +} |
| 75 | + |
| 76 | +% _____________________________________________________________________________ |
| 77 | + |
| 78 | +\begin{document} |
| 79 | + |
| 80 | +\begin{frame}[plain] |
| 81 | + \titlepage |
| 82 | +\end{frame} |
| 83 | + |
| 84 | +% _____________________________________________________________________________ |
| 85 | + |
| 86 | +\begin{frame}{This course is open source} |
| 87 | + \begin{center} |
| 88 | + \githublink{\url{https://github.com/CExA-project/cexa-kokkos-tutorials}} |
| 89 | + \end{center} |
| 90 | +\end{frame} |
| 91 | + |
| 92 | +% _____________________________________________________________________________ |
| 93 | + |
| 94 | +\begin{frame}{Prerequisites} |
| 95 | + This course is intended for developers who have basic knowledge about Kokkos, without strong C++ knowledge |
| 96 | + |
| 97 | + \vspace{1em} |
| 98 | + |
| 99 | + \begin{block}{What you still need} |
| 100 | + \begin{itemize} |
| 101 | + \item Basic knowledge of C/C++ |
| 102 | + \item Basic knowledge of parallel programming |
| 103 | + \item Basic knowledge of CMake |
| 104 | + \item Basic knowledge of a Linux environment |
| 105 | + \end{itemize} |
| 106 | + \end{block} |
| 107 | +\end{frame} |
| 108 | + |
| 109 | +% _____________________________________________________________________________ |
| 110 | + |
| 111 | +\begin{frame}{Duration of the course} |
| 112 | + \begin{itemize} |
| 113 | + \item Course + practical work: full day |
| 114 | + \item Course + corrected exercise: half day |
| 115 | + \item Short version: 3 hours |
| 116 | + \end{itemize} |
| 117 | +\end{frame} |
| 118 | + |
| 119 | +\begin{frame}{Outline} |
| 120 | + \tableofcontents[hidesubsections] |
| 121 | +\end{frame} |
| 122 | + |
| 123 | +% _____________________________________________________________________________ |
| 124 | + |
| 125 | + |
| 126 | +\end{document} |
0 commit comments