Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/daadaada/turingas
/ functions
Functions
58 in github.com/daadaada/turingas
⨍
Functions
58
◇
Types & classes
5
↓ 12 callers
Function
GetP
(value, shift)
turingas/grammar.py:76
↓ 11 callers
Function
GetI
(value, shift, mask=0xffffffff)
turingas/grammar.py:88
↓ 11 callers
Function
GetR
(value, shift)
turingas/grammar.py:98
↓ 6 callers
Method
PackHeader
(self)
turingas/ELF.py:93
↓ 5 callers
Function
GetC
(value, shift)
turingas/grammar.py:113
↓ 3 callers
Function
GetF
(value, shift)
turingas/grammar.py:92
↓ 3 callers
Function
ProcessAsmLine
(line, line_num)
turingas/grammar.py:711
↓ 3 callers
Function
magicgu
(nmax, d)
turingas/include/helper.py:4
↓ 2 callers
Function
GetParameterConstant
(var_name, var_dict, bank, base, offset=0)
turingas/turas.py:295
↓ 2 callers
Method
PackEntry
(self)
turingas/ELF.py:117
↓ 1 callers
Method
CollectSyms
(self, kernel, name, consts)
turingas/cubin.py:202
↓ 1 callers
Function
ExpandCode
(file, include=None)
turingas/turas.py:354
↓ 1 callers
Function
ExpandInline
(file, include=None)
turingas/turas.py:368
↓ 1 callers
Function
GenCode
asm_line: Result of ProcessAsmLine dict = {line_num, pred, predNot, predReg, space, op, rest, ctrl} 128 bits in total: First 64 bit
turingas/grammar.py:745
↓ 1 callers
Function
GenReuse
(captured_dict)
turingas/grammar.py:701
↓ 1 callers
Method
GenerateNvConst0
(self, section, name, params)
turingas/cubin.py:151
↓ 1 callers
Method
GenerateNvConst3
(self, section, consts)
turingas/cubin.py:163
↓ 1 callers
Method
GenerateNvInfo
(self, section, name)
turingas/cubin.py:81
↓ 1 callers
Method
GenerateNvInfoName
params = {[nameof each param], [sizeof each param]}
turingas/cubin.py:111
↓ 1 callers
Method
GenerateNvSmem
(self, kernel, section, name, smem_size)
turingas/cubin.py:175
↓ 1 callers
Method
GenerateSymTab
(self, name)
turingas/cubin.py:297
↓ 1 callers
Method
GenerateText
(self, kernel, section, name)
turingas/cubin.py:185
↓ 1 callers
Function
GetSmemSize
(file)
turingas/turas.py:44
↓ 1 callers
Method
Init
Header information. Set flags/info for shstrtab/strtab/symtab. Init all programs.
turingas/cubin.py:38
↓ 1 callers
Function
ReadCtrl
(ctrl, gram)
turingas/grammar.py:683
↓ 1 callers
Function
ReplaceRegParamConstMap
(file, reg_map, param_dict, const_dict)
turingas/turas.py:308
↓ 1 callers
Function
ReplaceVar
(match, regs, params, consts)
turingas/turas.py:315
↓ 1 callers
Function
SetConstsMap
<CONSTS> CONST_A, 8 CONST_B, 8 </CONSTS>
turingas/turas.py:260
↓ 1 callers
Function
SetParameterMap
<PARAMS> input, 8 output, 8 </PARAMS>
turingas/turas.py:224
↓ 1 callers
Function
SetRegisterMap
(file)
turingas/turas.py:167
↓ 1 callers
Function
StripSpace
(file)
turingas/turas.py:5
↓ 1 callers
Method
UpdateOffset
1. sh_offset 2. start of section headers 3. start of program headers 4. header idx of shstrtab
turingas/cubin.py:309
↓ 1 callers
Method
UpdateShstrtab
(self)
turingas/cubin.py:270
↓ 1 callers
Method
UpdateStrtab
(self)
turingas/cubin.py:281
↓ 1 callers
Method
Write
Write data to file. Order: 1. Header. 2. shstrtab, strtab, symtab, .nv.info. 3. info_secs, const_secs, text_secs, smem_
turingas/cubin.py:464
↓ 1 callers
Method
add_kernel
For each kernel: 1. Create sections and update index 2. Create symbols and update index 3. Add .text.{name} 4. Add .nv.sh
turingas/cubin.py:348
↓ 1 callers
Function
assemble
return { RegCnt => $regCnt, BarCnt => $barCnt, ExitOffsets => \@exitOffsets, CTAIDOffsets => \@ctaidOffsets,
turingas/turas.py:13
↓ 1 callers
Function
extract
(file_path, fun)
tools/disasm.py:44
↓ 1 callers
Function
main
()
turingas/main.py:5
↓ 1 callers
Function
parseCtrl
(sline)
tools/disasm.py:11
↓ 1 callers
Function
processSassLines
(fline, sline, labels)
tools/disasm.py:26
Method
PackHeader
(self)
turingas/ELF.py:35
Method
PackHeader
(self)
turingas/ELF.py:56
Function
ReplaceCode
(matchobj)
turingas/turas.py:362
Function
ReplaceInteriorConst
(match)
turingas/turas.py:347
Method
__init__
(self)
turingas/ELF.py:5
Method
__init__
(self, type_, flags)
turingas/ELF.py:41
Method
__init__
(self)
turingas/ELF.py:62
Method
__init__
(self)
turingas/ELF.py:103
Method
__init__
(self, arch=70)
turingas/cubin.py:8
Function
divc_u32
dst = src : uint / divisor; src / divisor = src * M >> sh;
turingas/include/helper.py:15
Function
divmodc_u32
divmodc_u32(dividend, c_divisor, quotient, remainder)
turingas/include/helper.py:27
Function
divmodc_u32_old
divmodc_u32(dividend, c_divisor, quotient, remainder)
turingas/include/helper.py:49
Method
to_binary
Write data to binary stream
turingas/cubin.py:450
Method
unpack_binary
(self, data)
turingas/ELF.py:19
Method
unpack_binary
(self, data)
turingas/ELF.py:51
Method
unpack_binary
(self, data)
turingas/ELF.py:78
Method
unpack_binary
(self, data)
turingas/ELF.py:113