3 ms·
Yes and it's slightly different per architecture. Mostly new instructions (like the discussed one in this article). Just RDNA4 ISA and you'll find it:https://w
by dragontamer 2y ago
Yes and it's slightly different per architecture. Mostly new instructions (like the discussed one in this article).
Just RDNA4 ISA and you'll find it:https://www.amd.com/content/dam/amd/en/documents/radeon-tech-docs/instruction-set-architectures/rdna4-instruction-set-architecture.pdf https://www.amd.com/content/dam/amd/en/documents/radeon-tech...
Terrascale from 2008 was very different. Ignore it.
GCN is mostly the same as RDNA and GCN is practically identical to CDNA. So you can go back to older guides as far back as GCN1 (like early 2010s era). The only fundamental difference is RDNA is SIMD32 while GCN/CDNA is SIMD64
--------
NVidia has an intermediate assembly language called PTX. NVidias true assembly language is undocumented (but not secret, not just intended for general purpose coding). Search on NVidias PTX manual and you'll see
...
- shmerl 2y agoInteresting, thanks! Looking forward to aco compiler using new features of RDNA4 to improve ray tracing performance with radv.
- GZGavinZhao 2y agoSlightly tangent, but AMD is also working on amdgcnspirv (i.e. AMD-flavored SPIR-V) that'll hopefully result in a similar user experience like PTX [1]. [1]: https://github.com/ROCm/ROCm/issues/3985#issuecomment-2546161823 https://github.com/ROCm/ROCm/issues/3985#issuecomment-254616...
- shmerl 2y agoMesa uses NIR as intermediate representation for its drivers. Is that comparable?
- GZGavinZhao 2y agoFrom my limited understanding of SPIR-V (since AMDGCNSPIRV is in essence SPIR-V), I would say yes.
- winocm 2y agoKind of. NIR is more oriented towards lowering and optimizing code for driver backends, as far as I know. SPIR-V is targeted towards the other end of the spectrum.