Almondsetat a day ago

Why would anyone love something born out of pure spite for industry standards?

  • m-schuetz 21 hours ago

    To be fair, the industry standards all suck except for CUDA.

  • pjmlp a day ago

    For the same reason CUDA and ROCm are supported.

    • miohtama 21 hours ago

      Apple is known to be not that great contributor to open source, unlike Nvidia, AMD, Intel.

      • pjmlp 21 hours ago

        You should check Linus opinion on those.

        Also, to whom do you have to thank LLVM exists in first place, and has not fizzled out as yet another university compiler research project?

  • [removed] 19 hours ago
    [deleted]
syl20bnr a day ago

It also compiles directly to MSL, it is just missing from the post title.

  • adastra22 a day ago

    No it compiles indirectly through wgpu, which means it doesn’t have access to any Metal extensions not exposed by the wgpu interface.

    • syl20bnr 20 hours ago

      I am the coder of the MSL dialect for the CubeCL CPP compiler. Since 0.5 release it directly compiles to MSL and support simdgroup matrix functions for instance. It does use wgpu for the runtime but without naga as we added msl pass through to wgpu just for this.

      • adastra22 17 hours ago

        You should update the README.

        • syl20bnr 14 hours ago

          You are right we just released Burn and updated its readme, we were not thinking that CubeCL would be the one that could be featured. ^_^

    • grovesNL 19 hours ago

      wgpu has some options to access backend-specific types and shader passthrough (i.e., you provide your own shader for a backend directly).

      Generally wgpu is open to supporting any Metal extensions you need. There's usually an analogous extension in one of the other backends (e.g., Vulkan, DX12) anyway.

moffkalast a day ago

From the moment I understood the weakness of my flesh, it disgusted me. I craved the strength and certainty of steel. I aspired to the purity of the Blessed Machine.