FUTHARK-ISPC(1) Futhark FUTHARK-ISPC(1)

futhark-ispc - compile Futhark to multithreaded ISPC

futhark ispc [options...] <program.fut>

futhark ispc translates a Futhark program to a combination of C and ISPC code, with ISPC used for parallel loops. It otherwise operates similarly to futhark-multicore. You need to have ispc on your PATH.

Accepts the same options as futhark-multicore.

CC

The C compiler used to compile the program. Defaults to cc if unset.


CFLAGS

Space-separated list of options passed to the C compiler. Defaults to -O3 -std=c99 -pthread if unset.


ISPCFLAGS

Space-separated list of options passed to ispc. Defaults to -O3 --woff if unset.


Generated executables accept the same options as those generated by futhark-multicore.

Currently works only on Unix-like systems because of a dependency on pthreads. Adding support for Windows would likely not be difficult.

futhark-multicore, futhark-test

2013-2020, DIKU, University of Copenhagen

January 6, 2025 0.25.23