red plait (@real_redp) profile picture

алкоголик и злобный придурок

Serbia
Joined June 2012
Photo by red plait (@real_redp)Photo by red plait (@real_redp)Photo by red plait (@real_redp)Photo by red plait (@real_redp)Photo by red plait (@real_redp)Photo by red plait (@real_redp)Photo by red plait (@real_redp)Photo by red plait (@real_redp)Photo by red plait (@real_redp)Photo by red plait (@real_redp)
why it's so hard to make #SASS assembler? short answer: bcs nvidia abi is unknown (and buggy) long answer: redplait.blogspot.com/2026/1…
4
434
added today some profiling to my #sass optimizer it spending ~95% of time decoding instructions (this part already in native c++ with XS binding) all pure perl passes like stall count reduction/instructions swapping takes only 2-3% #perl is extremely fast lang, he-he
1
6
375
conspiracy theory - asked @grok calculate chance that f-ps with ms, faa & banks can happened in single week 10 ^ -11 explanations - kindergarten children are better at lying
1
320
apt-cache policy openjdk-21-jdk openjdk-21-jdk: Installed: 21.0.7+6~us1-0ubuntu1~20.04 Candidate: 21.0.7+6~us1-0ubuntu1~20.04 Looks like Ubuntu isn't in any rush to fix critical vulnerabilities
214
while searching for spir-v convertor to nvptx/nvvm backend discovered 71mb of RT kernels for opencl: github.com/redplait/denvdis/… grep nvasm_internal *elf | wc -l 129 kind of madness
1
5
792
ebnf grammar for #PTX from sdk 13.5: github.com/redplait/denvdis/… official documentation is hilariously funny: fabric.wait.sync_restrict::read instructions; fabric.wait.sync_restrict::reads is deprecated
4
434
instead of testing on own code samples: nitter.cf/real_redp/status/21190… paranoid nvidia changed string encryption algo In my view, the priorities are obvious, he-he
#ptxas --version Cuda compilation tools, release 13.5, V13.5.37 Build cuda_13.5.r13.5/compiler.39125733_0 try to compile docs.nvidia.com/cuda/paralle… Segmentation fault
1
1
746
#ptxas --version Cuda compilation tools, release 13.5, V13.5.37 Build cuda_13.5.r13.5/compiler.39125733_0 try to compile docs.nvidia.com/cuda/paralle… Segmentation fault
1
1
12
1,773
some notes on #PTX verification: redplait.blogspot.com/2026/1… currently in best case coverage of isa is ~60%
3
330
ebnf & parser of #PTX from sdk 13.4: redplait.blogspot.com/2026/1… funny that some samples from their official doc doesn't even compile
1
358
machineIR passes & mlir dialects from #cuda tileiras & cute dsl: redplait.blogspot.com/2026/1… It appears that CuTe DSL compiler based on the same LLVM fork as cicc and so produces fastest code, also it supports 32 MLIR dialects and scripting from python - just combo
3
550
new #ptx instructions from cuda sdk 13.4: redplait.blogspot.com/2026/1… 21 new instructions 17 new attributes 127 new forms
3
599
extracted rt kernels from #cuda 13.4: github.com/redplait/denvdis/… no, this still not fixed (file name sm236.elf): nitter.cf/real_redp/status/21121… sm107 version of this file in sm175.elf
inefficient uniform registers allocation in #ptxas: redplait.blogspot.com/2026/1… seems that ptxas has bug in its register allocator and marks uniform registers for desc operand as dirty - and so allocating and assign new pair every time
4
581
inefficient uniform registers allocation in #ptxas: redplait.blogspot.com/2026/1… seems that ptxas has bug in its register allocator and marks uniform registers for desc operand as dirty - and so allocating and assign new pair every time
2
2
1
8
2,357
comparison of #nvcc vs #clang #nvptx backend, part 3: redplait.blogspot.com/2026/1… dirty hacks to find added cl options & passes idc & perl of course
2
318
comparison of #nvcc vs clang #nvptx backend, part 2: redplait.blogspot.com/2026/1… - cicc does not have MLIR - cicc has 870 builtins vs 715 in nvptx - cicc has 3183 intrinsics vs 1998 in nvptx
1
367
comparison of #prx/#sass code from nvcc vs clang: redplait.blogspot.com/2026/1… - nvcc code 15–18% faster - bigger and more amenable to stall counts reducing - all mlir based compilers use vanilla llvm nvptx backend :-(
300
#ptx generated by #LLVM #NVPTX: redplait.blogspot.com/2026/1… nvptx uses 58.9% of all ptx instructions cicc 57.8% missed in clang: _ldsm _mma discard dp2a hi/lo madc hi/lo p2r trap
1
334