-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDefinitions.tex
30 lines (21 loc) · 1.01 KB
/
Definitions.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
% OpenMP directives, clauses, and modifiers used in the document.
\newcommand{\ompdirectiveclause}[1]{\textbf{\textit{#1}}}
\newcommand{\dtarget}{\ompdirectiveclause{target}}
\newcommand{\dtargetdata}{\ompdirectiveclause{target data}}
\newcommand{\dtargetupdate}{\ompdirectiveclause{target update}}
\newcommand{\dteams}{\ompdirectiveclause{teams}}
\newcommand{\ddeclaretarget}{\ompdirectiveclause{declare target}}
\newcommand{\denddeclaretargeta}{\ompdirectiveclause{end declare target}}
\newcommand{\cdevice}{\ompdirectiveclause{device}}
\newcommand{\cmap}{\ompdirectiveclause{map}}
\newcommand{\cto}{\ompdirectiveclause{to}}
\newcommand{\cfrom}{\ompdirectiveclause{from}}
\newcommand{\mto}{\ompdirectiveclause{to}}
\newcommand{\mfrom}{\ompdirectiveclause{from}}
\newcommand{\mtofrom}{\ompdirectiveclause{tofrom}}
% Format of commands.
\newcommand{\command}[1]{\textit{\texttt{#1}}}
% Format of code.
\newcommand{\code}[1]{{\lstinline!#1!}}
% Format of libomptarget.so
\newcommand{\libomptarget}[1]{\texttt{libomptarget.so}}