Erk- / genfut

Generate bindings for Futhark
ISC License
37 stars 10 forks source link

Allow for multiple backends #32

Open Erk- opened 2 years ago

Erk- commented 2 years ago

Currently we only generate a single backend for a given futhark file, but there is nothing that should make it impossible to generate multiple. At the moment it will not work since we use features but that will be resolved by #31.

So to bring this change to frutition we need to have different names for each backend and then be able to select which to link and use at compile time in the generated project.

Erk- commented 2 years ago

Hi @SafariMonkey, I can see that you have done this on your own fork. Would you be willing to try and upstream it with the new Enum style selection implemented in #31?