diku-dk / futhark

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

AUTOMAP #2128

Closed athas closed 5 days ago

athas commented 2 months ago

This PR adds a new type checker and a bunch of the infrastructure necessary for supporting AUTOMAP. There is a lot of work to do before it can even handle all programs, and even more before it is of sufficient quality to actually use. I can think of at least the following issues:

AUTOMAP currently uses GLPK to solve the linear problems. This is not a dealbreaker, but it'd be worth considering whether we can get rid of it. The linear problems we produce and solve are pretty simple. At a minimum, we need to figure out how to link it statically.

I suspect we will start by merging a type checker that uses a vacuous AUTOMAP solver (essentially not allowing AUTOMAP), in order to get the supporting infrastructure into use, and then continue work on the solver.

athas commented 5 days ago

Closed in favour of #2159 (new branch name).