• ananas
    link
    fedilink
    arrow-up
    2
    ·
    11 months ago

    Interesting, I definitely need to check out MLIR stuff more. I’ve always been a bit dissuaded that it’s one more step in my IR -> MLIR -> LLVM chain, but ability to compile it to multiple GPUs is a very good selling point.

    • TheLinuxGuy@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      11 months ago

      Yeah, MLIR is more or less an “IR with Dialects”, a lot of IR language spec share a lot in common with one another, so MLIR try to standardize that similarity between IR. Because of that feature, it reduce amount of IR code that developer have to worry about and they can progressively expand the available dialects for MLIR as they develop a compiler like IREE.

      • ananas
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        Yeah, MLIR is more or less an “IR with Dialects”, a lot of IR language spec share a lot in common with one another, so MLIR try to standardize that similarity between IR

        Oh, shit, that sounds like C all over again, just for GPUs this time.

        But that note aside, definitely sounds like something I need to learn more about.