make handles bold.

This commit is contained in:
ed committed 2026-08-25 16:26:52 -04:00
1 parent f577242432
commit 69b87777e5
728 files changed
+3291 -3087

No files matched your search

@@ -26,39 +26,39 @@ parent_post_id: "1884730404587909544"
## Branch
**1/** @mu_chrinovic
**1/** **@mu_chrinovic** ^1884733082474775028
@FFmpeg
**@FFmpeg**
I know a person with a PhD that might disagree with you
**2/** @NOTimothyLottes
**2/** **@NOTimothyLottes** ^1884744335385608455
@mu_chrinovic @FFmpeg
**@mu_chrinovic** **@FFmpeg**
Yeah PTX is not assembly, it's a mid level language that is closer to a 1:1 match for the HW ISA --- BUT --- the actual register allocation and management is still done by a high-level compiler ...
**3/** @janekm
**3/** **@janekm** ^1884925339589038179
@NOTimothyLottes @mu_chrinovic @FFmpeg
**@NOTimothyLottes** **@mu_chrinovic** **@FFmpeg**
That's almost semantics at this point though? If you're writing x86 assembly it gets translated to microcode in the CPU as well, and will do register remapping etc. Only difference in Nvidia case that's happening in the driver, right?
**4/** @NOTimothyLottes
**4/** **@NOTimothyLottes** ^1884980252822188188
@janekm @mu_chrinovic @FFmpeg
**@janekm** **@mu_chrinovic** **@FFmpeg**
Sounds like you are trying to claim software compiler register allocation is the same as HW runtime register renaming? No. CPU register renaming maps a small set of registers to a larger set to get IPC. Compiler GPU reg allocation maps a massive SSA mess to a small set.
**5/** @janekm
**5/** **@janekm** ^1884981121089257481
@NOTimothyLottes @mu_chrinovic @FFmpeg
**@NOTimothyLottes** **@mu_chrinovic** **@FFmpeg**
Fair point, my argument was merely that both cases of assembly language are really an intermediate language that gets translated to the final instructions executed by the CPU/GPU. Feels quite pedantic to claim that PTX assembly is not assembly, merely because of reg allocation 🤷‍♂️
**6/** @NOTimothyLottes
**6/** **@NOTimothyLottes** ^1884985388327977299
@janekm @mu_chrinovic @FFmpeg
**@janekm** **@mu_chrinovic** **@FFmpeg**
SOFTWARE
Assembler = human writes the physical HW instructions
@@ -68,15 +68,15 @@ HW
Instruction-reordering / wave-scheduling
Register renaming
**7/** @janekm
**7/** **@janekm** ^1884987565910204489
@NOTimothyLottes @mu_chrinovic @FFmpeg
**@NOTimothyLottes** **@mu_chrinovic** **@FFmpeg**
We've been calling it Assembly since at least when JVM byte code was first a thing. Doesn't matter that a JIT compiler will still do register allocation.
**8/** @NOTimothyLottes
**8/** **@NOTimothyLottes** ^1884988325049561580
@janekm @mu_chrinovic @FFmpeg
**@janekm** **@mu_chrinovic** **@FFmpeg**
Sure people have been incorrectly labeling stuff for a long time
@@ -25,12 +25,12 @@ in_reply_to: ""
## Thread
**1/** @FFmpeg
**1/** **@FFmpeg** ^1884730404587909544
PTX is a form of assembly language
Branches: [[archive/threads/FFmpeg/2025-01-29-ptx-is-a-form-of-assembly-language/2025-01-29-mu_chrinovic-i-know-a-person-with-a-phd-that-might-disagree]]
**2/** @FFmpeg
**2/** **@FFmpeg** ^1884750918396051612
https://docs.nvidia.com/cuda/inline-ptx-assembly/index.html