Man page - futhark-multicore(1)
Packages contains this manual
- futhark-pkg(1)
- futhark-autotune(1)
- futhark-opencl(1)
- futhark-wasm-multicore(1)
- futhark-profile(1)
- futhark-repl(1)
- futhark-c(1)
- futhark-python(1)
- futhark-dataset(1)
- futhark-multicore(1)
- futhark-test(1)
- futhark-ispc(1)
- futhark-wasm(1)
- futhark-fmt(1)
- futhark-bench(1)
- futhark-cuda(1)
- futhark-run(1)
- futhark-hip(1)
- futhark-pyopencl(1)
- futhark-literate(1)
- futhark-script(1)
- futhark(1)
- futhark-doc(1)
apt-get install futhark
Manual
FUTHARK-MULTICORE
NAMESYNOPSIS
DESCRIPTION
OPTIONS
ENVIRONMENT VARIABLES
EXECUTABLE OPTIONS
BUGS
SEE ALSO
COPYRIGHT
NAME
futhark-multicore - compile Futhark to multithreaded C
SYNOPSIS
futhark multicore [options...] <program.fut>
DESCRIPTION
futhark multicore translates a Futhark program to multithreaded C code, and either compiles that C code with a C compiler to an executable binary program, or produces a .h and .c file that can be linked with other code. The standard Futhark optimisation pipeline is used.
The resulting program will read the arguments to the entry point ( main by default) from standard input and print its return value on standard output. The arguments are read and printed in Futhark syntax.
OPTIONS
Accepts the same options as futhark-c .
ENVIRONMENT VARIABLES
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.
EXECUTABLE OPTIONS
Generated
executables accept the same options as those generated by
futhark-c
. The following additional options are
accepted.
--num-threads=
INT
Use this many physical threads.
BUGS
Currently works only on Unix-like systems because of a dependency on pthreads. Adding support for Windows would likely not be difficult.
SEE ALSO
futhark-c , futhark-test
COPYRIGHT
2013-2020, DIKU, University of Copenhagen