|
|
|
|
|
by minraws
2438 days ago
|
|
- So RLSL can work with Emu? - Would it mean most of the general Rust code could be made to work on GPU? Or is it you want Emu to work at MIR level? - Do you plan to actually try to do it? Emu seems like a really cool project either way. :) |
|
- I want Emu to support general Rust code but still use stable Rust and provide really nice compile-time errors. Maybe Emu could do AST-level checking to (1) ensure that only legal transpilable-to-SPIR-V subset is used, (2) infer the kernel parameters, (3) infer global work size, local work size and then do MIR-level compilation to OpenCL or SPIR-V?
- At the moment, I want to focus on AST-level compilation because I think many applications (AI, ML, simulations, etc.) can still technically be implemented without a huge subset of Rust.