3 ms·
Where is the Metal love…
by adastra22 2y ago
Where is the Metal love…
- syl20bnr 2y agoIt also compiles directly to MSL, it is just missing from the post title.
- adastra22 2y agoNo it compiles indirectly through wgpu, which means it doesn’t have access to any Metal extensions not exposed by the wgpu interface.
- syl20bnr 2y agoI 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.
- grovesNL 2y agowgpu 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 2y agoFrom 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.
- Almondsetat 2y agoWhy would anyone love something born out of pure spite for industry standards?