3 ms·
> Hence it becomes a game of scheduling. You already know what you need to optimise but actually doing so gets really hard really fast. This immediately makes
by vanderZwan 2y ago
> Hence it becomes a game of scheduling. You already know what you need to optimise but actually doing so gets really hard really fast.
This immediately makes me think of Halide, which was specifically invented to make this easier to do by decoupling the algorithm from the scheduler.
Kind of sad that it doesn't see to have caught on much.
[0] https://halide-lang.org/ https://halide-lang.org/
- CuriousCosmic 2y agoWell it has actually. MLIR (being built by the LLVM team) is basically the next generation of LLVM and one of the MLIR tutorials is literally "write Halide". https://mlir.llvm.org/docs/Tutorials/transform/ChH/ https://mlir.llvm.org/docs/Tutorials/transform/ChH/
- vanderZwan 2y agoOh, that's cool! I hadn't looked into MLIR in any detail yet, thank you for pointing me in that direction