▲ | flohofwoe 6 days ago | ||||||||||||||||
> but that's because this was the first time it is possible Using SPIRV as abstraction layer for GPU code across all 3D APIs is hardly a new thing (via SPIRVCross, Naga or Tint), and the LLVM SPIRV backend is also well established by now. | |||||||||||||||||
▲ | LegNeato 6 days ago | parent | next [-] | ||||||||||||||||
Those don't include CUDA and don't include the CPU host side AFAIK. SPIR-V isn't the main abstraction layer here, Rust is. This is the first time it is possible for Rust host + device across all these platforms and OSes and device apis. You could make an argument that CubeCL enabled something similar first, but it is more a DSL that looks like Rust rather than the Rust language proper(but still cool). | |||||||||||||||||
| |||||||||||||||||
▲ | winocm 6 days ago | parent | prev [-] | ||||||||||||||||
LLVM SPIR-V's backend is a bit... questionable when it comes to code generation. |