futhark-python(1)

futhark-python1

Compile futhark to sequential python

Usage

futhark python [options ...] infile

Overview

futhark python translates a Futhark program to sequential Python code, which depends on Numpy.

The resulting program will read the arguments to the main function from standard input and print its return value on standard output. The arguments are read and printed in Futhark syntax.

The generated code is very slow, likely too slow to be useful. It is more interesting to use this command's big brother, futhark-pyopencl.

Options

Accepts the same options as futhark-c.

From futhark 0.25.27-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.