implementation: continued writing transpiler section
Some checks failed
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, 1.10) (push) Has been cancelled
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, 1.6) (push) Has been cancelled
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, pre) (push) Has been cancelled

This commit is contained in:
2025-05-04 13:54:05 +02:00
parent 18d89e27ca
commit b69a3efe96
5 changed files with 134 additions and 15 deletions

View File

@ -137,8 +137,7 @@ keepspaces=true,%
% Language Definition and Code Environment for Julia
\lstdefinelanguage{Julia}{
alsoletter={.},
keywords={if, for, continue, break, end, else, true, false, @cuda},
keywords={if, for, continue, break, end, else, true, false, @cuda, return, function},
keywordstyle=\color{blue},
sensitive=true,
morestring=[b]",
@ -156,6 +155,28 @@ keepspaces=true,%
#1}}%
{}
% Language Definition and Code Environment for Julia
\lstdefinelanguage{PTX}{
alsoletter={.},
morekeywords={mov.u32, mad.lo.s32, setp.ge.s32, bra,
ret, .func, .entry},
keywordstyle=\color{blue},
sensitive=true,
morestring=[b]",
morestring=[d]',
morecomment=[l]{//},
commentstyle=\color{gray},
stringstyle=\color{brown}
}
\lstnewenvironment{PTXCode}[1][]
{\lstset{%
language=PTX,
escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
#1}}%
{}
% Code Enivornmente for Generic Code
\lstnewenvironment{GenericCode}[1][]