4 ms·
Does "open source drivers" imply documentation of the underlying ISA or just the tooling to shepherd it? How much code would I need to go from bootloader to qua
by ForTheKidz 2y ago
Does "open source drivers" imply documentation of the underlying ISA or just the tooling to shepherd it? How much code would I need to go from bootloader to quake 2 assuming I only needed to play that one piece of software on my one card?
- almostgotcaught 2y agohttps://www.amd.com/content/dam/amd/en/documents/instinct-tech-docs/instruction-set-architectures/amd-instinct-mi300-cdna3-instruction-set-architecture.pdf https://www.amd.com/content/dam/amd/en/documents/instinct-te... The compiler is LLVM https://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/AMDGPU https://github.com/llvm/llvm-project/tree/main/llvm/lib/Targ... It's all there. For the driver/runtime everything is also open and upstreamed into the Linux kernel (register map and pcie bar and etc). The packet protocol isn't well-documented but documented enough that tinygrad managed to build their own driver from scratch.
- ForTheKidz 2y agoOh wow, that's very impressive documentation. We might actually see an opportunity to move beyond linux and closed drivers in this lifetime.
- deleted 2y ago[deleted]