2 ms·
How come when I upgrade my graphics card on a PC I don't need to upgrade the binary? When compiling for Nvidia chips there's only one target. I believe all Nvi
by byyyy 3y ago
How come when I upgrade my graphics card on a PC I don't need to upgrade the binary?
When compiling for Nvidia chips there's only one target. I believe all Nvidia chips despite different architectures use the same underlying assembly language. So a cuda binary should work everywhere.
It's not gpu architecture here. Nvidia makes sure that the API to that architecture remains constant. The differences that are happening are high level architectures. Consoles aren't like PCs that follow the same overall architecture. They are usually massively different each generation, with different central chips different board layouts, etc. Etc. Sony use to get really creative with this... I remember the cell architecture was extremely innovative at the time.
However I believe for the most recent generations of playstation and for all Xboxes those consoles have closely followed the PC architecture. Nintendo consoles have yet to do this though, each console is massively different from the PC and each other with the exception of GameCube and Wii u which were largely similar.
- monocasa 3y ago> How come when I upgrade my graphics card on a PC I don't need to upgrade the binary? > When compiling for Nvidia chips there's only one target. I believe all Nvidia chips despite different architectures use the same underlying assembly language. So a cuda binary should work everywhere. Because on the PC, Nvidia only exposes high level targets for the shaders. Even PTX, the assembly you might be familiar with combined with cuda, isn't actually the device's asm, but instead it gets compiled down to the device's asm using a full compiler. It's poorly named and more a compiler IR than an asm.
- byyyy 3y agoMakes sense thanks for clarifying.