diku-dk / smlfut

Call Futhark programs from Standard ML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

smlfut

smlfut allows SML programs to invoke Futhark programs via Futhark's C API. This is done by reading the manifest file emitted by the Futhark compiler, then generating appropriate wrapper code. For more information see the manual.

Installation

smlfut is written in SML. By default the Makefile uses MLKit, but smlfut can also be compiled with MLton. Run

make

to compile, or

make install

to install. Pass MLCOMP=mlton (or modify config.mk) to compile with MLton. By default the Makefile installs in /usr/local. Pass a different PREFIX to install elsewhere, e.g.:

make install DESTDIR=$HOME/.local

Packaging status

Testing

Run

make run_test

About

Call Futhark programs from Standard ML

License:GNU General Public License v3.0


Languages

Language:Standard ML 89.0%Language:Roff 8.5%Language:Makefile 2.0%Language:Futhark 0.5%Language:Nix 0.1%