Man page - futhark-multicore(1)
Packages contas this manual
- futhark-wasm(1)
- futhark-test(1)
- futhark-wasm-multicore(1)
- futhark-hip(1)
- futhark-doc(1)
- futhark-autotune(1)
- futhark-python(1)
- futhark-c(1)
- futhark-literate(1)
- futhark-pkg(1)
- futhark-fmt(1)
- futhark-opencl(1)
- futhark-profile(1)
- futhark-repl(1)
- futhark(1)
- futhark-cuda(1)
- futhark-dataset(1)
- futhark-multicore(1)
- futhark-bench(1)
- futhark-ispc(1)
- futhark-pyopencl(1)
- futhark-script(1)
- futhark-run(1)
apt-get install futhark
Manual
| FUTHARK-MULTICORE(1) | Futhark | FUTHARK-MULTICORE(1) |
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
CFLAGS
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
| March 1, 2025 | 0.25.27 |