Skip to content

diku-dk/futhark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9dd9587 Â· Dec 16, 2019
Jan 9, 2018
Dec 10, 2019
Nov 27, 2019
Nov 27, 2019
Oct 29, 2019
Jan 16, 2019
Dec 5, 2019
Dec 15, 2019
Dec 11, 2019
Oct 10, 2019
Oct 17, 2019
Jan 5, 2018
Mar 25, 2018
Jun 18, 2019
Jul 31, 2019
Aug 8, 2018
Dec 16, 2019
Sep 18, 2018
Sep 18, 2018
Apr 15, 2018
Oct 28, 2019
Dec 16, 2017
Apr 19, 2015
Jan 16, 2019
Oct 26, 2019
Oct 18, 2019
Oct 18, 2019
Dec 16, 2019
Nov 8, 2019

Repository files navigation

The Futhark Programming Language

Join the chat at https://gitter.im/futhark-lang/LobbyBuild StatusBuild Status

Futhark is a purely functional data-parallel programming language. Its optimising compiler is able to compile it to typically very performant GPU code. The language and compiler is developed at DIKU at the University of Copenhagen, originally as part of the HIPERFIT centre. The language and compiler is quite stable, and suitable for practical programming.

For more information, see the website.

There also exists a book, Parallel Programming in Futhark, that serves as an extensive introduction and guide.

Also see the compiler and language documentation and the basis library documentation.

Installation instructions here.

Packaging status

Usage

To compile a Futhark program to sequential C:

futhark c prog.fut -o prog

Or maybe OpenCL:

futhark opencl prog.fut -o prog

And then run it:

./prog < prog.input

To interpret a Futhark program:

futhark run prog.fut < prog.input

Hacking

We try to make use of Github issues for organising our work. Issues tagged with good first issue do not require deep knowledge of the code base.

Testing

Run futhark test tests to check how well we're doing. Use futhark test -t if you're in a hurry and only want to check that all the tests type-check.