-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 429bf6b
Showing
9 changed files
with
182 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Build LaTeX document | ||
on: [push] | ||
jobs: | ||
build_latex: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Git repository | ||
uses: actions/checkout@v2 | ||
- name: Compile LaTeX document | ||
uses: xu-cheng/latex-action@v2 | ||
with: | ||
root_file: dpp-notes.tex | ||
latexmk_shell_escape: true | ||
|
||
- name: upload PDF | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: PDF | ||
path: dpp-notes.pdf | ||
|
||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
automatic_release_tag: "latest" | ||
prerelease: true | ||
title: "Latest PDF" | ||
files: | | ||
dpp-notes.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/*.aux | ||
/*.bbl | ||
/*.blg | ||
/*.log | ||
/*.out | ||
/*.thm | ||
/*.toc | ||
/*.fdb_latexmk | ||
/*.fls | ||
/*.sty | ||
/*.loe | ||
/_region_.tex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.PHONY: dpp-notes.pdf | ||
notes.pdf: | ||
latexmk -pdf dpp-notes.tex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Course Notes for Data Parallel Programming | ||
|
||
[The most recent PDF.](https://github.com/diku-dk/dpp-notes/releases/download/latest/dpp-notes.pdf) | ||
|
||
If you find any typos, errors, or incomprehensible explanations, | ||
please open an issue above. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
\documentclass[oneside]{memoir} | ||
|
||
\input{preample.tex} | ||
|
||
\title{Course notes for Data Parallel Programming} | ||
\author{Troels Henriksen} \date{\today} | ||
|
||
\begin{document} | ||
|
||
\maketitle | ||
|
||
\section{Meta} | ||
|
||
These notes are written to supplement the other reading material in | ||
the course \textit{Data Parallel Programming}. Consider them | ||
terminally in-progress. These notes are not a textbook, do not cover | ||
the entire curriculum, and might not be comprehensible if isolated | ||
from the course and its other teaching activities. | ||
|
||
These notes are made available under the terms of the \textit{Creative | ||
Commons Attribution-ShareAlike 4.0 International Public License}. | ||
|
||
\newpage | ||
\tableofcontents | ||
|
||
\newpage | ||
\listoftheorems[title=Definitions,ignoreall,show={definition}] | ||
|
||
\newpage | ||
|
||
\bibliographystyle{plain} | ||
\bibliography{bibliography} | ||
|
||
\end{document} | ||
|
||
%%% Local Variables: | ||
%%% mode: latex | ||
%%% TeX-master: t | ||
%%% End: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
% A listings language definition for Futhark. | ||
|
||
\lstdefinelanguage{futhark} | ||
{ | ||
% list of keywords | ||
morekeywords={ | ||
do, | ||
else, | ||
for, | ||
if, | ||
in, | ||
include, | ||
let, | ||
loop, | ||
then, | ||
type, | ||
val, | ||
while, | ||
with, | ||
module, | ||
def, | ||
entry, | ||
local, | ||
open, | ||
import, | ||
assert, | ||
match, | ||
case, | ||
}, | ||
sensitive=true, % Keywords are case sensitive. | ||
morecomment=[l]{--}, % l is for line comment. | ||
morestring=[b]" % Strings are enclosed in double quotes. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
% General notation macros that may also be useful when authoring | ||
% slides or other material. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
% General stuff. The idea is that this preample can also be used to | ||
% compile each chapter separately. | ||
|
||
\usepackage[utf8]{inputenc} | ||
|
||
\usepackage{ntheorem} | ||
\usepackage{amsmath}[ntheorem] | ||
\usepackage{mathtools} | ||
\usepackage{amsfonts} | ||
\usepackage{thmtools} | ||
|
||
\input{notation.tex} | ||
|
||
\usepackage[table]{xcolor} | ||
\usepackage{caption} | ||
\usepackage{subcaption} | ||
\usepackage{graphicx} | ||
\usepackage{todonotes} | ||
\usepackage{url} | ||
\usepackage{hyperref} | ||
|
||
\usepackage{cleveref} | ||
|
||
\usepackage{couriers} | ||
\usepackage{listings} | ||
\lstset{basicstyle=\ttfamily} | ||
\input{futhark-listings.tex} | ||
|
||
% Teach cleveref about listings. | ||
\crefname{lstlisting}{listing}{listings} | ||
\Crefname{lstlisting}{Listing}{Listings} | ||
|
||
\newtheorem{definition}{Definition}[chapter] | ||
\newtheorem{theorem}{Theorem}[chapter] | ||
\newtheorem{corollary}[theorem]{Corollary} | ||
\newtheorem{example}{Example}[chapter] | ||
|
||
% Tikz stuff | ||
\usepackage{tikz} | ||
\usetikzlibrary{calc} | ||
\usetikzlibrary{shapes.multipart} | ||
\usetikzlibrary{shapes.arrows} | ||
\usetikzlibrary{chains} | ||
\usetikzlibrary{arrows} | ||
\usetikzlibrary{matrix} | ||
\usetikzlibrary{arrows.meta} | ||
\usetikzlibrary{intersections} | ||
\usetikzlibrary{cd} | ||
\usetikzlibrary{fit} | ||
\usetikzlibrary{backgrounds} | ||
\usetikzlibrary{decorations.pathreplacing} | ||
|
||
\setsecnumdepth{subsubsection} | ||
|
||
%%% Local Variables: | ||
%%% mode: latex | ||
%%% TeX-master: "notes" | ||
%%% End: |