https://hgpu.org/?p=24044
Automatic GPU optimization through higher-order functions in functional languages