4 ms·
Slightly 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]: ht
by GZGavinZhao 2y ago
Slightly 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.