diku-dk / futhark

:boom::computer::boom: A data-parallel functional programming language
http://futhark-lang.org
ISC License
2.36k stars 167 forks source link

Vulkan backend #1856

Open athas opened 1 year ago

athas commented 1 year ago

Vulkan is increasingly everywhere and it does support compute shaders. We did a prototype backend once, but never polished it enough for general usage (and I recall Vulkan compute shaders were a bit immature). We need to return to this.

athas commented 1 year ago

@Zyntax9 is the one who did the Vulkan backend. The compiler has probably diverged too much for his old code to be useful, perhaps except for the SPIR-V generator, but his report still contains useful lessons.