https://hgpu.org/?p=5529
Lightweight modular staging: a pragmatic approach to runtime code generation and compiled DSLs