-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhw01.tex
52 lines (42 loc) · 1.1 KB
/
hw01.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
\documentclass{article}
\usepackage{fontspec, listings, fullpage, xcolor}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def \hwnum{1}
\def \hwdescription{Querying GPU devices, Dot product on GPU and CPU}
%\def \hwscript{BarkerHW1_CPU.cu, BarkerHW1_GPU.cu, BarkerHW1_Query.cu}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\lstset{language=C++, basicstyle=\footnotesize, breaklines=true}
%\setmainfont[Path=/usr/local/texlive/2012/texmf/fonts/calibri/]{Calibri.ttf}
\setmainfont[Path=/usr/share/fonts/truetype/calibri/]{Calibri.ttf}
\begin{document}
{\color{white}{thing}}
\vspace{\stretch{1}}
\begin{center}
{
\fontsize{20pt}{20pt}\selectfont
Barker, Mary
}
\vspace{1cm}
{
\fontsize{20pt}{20pt}\selectfont
Mathematical Modeling, Spring 2017
}
\vspace{1cm}
{
\fontsize{20pt}{20pt}\selectfont
Homework \hwnum
}
\vspace{1cm}
{
\fontsize{20pt}{20pt}\selectfont
\hwdescription
}
\vspace{\stretch{1}}
\end{center}
\pagebreak
\lstinputlisting{BarkerHW1_Query.cu}
\pagebreak
\lstinputlisting{BarkerHW1_CPU.cu}
\pagebreak
\lstinputlisting{BarkerHW1_GPU.cu}
\end{document}