3 ms·
Very interesting but pretty quickly went over my head. I have a question that is slightly related to SIMD and LLVM. Can someone explain simply where does MLIR
by sheepscreek 3y ago
Very interesting but pretty quickly went over my head. I have a question that is slightly related to SIMD and LLVM.
Can someone explain simply where does MLIR fit into all of this? Does it standardize more advanced operations across programming languages - such as linear algebra and convolutions?
Side-note: Mojo has been designed by the creator of LLVM and MLIR to prioritize and optimize vector hardware use, as a language that is similar to Python (and somewhat syntax compatible).
- jcranmer 3y ago> Can someone explain simply where does MLIR fit into all of this? It doesn't. MLIR is a design for a family of intermediate languages (called 'dialects') that allow you to progressively lower high-level languages into low-level code.
- fl0ki 3y agoThe ML media cycle is so unhinged that I've seen people simply assume out of hand that MLIR stands for Machine Learning Intermediate Representation.
- fpgamlirfanboy 3y ago> Side-note: Mojo has been designed by the creator of LLVM and MLIR to prioritize and optimize vector hardware use, as a language that is similar to Python (and somewhat syntax compatible). Are people getting paid to repeat this ad nauseum?
- jadodev 3y agoMLIR includes a "linalg" dialect that contains common operations. You can see those here: https://mlir.llvm.org/docs/Dialects/Linalg/ https://mlir.llvm.org/docs/Dialects/Linalg/ This post is rather unrelated. The linalg dialect can be lowered to LLVM IR, SPIR-V, or you could write your own pass to lower it to e.g. your custom chip.